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/)
-   -   [blockMesh] Complex cylindrical-type mesh (https://www.cfd-online.com/Forums/openfoam-meshing/147148-complex-cylindrical-type-mesh.html)

zatralias January 14, 2015 06:25

Complex cylindrical-type mesh
 
1 Attachment(s)
I have come across a problem involving a complex cylindrical geometry, so I created a MATLAB script to generate the blockMeshDict file for this kind of geometries.

I hope that the tool is easy to use, but please read the short tutorial before starting. If anyone encounters problems, please bring them up here on the forum.

The produced blockMeshDict file has been tested in OpenFOAM 2.1.1 and 2.3.1. I encourage people to suggest improvements and make own versions.

Zatralias

aminem January 14, 2015 09:13

Hi,
I have tried your Matlab programme on GNU octave and I have this error:
error: 'plotMesh' undefined near line 65 column 9
error: called from:
error: cylindricalMeshGenerator at line 65, column 9
Any suggestion to resolve this problem.
Thanks

zatralias January 14, 2015 10:46

ok, plotMesh was missing, I think I fixed it. Thanks for the interest, waiting for your feedback.


All times are GMT -4. The time now is 21:49.