CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

ShockTube, error message.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 16, 2011, 12:04
Default ShockTube, error message.
  #1
Member
 
Alexander
Join Date: Jul 2011
Posts: 36
Rep Power: 5
foamer is on a distinguished road
Hi

i am investigating a case by using the shockTube tutorial, (rhoCentralFoam solver).

My problem is that i get an error message when i am running the simulation. the simulation starts to run, but after a short time i receive an error message. the problem is that i do not know what it means.

An excerpt of the two last iterations and the error message i receive is:


diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0
ExecutionTime = 0.12 s ClockTime = 1 s

Mean and max Courant Numbers = 0.0993913 0.2
deltaT = 1e-05
Time = 0.0001

diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0
ExecutionTime = 0.13 s ClockTime = 1 s

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 in "/lib/libc.so.6"
#3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"
#4
in "/opt/openfoam171/applications/bin/linux64GccDPOpt/rhoCentralFoam"
#5
in "/opt/openfoam171/applications/bin/linux64GccDPOpt/rhoCentralFoam"
#6 __libc_start_main in "/lib/libc.so.6"
#7
in "/opt/openfoam171/applications/bin/linux64GccDPOpt/rhoCentralFoam"
Floating point exception


I have a fealing that the errouniosity is based on the changes i did to the setFieldsDict file. My setFieldsDict file looks like:

defaultFieldValues ( volVectorFieldValue U ( -1000 0 0 ) volScalarFieldValue T 349 volScalarFieldValue p 100000 );

regions ( boxToCell { box ( 0 -1 -1 ) ( 5 1 1 ) ; fieldValues (volVectorFieldValue U ( 1000 0 0 ) volScalarFieldValue T 349 volScalarFieldValue p 100000 ) ; } );


i will have deeply appreciated if someone could have explained to me what the error message means and what i can do to cope with this problem.

Alex
foamer is offline   Reply With Quote

Old   November 17, 2011, 06:37
Default
  #2
Member
 
Alexander
Join Date: Jul 2011
Posts: 36
Rep Power: 5
foamer is on a distinguished road
Hi

I think i know what is the problem.
When i check the pressure in time folder 0.001 i eventually get negative pressure. So i guess this has to do with the numerics in the algorithm or so, that it cannot handle it.


Alex
foamer is offline   Reply With Quote

Old   December 1, 2012, 03:13
Default zero residuals
  #3
Member
 
Farshad
Join Date: Oct 2010
Posts: 76
Rep Power: 6
Farshad_Noravesh is on a distinguished road
Hi,

Did you solve the problem? I am still getting your error. Even when i use other tutorials of rhoCentralFoam i still get the same error.

please help me.

Kind Regards,

Farshad
Farshad_Noravesh is offline   Reply With Quote

Old   December 1, 2012, 16:22
Default
  #4
Member
 
Alexander
Join Date: Jul 2011
Posts: 36
Rep Power: 5
foamer is on a distinguished road
Quote:
Originally Posted by Farshad_Noravesh View Post
Hi,

Did you solve the problem? I am still getting your error. Even when i use other tutorials of rhoCentralFoam i still get the same error.

please help me.

Kind Regards,

Farshad


Farshad, i think the velocity is too high...if you lower the velocity to 900 m/s it should be able to run...

Hope this will work for you



alex
foamer is offline   Reply With Quote

Old   December 2, 2012, 18:02
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
may be the problem is from turbulency
immortality is offline   Reply With Quote

Old   December 3, 2012, 08:37
Default
  #6
Member
 
Alexander
Join Date: Jul 2011
Posts: 36
Rep Power: 5
foamer is on a distinguished road
Quote:
Originally Posted by immortality View Post
may be the problem is from turbulency

Ok, could you please specify that a little more ?


alex
foamer is offline   Reply With Quote

Old   December 4, 2012, 13:24
Default
  #7
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
I have the same problem.it seems the equations of rho don't solve at all.because rho,rhoUx,rhoUy,rhoUz and rhoe are zero in my run.
I don't whats the cause of the problem.
immortality is offline   Reply With Quote

Old   December 10, 2012, 12:44
Default
  #8
Super Moderator
 
praveen's Avatar
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 244
Blog Entries: 6
Rep Power: 9
praveen is on a distinguished road
Try reducing cfl number and/or time step.
praveen is offline   Reply With Quote

Old   January 30, 2013, 05:31
Default
  #9
Member
 
Valentin Wibaut
Join Date: Oct 2012
Posts: 45
Rep Power: 4
vwibaut is on a distinguished road
Hi all,

I'm solving the flow in a nozzle and I have the same problem that foamer
Quote:
My problem is that i get an error message when i am running the simulation. the simulation starts to run, but after a short time i receive an error message. the problem is that i do not know what it means.
Just reducing the velocity solves your problem?

Regards
vwibaut 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
Shocktube in OpenFoam foamer OpenFOAM 6 January 5, 2013 11:02
Shocktube help needed please cfdguy08 FLUENT 4 October 4, 2010 07:31
shockTube simulation different solvers feijooos OpenFOAM Running, Solving & CFD 8 November 20, 2009 18:20
SHOCKTUBE INITIAL CONDITION Stefano FLUENT 0 May 10, 2006 15:55
help:gas-water shocktube problem gooo Main CFD Forum 0 May 8, 2005 22:51


All times are GMT -4. The time now is 18:31.