CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

synappy hex mesh error

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By jhoepken

Reply
 
LinkBack Thread Tools Display Modes
Old   January 25, 2012, 06:49
Default synappy hex mesh error
  #1
New Member
 
kirubha
Join Date: Jan 2012
Posts: 4
Rep Power: 5
kirubhakaran is on a distinguished road
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:rintStack(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:olyMesh 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"
kirubhakaran is offline   Reply With Quote

Old   January 25, 2012, 11:19
Default
  #2
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 156
Rep Power: 8
jhoepken is on a distinguished road
Send a message via Skype™ to jhoepken
Delete your old timestep folders, and *Level in constant/polyMesh.

Hope this helps
ayhan515 and rudolf.hellmuth like this.
jhoepken is offline   Reply With Quote

Old   February 1, 2012, 12:56
Default synappy hex mesh
  #3
hhh
Senior Member
 
kumar
Join Date: Nov 2011
Posts: 115
Rep Power: 5
hhh is on a distinguished road
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
hhh is offline   Reply With Quote

Old   February 2, 2012, 04:15
Default
  #4
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 156
Rep Power: 8
jhoepken is on a distinguished road
Send a message via Skype™ to jhoepken
Hi hhh,

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

Old   August 23, 2014, 22:35
Default
  #5
New Member
 
Rudolf Hellmuth
Join Date: Sep 2012
Location: Galway, Ireland
Posts: 13
Rep Power: 4
rudolf.hellmuth is on a distinguished road
Quote:
Originally Posted by jhoepken View Post
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.
rudolf.hellmuth is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
Saving ParaFoam views and case sail OpenFOAM Paraview & paraFoam 9 November 25, 2011 16:46
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 19:44
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31


All times are GMT -4. The time now is 07:19.