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/)
-   -   symmetryPlane from UNV file from Salome (http://www.cfd-online.com/Forums/openfoam-meshing-open/98974-symmetryplane-unv-file-salome.html)

chaz March 22, 2012 17:23

symmetryPlane from UNV file from Salome
 
Hello,
I am unable to figure out how to set boundaries to by type symmetryPlane when using a mesh imported from Salome. I am:
1. making the mesh in Salome, exporting with groups to UNV
2. using an ./Allrun script in order to run ideasUnvToFoam
3. splitMeshRegions -cellZones -overwrite

All the boundaries are type patch. I am unable to change them and successfully run openfoam by manually changing the generated files. I have explored running changepatch on the patch of interest, but it has not worked. I have run this before step 3 and after step 3 above. How do you run a symmetric model from a UNV in openfoam?
Thank you

Ofc March 27, 2012 03:52

After you specified your boundary in Salome (create groups from geometry) you can export your mesh to .unv and run ideasUnvToFoam. Then open constant/Polymesh/boundaries and set the boundary type to symmetryPlane. Do the same in all /0 dict files. Then it should work.

chaz March 28, 2012 18:19

Hello,
I was able to solve this first by setting the boundary to type 'slip' in the system/fluidregionfolder/changeDictionaryDict for chtMultiRegionFoam. I think this has the same effect of creating a symmetry boundary as assigning it to be symmetryPlane.
I have not tried Ofc's recommendation (yet).


All times are GMT -4. The time now is 06:52.