CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Help needed with gmshToFoam (http://www.cfd-online.com/Forums/openfoam/79086-help-needed-gmshtofoam.html)

TomStarke August 12, 2010 02:47

Help needed with gmshToFoam
 
Hi,

I used gmshToFoam today for the first time and it converts my mesh without any obvious problems. However, I defined the patches where I apply my internal boundary conditions as physical surfaces in GMSH but after gmshToFoam they all come out as one patch (patch0 in the boundary file).

What can I do to convert it in a way that I get several patches.

FYI: the geometry is simply a box within a box and I apply a temperature to two of the internal faces - simple.

Thanks for your help.

Tom

TomStarke August 12, 2010 19:12

Managed to get it working!
 
The only problem was, when I saved my file in GMSH it gave me options in a drop-down list: Version1, Version2 etc... The default was Version2, when I changed it to version1 it worked like a charm...


All times are GMT -4. The time now is 08:01.