CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   A sphere (https://www.cfd-online.com/Forums/openfoam/68901-sphere.html)

samiam1000 October 5, 2009 17:12

A sphere
 
1 Attachment(s)
Hi all,

I am tryng to simulate the flow around a sphere... I think it is one of the simplest geometry in the world...

But I get an error when I try to mesh it with the snappyHexMesh command.

The error is reported below. Also, I attach both my geometry and the files I edited.

Could you help?

Thanks a lot,

Samuele

Code:

samiam@einstein:~/Desktop/sfera$ snappyHexMesh
/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  1.6                                  |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 1.6-53b7f692aa41
Exec  : snappyHexMesh
Date  : Oct 05 2009
Time  : 23:05:16
Host  : einstein
PID    : 7949
Case  : /home/samiam/Desktop/sfera
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Read mesh in = 4 s

Overall mesh bounding box  : (-500 -500 -500) (500 500 500)
Relative tolerance        : 1e-06
Absolute matching distance : 0.00173205

Reading refinement surfaces.
Read refinement surfaces in = 0.01 s

Reading refinement shells.
Refinement level 4 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


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



Incorrect cellLevel or pointLevel size.
Number of cells in mesh:343000 does not equal size of cellLevel:155756
Number of points in mesh:357911 does not equal size of pointLevel:168084#0  Foam::error::printStack(Foam::Ostream&) in "/home/samiam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#1  Foam::error::abort() in "/home/samiam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#2  Foam::hexRef8::hexRef8(Foam::polyMesh const&, Foam::List<int> const&, Foam::List<int> const&, Foam::refinementHistory const&) in "/home/samiam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libdynamicMesh.so"
#3  Foam::meshRefinement::meshRefinement(Foam::fvMesh&, double, bool, Foam::refinementSurfaces const&, Foam::shellSurfaces const&) in "/home/samiam/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libautoMesh.so"
#4  main in "/home/samiam/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/snappyHexMesh"
#5  __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#6  _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/i386/elf/start.S:122


    From function hexRef8::hexRef8(const polyMesh&, const labelList&, const labelList&, const refinementHistory&)
    in file polyTopoChange/polyTopoChange/hexRef8.C at line 1912.

FOAM aborting

Aborted



All times are GMT -4. The time now is 21:33.