CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Open Source Meshers: Gmsh, Netgen, CGNS, ... (http://www.cfd-online.com/Forums/openfoam-meshing-open/)
-   -   Error when solving with simpleFoam fora file converted from Gmesh (http://www.cfd-online.com/Forums/openfoam-meshing-open/100252-error-when-solving-simplefoam-fora-file-converted-gmesh.html)

guyb April 22, 2012 09:56

Error when solving with simpleFoam fora file converted from Gmesh
 
Hello Everyone,
I had converted a .msh file using the gmshToFoam command and when i run the simpleFoam solver i get the following:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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 : simpleFoam
Date : Apr 22 2012
Time : 12:20:32
Host : "openFoam"
PID : 2132
Case : /opt/openfoam210/VelocityCaseLaminar
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
Reading field p
Reading field U
Reading/calculating face flux field phi
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam::surfaceInterpolation::makeWeights() const in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libfiniteVolume.so"
#4 Foam::surfaceInterpolation::weights() const in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libfiniteVolume.so"
#5
in "/opt/openfoam210/platforms/linuxGccDPOpt/bin/simpleFoam"
#6 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#7
in "/opt/openfoam210/platforms/linuxGccDPOpt/bin/simpleFoam"
Floating point exception


I'm quite new to the OpenFoam and don't know how to solve this problem.
If anybody is familiar with this problem, please advise me on how to proceed.
Thanks

Guy

Maxime Thomas August 8, 2012 05:34

Similar error
 
Hi Guy,

I have the same problem with my simulation. The mesh seems to be good, I defined all the boundary face and conditions, and when I launch simpleFoam I have the exact same message that appears.
Have you figured out your problem? I'm kind of desperate, I've already double checked all my geometry, direction of the faces and I'm out of any new idea to solve this problem.
If you found the solution could you please tell me how to proceed.

Thanks.

Maxime

eading field p

Reading field U

Reading/calculating face flux field phi

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::surfaceInterpolation::makeWeights() const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#4 Foam::surfaceInterpolation::weights() const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#5
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/simpleFoam"
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/simpleFoam"
Exception en point flottant

guyb August 16, 2012 11:12

Hi Maxime,

I had managed to solve this problem. In my opinion (and please take into consideration i'm not an expert in OpenFoam...) there are two possible options, either you convert youe model/workspace to be axisymmetric and use the wedge option for your front and back patches, or you can make the width along the z axis (from front to back, direction) greater. I had used both in two different solutions, on the later option, for a model with a characteristic lenth of a 100 meters, i had changed the width from 1 meter to 10 meters and that had solved the problem.
Best of luck,

Guy


All times are GMT -4. The time now is 01:22.