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

Mutliphase flow: division by zero in incompressible turbulence model

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2016, 09:21
Post Mutliphase flow: division by zero in incompressible turbulence model
  #1
New Member
 
Gautham varma
Join Date: Feb 2016
Posts: 5
Rep Power: 10
Gautham91 is on a distinguished road
Hi,

This is one of the first time i am using openfoam multiphase flow. I have a tank with oil upto a level and i wanted to simulate a flow of air from inlet to outlet. I am using dambreak ran interfoam solver as a base and working from there. However, for some reason i cant get a solution as the Openfoam solver gives me fatal error and exiting .
this is the error that i obtain

Foam::error:: PrintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4 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 ??:?
#5 Foam::RASModels::kEpsilon<Foam::IncompressibleTurb ulenceModel<Foam::transportModel> >::correct() at ??:?
#6 ? at ??:?
#7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8 ? at ??:?
Floating point exception (core dumped)

I cant solve this problem at all so can somebody give me some guidelines?

thanks

Last edited by Gautham91; February 23, 2016 at 09:26. Reason: inlcuding the error file
Gautham91 is offline   Reply With Quote

Old   February 23, 2016, 12:25
Default
  #2
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12
Saideep is on a distinguished road
Hi,

guess you changed the solver and at some point you are dividing a variable with 0 {floating point error}.

Saideep
Saideep is offline   Reply With Quote

Old   February 24, 2016, 02:32
Default
  #3
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 14
ahmmedshakil is on a distinguished road
Quote:
Originally Posted by Gautham91 View Post
Hi,

This is one of the first time i am using openfoam multiphase flow. I have a tank with oil upto a level and i wanted to simulate a flow of air from inlet to outlet. I am using dambreak ran interfoam solver as a base and working from there. However, for some reason i cant get a solution as the Openfoam solver gives me fatal error and exiting .
this is the error that i obtain

Foam::error:: PrintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4 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 ??:?
#5 Foam::RASModels::kEpsilon<Foam::IncompressibleTurb ulenceModel<Foam::transportModel> >::correct() at ??:?
#6 ? at ??:?
#7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8 ? at ??:?
Floating point exception (core dumped)

I cant solve this problem at all so can somebody give me some guidelines?

thanks
Please check the initialisation of gamma (phase fraction), boundary conditions- you used in the simulations.

Cheers,
Shakil
ahmmedshakil is offline   Reply With Quote

Old   February 25, 2016, 08:28
Default
  #4
New Member
 
Gautham varma
Join Date: Feb 2016
Posts: 5
Rep Power: 10
Gautham91 is on a distinguished road
Thank you guys.
Gautham91 is offline   Reply With Quote

Reply

Tags
interfoam, openfoam 2.0.x

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00
turbulence model for Refrigerator cicatrix Main CFD Forum 0 October 3, 2012 01:47
Turbulence model for Laminar flow Terry Main CFD Forum 8 August 14, 2010 05:45
Turbulence Model for Transient Incompressible flow astro1 Main CFD Forum 5 May 5, 2007 11:07


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