CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   synappy hex mesh error (http://www.cfd-online.com/Forums/openfoam/96529-synappy-hex-mesh-error.html)

kirubhakaran January 25, 2012 06:49

synappy hex mesh error
 
hi friends im worked in a tutorial case were to create a snappyhexmesh i get the stl file and snappyhexmeshdict in that folder right. but im gettting error saying "Number of cells in mesh:3840 does not equal size of cellLevel:18922
This might be because of a restart with inconsistent cellLevel." i created the snappy hex mesh after typing blockmesh can anyone help me in find out were i going wrong

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.0-0bc225064152
Exec : snappyHexMesh
Date : Jan 25 2012
Time : 16:03:18
Host : "kirubha-AcerPower-Series"
PID : 2279
Case : /home/kiruhbhakaran/tutorials/mesh/snappyHexMesh/flange
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Read mesh in = 0.04 s

Overall mesh bounding box : (-0.03 -0.03 -0.03) (0.03 0.03 0.01)
Relative tolerance : 1e-06
Absolute matching distance : 9.38083e-08

Reading refinement surfaces.
Read refinement surfaces in = 0.03 s

Reading refinement shells.
Refinement level 3 for all cells inside refineHole
Read refinement shells in = 0 s

Setting refinement level of surface to be consistent with shells.
Checked shell refinement in = 0.04 s

Reading features.
Refinement level 0 for all cells crossed by feature "flange.eMesh" (767 points, 776 edges).
Detected 18 featurePoints out of 767 on feature flange.eMesh
Read features in = 0 s


Determining initial surface intersections
-----------------------------------------



--> FOAM FATAL ERROR:
Number of cells in mesh:3840 does not equal size of cellLevel:18922
This might be because of a restart with inconsistent cellLevel.

From function hexRef8::getLevel0EdgeLength() const
in file polyTopoChange/polyTopoChange/hexRef8.C at line 357.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::hexRef8::getLevel0EdgeLength() const in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#3 Foam::hexRef8::hexRef8(Foam::polyMesh const&, Foam::List<int> const&, Foam::List<int> const&, Foam::refinementHistory const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#4 Foam::meshRefinement::meshRefinement(Foam::fvMesh& , double, bool, Foam::refinementSurfaces const&, Foam::refinementFeatures const&, Foam::shellSurfaces const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libautoMesh.so"
#5
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/snappyHexMesh"
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/snappyHexMesh"

jhoepken January 25, 2012 11:19

Delete your old timestep folders, and *Level in constant/polyMesh.

Hope this helps

hhh February 1, 2012 12:56

synappy hex mesh
 
Dear foamers,
i have problem in snappy hex mesh, i have cad model in stl format,how i solve in open foam,
1.how to import
2.how to create outer domain
3.how to mesh the model
4.how to set boundary condition,for my i consider to create domain to set
inlet velocity ,pressure outlet and remaining face is symmetry wall is cad model
5.how to run
i am begineer please give idea for to this problem

jhoepken February 2, 2012 04:15

Hi hhh,

1-5) Please read the manual, that you can find in your OpenFOAM folder under doc/Guides-*/UserGuide.pdf.

rudolf.hellmuth August 23, 2014 22:35

Quote:

Originally Posted by jhoepken (Post 341120)
Delete your old timestep folders, and *Level in constant/polyMesh.

Hope this helps

Thanks for the hint, Jens!

I deleted every file but blockHexDict in case/constant/polyMesh/, then I ran blockMesh again. There were more files than necessary there.


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