|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
kalaiselvan
Join Date: Mar 2009
Location: Mumbai, Maharashtra, India
Posts: 25
Rep Power: 18 ![]() |
I am getting error message while running the already defined tutorial case file in sonicFoam. This happens for the case file "shockTube".
The following error message is shown: Foam::error::printStack(Foam: stream&) Foam::sigFpe::sigFpeHandler(int) [0xffffe420] Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) void Foam::divide<double,>(Foam::GeometricField<double, >&, Foam::GeometricField<double,> const&, Foam::GeometricField<double,> const&) Foam::tmp<foam::geometricfield<double,> > Foam::operator/<double,>(Foam::tmp<foam::geometricfield<double, > > const&, Foam::tmp<foam::geometricfield<double,> > const&) sonicFoam [0x805b611] __libc_start_main __gxx_personality_v0 Can anyone sort out the problem and explain me the same. I am a beginner |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,908
Rep Power: 34 ![]() |
Somewhere for some reason your code is dividing by zero. Is your initial pressure or temperature field zero by any chance? Did you run initialisation for the case?
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Arun Shourie
Join Date: Mar 2009
Location: Singapore
Posts: 12
Rep Power: 18 ![]() |
You should run setShock first to get the values of p,U and T updated....
then try for running the case file. It will definitely work |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shock Tube problem | mouna lamnaouer | FLUENT | 1 | September 22, 2011 13:47 |
| Sod Shock Tube problem | cfd | Main CFD Forum | 4 | July 7, 2009 14:24 |
| SOD shock tube problem | Luuk | Main CFD Forum | 3 | September 6, 2005 06:08 |
| Shock tube problem | AB | Siemens | 1 | November 9, 2004 01:25 |
| Shock tube problem | ger | Main CFD Forum | 1 | September 24, 2003 08:41 |