CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Help needed with gmshToFoam (

TomStarke August 12, 2010 02:47

Help needed with gmshToFoam

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.


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 02:19.