|
[Sponsors] |
January 27, 2019, 09:54 |
mesh.geometricD() & mesh.bounds().span()?
|
#1 |
Member
王莹
Join Date: May 2017
Posts: 51
Rep Power: 9 |
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! |
|
April 3, 2022, 05:35 |
|
#2 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
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 |
|
Tags |
definition, function, fvmesh, mesh |
|
|