CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

Error when solving with simpleFoam fora file converted from Gmesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 22, 2012, 09:56
Default Error when solving with simpleFoam fora file converted from Gmesh
  #1
New Member
 
Join Date: Apr 2012
Posts: 2
Rep Power: 0
guyb is on a distinguished road
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:rintStack(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
guyb is offline   Reply With Quote

Old   August 8, 2012, 05:34
Default Similar error
  #2
New Member
 
Maxime Thomas
Join Date: Jul 2012
Posts: 4
Rep Power: 5
Maxime Thomas is on a distinguished road
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:rintStack(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
Maxime Thomas is offline   Reply With Quote

Old   August 16, 2012, 11:12
Default
  #3
New Member
 
Join Date: Apr 2012
Posts: 2
Rep Power: 0
guyb is on a distinguished road
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
guyb is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM 24 August 23, 2015 22:41
swak4foam building problem GGerber OpenFOAM Installation 54 April 24, 2015 16:02
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 11:23


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