CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: snappyHexMesh and Others (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/)
-   -   snappyHexMesh error report (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/114908-snappyhexmesh-error-report.html)

sture March 19, 2013 15:50

snappyHexMesh error report
 
Hi,

I get the following error report when running sHM on a simple prism. I made the .stl file myself with Rhino 5.0.

I do not understand why I get two zones, volume and volume (see further down)????

sture_ii@SturePCUbuntu:~/OpenFOAM/sture_ii-2.1.1/run/analyser/kanalLangSnappy$ snappyHexMesh -overwrite
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.1-221db2718bbb
Exec : snappyHexMesh -overwrite
Date : Mar 19 2013
Time : 19:40:41
Host : "SturePCUbuntu"
PID : 6029
Case : /home/sture_ii/OpenFOAM/sture_ii-2.1.1/run/analyser/kanalLangSnappy
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.02 s

Overall mesh bounding box : (-0.1 -0.1 -0.1) (20.1 1.1 1.1)
Relative tolerance : 1e-06
Absolute matching distance : 2.02712e-05

Reading refinement surfaces.
Read refinement surfaces in = 0 s

Reading refinement shells.
Refinement level 2 for all cells inside refinementBox
Read refinement shells in = 0 s

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

Reading features.
Read features in = 0 s


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

Edge intersection testing:
Number of edges : 8525
Number of edges to retest : 8525
Number of intersected edges : 0
Calculated surface intersections in = 0.01 s

Initial mesh : cells(local):2500 faces(local):8525 points(local):3636
Initial mesh : cells:2500 faces:8525 points:3636
Cells per refinement level:
0 2500

Adding patches for surface regions
----------------------------------

Patch Type Region
----- ---- ------
Added patches in = 0 s

Selecting decompositionMethod simple

Refinement phase
----------------

Found point (0.5 0.5 0.5) in cell 1202 on processor 0

Surface refinement iteration 0
------------------------------

Marked for refinement due to surface intersection : 0 cells.
Determined cells to refine in = 0 s
Selected for refinement : 0 cells (out of 2500)
Stopping refining since too few cells selected.


Removing mesh beyond surface intersections
------------------------------------------

Found point (0.5 0.5 0.5) in cell 1202 in global region 0 out of 1 regions.
Keeping all cells in region 0 containing point (0.5 0.5 0.5)
Selected for keeping : 2500 cells.
--> FOAM Warning :
From function polyTopoChange::addMesh(const polyMesh&, const labelList&,const labelList&, const labelList&,const labelList&)
in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2365
Cell:2500 centre:(0 2.43164e-319 -0.1) is in two zones:volume and volume
This is not supported. Continuing with first zone only.
--> FOAM Warning :
From function polyTopoChange::addMesh(const polyMesh&, const labelList&,const labelList&, const labelList&,const labelList&)
in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2365
Cell:2501 centre:(0.02 0.02 -0.1) is in two zones:volume and volume
This is not supported. Continuing with first zone only.
--> FOAM Warning :
From function polyTopoChange::addMesh(const polyMesh&, const labelList&,const labelList&, const labelList&,const labelList&)
in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 2365
Cell:2502 centre:(0.26 0.02 -0.1) is in two zones:#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigSegv::sigHandler(int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::OSstream::write(Foam::word const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4 Foam::operator<<(Foam::Ostream&, Foam::word const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#5 Foam::polyTopoChange::addMesh(Foam::polyMesh const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#6 Foam::polyTopoChange::polyTopoChange(Foam::polyMes h const&, bool) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#7 Foam::meshRefinement::doRemoveCells(Foam::List<int > const&, Foam::List<int> const&, Foam::List<int> const&, Foam::removeCells&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libautoMesh.so"
#8 Foam::meshRefinement::splitMesh(int, Foam::List<int> const&, Foam::Vector<double> const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libautoMesh.so"
#9 Foam::autoRefineDriver::removeInsideCells(Foam::re finementParameters const&, int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libautoMesh.so"
#10 Foam::autoRefineDriver::doRefine(Foam::dictionary const&, Foam::refinementParameters const&, bool, Foam::dictionary const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libautoMesh.so"
#11
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/snappyHexMesh"
#12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#13
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/snappyHexMesh"
Segmentation fault (core dumped)

sail March 21, 2013 08:59

can you post the snappyHexMeshDict? without knowing what are you ring to do it is hard to give help.

sture March 22, 2013 17:12

Problem solved
 
Hi, I dleted everything except the essential files and then the problem went away. Now I have to figure out how to use it...

I am now struggling with naming surfaces in a .stl file and then assign mesh levels and boundary layers.

SS


All times are GMT -4. The time now is 17:53.