CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Shock tube Problem (http://www.cfd-online.com/Forums/openfoam-solving/58818-shock-tube-problem.html)

21kalee August 22, 2007 05:46

I am getting error message whi
 
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:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)
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

hjasak August 22, 2007 05:51

Somewhere for some reason your
 
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

ash June 12, 2008 06:57

You should run setShock first
 
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


All times are GMT -4. The time now is 03:39.