CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Open Source Meshers: Gmsh, Netgen, CGNS, ... (http://www.cfd-online.com/Forums/openfoam-meshing-open/)
-   -   creating interface in two solids in Netgen (http://www.cfd-online.com/Forums/openfoam-meshing-open/113075-creating-interface-two-solids-netgen.html)

jr33 February 11, 2013 20:25

creating interface in two solids in Netgen
 
For 2D case, I have a circular region inside a rectangular region. I can mesh using gmsh/Netgen, then convert it to openfoam file. I am wondering how to handle interface region so that I can define:

Solid1_to_Solid2
{
type mappedWall;
nFaces 750;
startFace 566250;
sampleMode nearestPatchFace;
sampleRegion Solid2;
samplePatch Solid2_to_Solid1;
offsetMode uniform;
offset (0 0 0);
}

1) I guess I will have to mesh two solids separately.
2) How to include interface region information if I am meshing using gmsh/Netgen.
3) or there is any alternative way to get blockMeshDict file


All times are GMT -4. The time now is 12:54.