CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] refineMesh Dict (https://www.cfd-online.com/Forums/openfoam-meshing/79275-refinemesh-dict.html)

challenger August 18, 2010 12:01

refineMesh Dict
 
I couldn't find any documentation on the refineMesh dictionary. Can anyone explain what measures I must take to refine a mesh in a particular direction?

Thanks a lot

guy_smiling September 12, 2010 15:11

I think you can find some examples of refineMeshDict in the tutorials (particularly multiphase/cavitatingFoam has some examples of it in use). Also there's a refinemeshDict that is well commented in applications/utilities/mesh/manipulation/refineMesh which you can see how it works. Basically there are three vectors (normally (1 0 0) (0 1 0) and (0 0 1)) which refine the mesh in the x, y, and z directions respectively. Changing those 1's to larger numbers refines it differently in the respective direction.

swahono January 13, 2011 23:18

Thank you! :)


All times are GMT -4. The time now is 22:40.