AeroGridGeo¶
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
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
Retrieves coordinates of panel (m,n) vertices.
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
Project a quantity q_vert (scalar or vector) defined at vertices to collocation points.
Project a vector quantity q_coll defined at collocation points to normal.