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

synappy hex mesh error

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By jhoepken

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2012, 05:49
Default synappy hex mesh error
  #1
New Member
 
kirubha
Join Date: Jan 2012
Posts: 4
Rep Power: 14
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, 10:19
Default
  #2
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 159
Rep Power: 17
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
jhoepken is offline   Reply With Quote

Old   February 1, 2012, 11:56
Default synappy hex mesh
  #3
hhh
Senior Member
 
kunar
Join Date: Nov 2011
Posts: 117
Rep Power: 14
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, 03:15
Default
  #4
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 159
Rep Power: 17
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
Member
 
Rudolf Hellmuth
Join Date: Sep 2012
Location: Dundee, Scotland
Posts: 40
Rep Power: 13
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


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 Off
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 17:43
[OpenFOAM] Saving ParaFoam views and case sail ParaView 9 November 25, 2011 15:46
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31


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