CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] snappyHexMesh crashes unexpectedly (https://www.cfd-online.com/Forums/openfoam-meshing/207242-snappyhexmesh-crashes-unexpectedly.html)

sita September 26, 2018 09:14

snappyHexMesh crashes unexpectedly
 
Hello everyone,


I'm using snappyHexMesh to mesh my geometry, which was going fine. I actually already had a mesh, which I wanted to tweak just a little further, so I edited my snappyHexMeshDict and re-ran snappyHexMesh. For some reason it then crashed, with the following error messages:


Code:

    From function Foam::labelListList Foam::hexRef8::setRefinement(const labelList&, Foam::polyTopoChange&)
    in file polyTopoChange/polyTopoChange/hexRef8/hexRef8.C at line 3725.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::hexRef8::setRefinement(Foam::List<int> const&, Foam::polyTopoChange&) at ??:?
#3  Foam::meshRefinement::refine(Foam::List<int> const&) at ??:?
#4  Foam::meshRefinement::refineAndBalance(Foam::string const&, Foam::decompositionMethod&, Foam::fvMeshDistribute&, Foam::List<int> const&, double) at ??:?
#5  Foam::snappyRefineDriver::surfaceOnlyRefine(Foam::refinementParameters const&, int) at ??:?
#6  Foam::snappyRefineDriver::doRefine(Foam::dictionary const&, Foam::refinementParameters const&, Foam::snapParameters const&, bool, Foam::dictionary const&) at ??:?
#7  ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh"
#8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9  ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh"
Aborted (core dumped)

Also, in my OpenFoam case directory, a file was then created called cell_23.obj.



So I thought perhaps I was asking too much and I reverted some of the changes I made in snappyHexMeshDict, but snappyHexMesh now keeps crashing, even on the version that I originally started with, which at first ran fine.


Does anyone have any idea what's going wrong here?


I'm using OpenFOAM 6 on Ubuntu 18.04, by the way.


Any help would be very much appreciated!


Sita


All times are GMT -4. The time now is 15:37.