CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   mesh.geometricD() & mesh.bounds().span()? (https://www.cfd-online.com/Forums/openfoam-programming-development/214303-mesh-geometricd-mesh-bounds-span.html)

Alisa_W January 27, 2019 08:54

mesh.geometricD() & mesh.bounds().span()?
 
Hello,

Recently, I am working on the modification of quantities about mesh. However, when I analyzed the code of similar files, I really cannot understand the meaning of some functions, such as mesh.geometricD() and mesh.bounds().span().

Although I cannot understand them, I know they are all very brilliant ideas and will save me time in the following work. Can anyone kind to help me understand them or guide me where to find their definitions? Thanks a lot! Wish you all have good time!:)

mAlletto April 3, 2022 04:35

Hello,


as far as I understood goemetricD() returns the vector of non constraint directions. So, e.g. if you have an empty patch in x-direction the con constraint directions would by y and z.



bounds() simply returns the bounding box, i.e. the minimum and maximum x-,y- and z-coordinates.


See


https://www.openfoam.com/documentati...8H_source.html


All times are GMT -4. The time now is 17:19.