CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2019, 09:54
Default mesh.geometricD() & mesh.bounds().span()?
  #1
Member
 
王莹
Join Date: May 2017
Posts: 51
Rep Power: 9
Alisa_W is on a distinguished road
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!
Alisa_W is offline   Reply With Quote

Old   April 3, 2022, 05:35
Default
  #2
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16
mAlletto will become famous soon enough
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
mAlletto is offline   Reply With Quote

Reply

Tags
definition, function, fvmesh, mesh


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 16:02.