This is a very simple OpenFOAM-3.0.1 utility for converting a 2D mesh to axisymmetric.
It is a modification of the flattenMesh utility distributed with OpenFOAM.
The supplied examples are a modification of the case that comes with the more elaborate utility makeAxialMesh.
One supplied example uses wedgePlease
to convert a blockMesh to an OpenFOAM axialMesh.
The other example uses it to convert a fluentMesh.
The supplied examples deal with the associated mesh cleanup (collapse 0-length edges, remove 0-face patches) which is the same as in the case of makeAxialMesh
.
See the official website openfoam.org, unofficial wiki openfoamwiki.net and the community forum cfd-online.com.
An OpenFOAM 3.0.1 installation is required to run the code. This code was run on Centos 6.6 (Rocks 6.2 Sidewinder).
Run Allwmake
in the utility directory to compile it.
Run Allmesh
in the caseBM
or caseFM
directory to convert the mesh. Then run paraFoam
in the case directory to view the results.
- Assumes a 2D mesh in the XY plane.
- The Y axis becomes the axis of symmetry.
- The command
wedgePlease -angle 5
reshapes the mesh points to form the wedge.
Any feedback is apreciated - krebeljk()gmail.com.
- Kristjan Krebelj
This project is licensed under the GPU License - see the LICENSE.md file for details.
- The work was supported by the Laboratory for Numerical Modelling and Simulation - LNMS.