CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Cannot create cellZones with Snappy (http://www.cfd-online.com/Forums/openfoam-pre-processing/122132-cannot-create-cellzones-snappy.html)

donQi August 13, 2013 00:28

Cannot create cellZones with Snappy
 
1 Attachment(s)
Hello,

I'm trying to create with snappyHexMesh an elementary rhoSimpleFoam case with a porous zone. I created three cylinders in STL format, and produced the internal multidomain mesh following the example (https://www.dropbox.com/s/m3mnh3js6x...tSnappy.tar.gz) created by Bruno wyldckat post#5.

then I typed in shell:
./Allclean
surfaceFeatureExtract
blockMesh
snappyHexMesh -overwrite
createPatch -overwrite
paraview &

and I can see the mesh by opening a dummy file sample.foam saved in the same case directory. I can see exactly the patches as I wanted, INLET, OUTLET, WALL1, WALL2, WALL3, but if we look at the cellZones and faceZones files they do not contain the information of those patches. Why they do not show up, even if in Paraview I can select them? How should I modify snappyHexMeshDict to get boundary and cellZones set correctly and be able to launch the analysis?

If you have the time and kindness to test my case, you can find the files here :
files version OF21
files version OF22

Thank you
Al

donQi August 14, 2013 03:04

Not very clear what was wrong, but now the case is working. You can find it here
https://www.dropbox.com/s/2ii99j0tss...usRUNOK.tar.gz
the cylinder in the middle is set to porous.

donQi August 14, 2013 04:04

yes I suspect that the reason was the presence of some files like
snappyHexMeshDict.cellZones e snappyHexMeshDict.final
that were produced after launching snappyHexMesh.
I made the error to use an Allclean copied from another case, so the cleaning did not clean the necessary files. Once a proper cleaning is made, all run OK.


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