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

ShockTube, error message.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2011, 11:04
Default ShockTube, error message.
  #1
Member
 
Alexander
Join Date: Jul 2011
Posts: 38
Rep Power: 14
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, 05:37
Default
  #2
Member
 
Alexander
Join Date: Jul 2011
Posts: 38
Rep Power: 14
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, 02:13
Default zero residuals
  #3
Member
 
Farshad
Join Date: Oct 2010
Posts: 76
Rep Power: 15
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, 15:22
Default
  #4
Member
 
Alexander
Join Date: Jul 2011
Posts: 38
Rep Power: 14
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, 17:02
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
may be the problem is from turbulency
immortality is offline   Reply With Quote

Old   December 3, 2012, 07:37
Default
  #6
Member
 
Alexander
Join Date: Jul 2011
Posts: 38
Rep Power: 14
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, 12:24
Default
  #7
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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, 11:44
Default
  #8
Super Moderator
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 342
Blog Entries: 6
Rep Power: 18
praveen is on a distinguished road
Try reducing cfl number and/or time step.
praveen is offline   Reply With Quote

Old   January 30, 2013, 04:31
Default
  #9
Member
 
Valentin Wibaut
Join Date: Oct 2012
Posts: 45
Rep Power: 13
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


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
Shocktube in OpenFoam foamer OpenFOAM 6 January 5, 2013 10: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 17: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 03:02.