CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

error message after running icoFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2012, 16:35
Question error message after running icoFoam
  #1
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Dear Foamers,

while running case on OpenFOAM by icoFoam solver I've gotten this message but i could not understand exatcly where problem is? please help

Courant Number mean: 0.395781 max: 2.36188e+294
#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 void Foam::fvc::surfaceIntegrate<Foam::Vector<double> >(Foam::Field<Foam::Vector<double> >&, Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libfiniteVolume.so"
#4 Foam::tmp<Foam::GeometricField<Foam::Vector<double >, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::surfaceIntegrate<Foam::Vector<double> >(Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libfiniteVolume.so"
#5 Foam::tmp<Foam::GeometricField<Foam::Vector<double >, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<Foam::Vector<double> >(Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libfiniteVolume.so"
#6 Foam::fv::gaussLaplacianScheme<Foam::Vector<double >, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libfiniteVolume.so"
#7
in "/opt/openfoam210/platforms/linuxGccDPOpt/bin/icoFoam"
#8
in "/opt/openfoam210/platforms/linuxGccDPOpt/bin/icoFoam"
#9
in "/opt/openfoam210/platforms/linuxGccDPOpt/bin/icoFoam"
#10
in "/opt/openfoam210/platforms/linuxGccDPOpt/bin/icoFoam"
#11 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#12
in "/opt/openfoam210/platforms/linuxGccDPOpt/bin/icoFoam"
Floating point exception
Ahmed Khattab is offline   Reply With Quote

Old   February 10, 2012, 02:48
Default
  #2
Member
 
Bernhard Grieser
Join Date: Mar 2010
Location: Zurich, Switzerland
Posts: 30
Rep Power: 16
BernhardGrieser is on a distinguished road
Quote:
Originally Posted by rebel ahmed View Post
Dear Foamers,
while running case on OpenFOAM by icoFoam solver I've gotten this message but i could not understand exatcly where problem is? please help

Courant Number mean: 0.395781 max: 2.36188e+294
Courant Number too high. Physical velocity exceeds "numerical" velocity. Smaller time step required.
BernhardGrieser is offline   Reply With Quote

Old   February 10, 2012, 13:38
Default too high courant number
  #3
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
i tried to adjust time step and cell size. but not working.

also i see that mean courant is about 0.3.
Ahmed Khattab is offline   Reply With Quote

Old   February 10, 2012, 14:45
Default
  #4
New Member
 
Join Date: Jan 2012
Location: Germany
Posts: 9
Rep Power: 14
cfd-noob is on a distinguished road
Last time I saw that it was a because of a singularity.

Your mean value is pretty low compared to the maximum. You can try to watch the result with paraView and maybe make a bigger radius at the point of the Maximum if this is possible.
cfd-noob is offline   Reply With Quote

Old   February 10, 2012, 15:27
Default
  #5
Member
 
Francesco Capuano
Join Date: May 2010
Posts: 81
Rep Power: 15
francesco_capuano is on a distinguished road
The floating point exception error occurs when the solution contains NaNs (Not a Number). To prevent meaningless solutions, OpenFOAM is provided with a floating point exception trapping represented by the environment variable $FOAM_SIGFPE: when active, the solution stops as soon as a NaN appears in the field. If you wish to let the solver continue running, you can unset FOAM_SIGFPE by commenting its definition within the /etc/bashrc file (you will need to restart your shell).

However, it is evident that your singularity is caused by the high Courant number, therefore I would suggest that you first check your boundary and initial conditions and reduce (as already suggested) your time-step. Starting from a very small time-step (e.g. 1e-10s) sometimes works, at least in my experience

Cheers,
Francesco
francesco_capuano is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Valgrind claims invalid free when running icoFoam from OpenFOAM 1.6-ext andrewryan OpenFOAM Bugs 3 March 30, 2011 08:00
Suse10 FoamX problem frank178 OpenFOAM Installation 6 January 14, 2010 04:18
problem when running icoFoam on a complex shape flow field wendywu OpenFOAM 1 May 20, 2009 23:40
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 09:38
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 07:52


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