Internal Interface in mesh imported
1 Attachment(s)
Hello Foamers!
I want to define an internal interface in a fluid region of an imported mesh from Star-ccm+. This is because I used different mesh operations in Star-ccm+ and creates internal interfaces. I have a very simple case (Image attached). In this case, the internal interface makes no sense, but in other cases it does. When I run ccm26ToFoam the boundary file generated is this: Code:
6 I used "stitchMesh Int-1 Int-2" but it doesn't work, maybe I used wrong... stitchMesh description: "Merge the faces on the specified patches (if geometrically possible) so the faces become internal." Anyone have an idea? Thanks!! |
1 Attachment(s)
Hello Foamers!
I just solved! "stitchMesh" is the utility I need The steps to convert a Star-CCM+ mesh with internal interfaces are: 1. ccm26ToFoam mesh.ccm (you need to install ccm26ToFoam library) 2. The boundary file generated is this: Code:
6 3. You need to define the boundary conditions for the Int-1 and Int-2 in the 0 Files. In this case U and p files. U file: Code:
boundaryField If you run checkMesh, you can see that you have 2 regions: Code:
*Number of regions: 2 Code:
stitchMesh Int-1 Int-2 5. Delete the old polymesh and copy the new one: Code:
rm -rv constant/polyMesh/ Code:
Checking topology... Code:
Int-1 7. Code:
simpleFoam |
All times are GMT -4. The time now is 12:45. |