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

Problem running my case OF2.4 vs OF2.3.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2016, 13:32
Default Problem running my case OF2.4 vs OF2.3.1
  #1
New Member
 
Zinedine
Join Date: Sep 2010
Posts: 19
Rep Power: 16
Zinedine is on a distinguished road
Dear foamers,

I have setup a case using OF2.3 using pimpleFoam with
k-epsilon turbulence and this works fine when running using OF2.3.1.

However when attempting to run the same case using OF2.4 - I have the following error:

####################################
Create time

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type RASModel
Selecting RAS turbulence model kEpsilon
bounding k, min: 0 max: 1e-05 average: 1e-05
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
sigmaEps 1.3;
}

No finite volume options present


PIMPLE: Operating solver in PISO mode


Starting time loop

Courant Number mean: 1.21676e-05 max: 0.000519965
deltaT = 1.1999e-05
Time = 1.1999e-05

PIMPLE: iteration 1
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 4.39177e-09, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 5.70503e-08, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 7.67011e-08, No Iterations 1
GAMG: Solving for p, Initial residual = 1, Final residual = 0.00441416, No Iterations 7
time step continuity errors : sum local = 3.12544e-09, global = -5.85747e-11, cumulative = -5.85747e-11
GAMG: Solving for p, Initial residual = 0.559135, Final residual = 5.71717e-08, No Iterations 14
time step continuity errors : sum local = 8.4225e-13, global = 1.05287e-14, cumulative = -5.85642e-11
#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib64/libc.so.6"
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:perator/<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#6 Foam::incompressible::RASModels::kEpsilon::correct () at ??:?
#7 ? at ??:?
#8 __libc_start_main in "/lib64/libc.so.6"
#9 ? at ??:?
Floating point exception
##################################################

This is the same case file -I have trying to find out what is the issue
with no success - I am sure this must be something silly.

The error statement in red: Floating point exception
somethig is not well define- that is weird as it is the same case
that runs with OF2.3.1 ....

Your help is really appreciated.

Thanks

Z.
Zinedine is offline   Reply With Quote

Old   March 14, 2016, 18:11
Default
  #2
New Member
 
Premchand Pendota
Join Date: Sep 2015
Location: Arizona, USA
Posts: 3
Rep Power: 11
ppendota is on a distinguished road
Hi, if you are using k=0 as a boundary condition, try using k=1e-10 (or a very small value) to avoid division by zero in the solver.
ppendota is offline   Reply With Quote

Old   March 15, 2016, 05:56
Default
  #3
New Member
 
Zinedine
Join Date: Sep 2010
Posts: 19
Rep Power: 16
Zinedine is on a distinguished road
Good morning PremchandThanks for your suggestion - just implemented the change and
indeed it seems to function now.
Would you know why this issue doesn't show up on OF2.3.1 but does on OF2.4?

Regards

Zinedine
Zinedine is offline   Reply With Quote

Reply

Tags
k-epsilon turbulence, of2.3.1, of2.4, openfoam, pimplefoam


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
Mass imbalance problem in multiphase water and steam CFX case Antech CFX 1 October 26, 2020 05:03
[DesignModeler] DesignModeler Scripting: How to get Full Command Access ANT ANSYS Meshing & Geometry 53 February 16, 2020 16:13
Problem with parallel computation (case inviscid onera M6) Combas SU2 11 January 30, 2014 02:20
Problem in Running OpenFoam in Parallel himanshu28 OpenFOAM Running, Solving & CFD 1 July 11, 2013 10:19
paraFoam running problem Aleksey_R OpenFOAM 2 November 27, 2009 19:18


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