CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Native Meshers: snappyHexMesh and Others (
-   -   Dumping cell as obj (

Lana April 11, 2013 05:07

Dumping cell as obj
Hi All,
I tried sHM my external flow model.
What I got is this error

Surface refinement iteration 0

Marked for refinement due to surface intersection : 0 cells.
Marked for refinement due to curvature/regions : 14 cells.
Determined cells to refine in = 0.22 s
Selected for refinement : 14 cells (out of 165486)
hexRef8 : Dumping cell as obj to "/home/cnf0550/0304/cell_21677.obj"

nAnchors:2 faceI:502672

From function createInternalFaces(..)
in file polyTopoChange/polyTopoChange/hexRef8.C at line 1277.

FOAM aborting
#0 Foam::error::printStack(Foam::Ostream&) in "/usr/local/OpenFOAM/OpenFOAM-1.6.x/lib/ linux64GccDPOpt/"
#1 Foam::error::abort() in "/usr/local/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/lib"
#2 Foam::hexRef8::createInternalFaces(Foam::List<Foam ::List<int> > const&, Foam::List< Foam::List<int> > const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<in t> const&, Foam::List<int> const&, int, Foam::polyTopoChange&) const in "/usr/local/Ope nFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/"
#3 Foam::hexRef8::setRefinement(Foam::List<int> const&, Foam::polyTopoChange&) in "/us r/local/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/"
#4 Foam::meshRefinement::refine(Foam::List<int> const&) in "/usr/local/OpenFOAM/OpenFO AM-1.6.x/lib/linux64GccDPOpt/"
#5 Foam::meshRefinement::refineAndBalance(Foam::strin g const&, Foam::decompositionMeth od&, Foam::fvMeshDistribute&, Foam::List<int> const&, double) in "/usr/local/OpenFOAM/O penFOAM-1.6.x/lib/linux64GccDPOpt/"
#6 Foam::autoRefineDriver::surfaceOnlyRefine(Foam::re finementParameters const&, int) i n "/usr/local/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/"
#7 Foam::autoRefineDriver::doRefine(Foam::dictionary const&, Foam::refinementParameter s const&, bool, Foam::dictionary const&) in "/usr/local/OpenFOAM/OpenFOAM-1.6.x/lib/lin ux64GccDPOpt/"
#8 main in "/usr/local/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/snappy HexMesh"
#9 __libc_start_main in "/lib64/"
#10 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versi onNumber, Foam::IOstream::compressionType) const in "/usr/local/OpenFOAM/OpenFOAM-1.6.x /applications/bin/linux64GccDPOpt/snappyHexMesh"

What should I do nest to get my sHM working? Help!

wyldckat April 14, 2013 09:11

Greetings Lana,

You're not providing much information to work with... from the error message, I can only assume that it's having trouble with meshing around a highly detailed part of the geometry, which leads to problems. Or the geometry is has some flaws that are hard to work with.

And you're using OpenFOAM 1.6.x :confused:? Is there any chance you can upgrade to OpenFOAM 2.2? Because snappyHexMesh is a lot better in OpenFOAM 2.2...

Best regards,

PS: I suggest that you read this thread: How to give enough info to get help

All times are GMT -4. The time now is 08:30.