CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   Geometry and Mesh (

aap April 12, 2005 07:39

Hi! I am a new user. I have
I am a new user. I have a complex geometry and I want to know if the only way to describe it is editing the blockMeshDict file.
Thanks a lot

mattijs April 12, 2005 08:05

There is an option -blockTopol
There is an option -blockTopology to blockMesh which will dump out the block points. You can visualize the resulting .obj files with e.g. javaview or run objToVTK and use paraview. The node numbering in either program will be the same as the blockMesh block points. I find this is quite useful for multiblock meshes.

eugene April 12, 2005 08:10

You can also use 3rd party mes
You can also use 3rd party meshers and convert the results to foam format using the converters found in:


There are quite a lot of formats to choose from.

aap April 18, 2005 03:13

Hi Mattijs! Thanks for your a
Hi Mattijs!
Thanks for your answer... where can I find some docu about that? Where can I find blockTopology?
How should I use it?

mattijs April 18, 2005 05:33

Sorry, no docu. It is a comman
Sorry, no docu. It is a command-line option and probably not yet in FoamX. Do

blockMesh -

to find out any command-line options.

aap April 18, 2005 07:23

Hi Mattijs! I have created th
Hi Mattijs!
I have created the .obj file with blockMesh -blockTopology, then I have created the VTK file with objtoVTK and I have a problem because I can not visualize the VTK file with paraview. I get the message "Could not find an appropiate reader for this file. Would you like to manually select the reader for this vile"? I have trid with some of the list, but it does not seem ok...

All times are GMT -4. The time now is 07:37.