AeroGridGeo¶
- class sharpy.linear.src.surface.AeroGridGeo(Map: gridmapping.AeroGridMap instance, zeta: Array of vertex coordinates at each surface, aM: chord-wise position of collocation point in panel = 0.5, aN: span-wise position of collocation point in panel = 0.5)[source]¶
Allows retrieving geometrical information of a surface. Requires a gridmapping.AeroGridMap mapping structure in input and the surface vertices coordinates.
Indices convention: each panel is characterised through the following indices: - m,n: chord/span-wise indices
Methods: - get_*: retrieve information of a panel (e.g. normal, surface area) - generate_*: apply get_* method to each panel and store info into array.
Interpolation matrices, W: - these are labelled as ‘Wba’, where ‘a’ defines the initial format, b the final. Hence, given the array vb, it holds va=Wab*vb
- get_panel_collocation(zetav_here)[source]¶
Using bilinear interpolation, retrieves panel collocation point, where aN,aM in [0,1] are distances in the chordwise and spanwise directions such that:
(aM,aN)=(0,0) –> quantity at vertex 0
(aM,aN)=(1,0) –> quantity at vertex 1
(aM,aN)=(1,1) –> quantity at vertex 2
(aM,aN)=(0,1) –> quantity at vertex 3
- get_panel_wcv()[source]¶
Produces a compact array with weights for bilinear interpolation, where aN,aM in [0,1] are distances in the chordwise and spanwise directions such that:
(aM,aN)=(0,0) –> quantity at vertex 0
(aM,aN)=(1,0) –> quantity at vertex 1
(aM,aN)=(1,1) –> quantity at vertex 2
(aM,aN)=(0,1) –> quantity at vertex 3