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/)
-   -   SonicFoam error (http://www.cfd-online.com/Forums/openfoam-solving/59258-sonicfoam-error.html)

21kalee December 27, 2007 01:01

WHAT IS THIS ERROR Cr
 
WHAT IS THIS ERROR




Create time

Create mesh for time = 0

Reading thermodynamicProperties

Reading transportProperties

Reading field p

Reading field T

Calculating field e from T

Reading field U

#0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)
#1 Foam::sigFpe::sigFpeHandler(int)
#2 Uninterpreted: [0xbfffe420]
#3 Foam::divide(Foam::Field<double>&, double const&, Foam::UList<double> const&)
#4 Foam::tmp<foam::geometricfield<double,> > Foam::operator/<foam::fvpatchfield,>(Foam::dimensioned<double> const&, Foam::tmp<foam::geometricfield<double,> > const&)
#5 Foam::tmp<foam::geometricfield<double,> > Foam::operator/<foam::fvpatchfield,>(double const&, Foam::tmp<foam::geometricfield<double,> > const&)
#6 main
#7 __libc_start_main
#8 __gxx_personality_v0 at /usr/src/packages/BUILD/glibc-2.3/csu/../sysdeps/i386/elf/start.S:122
Finishing FoamXCaseServer::main(int argc, char **argv)

msha December 27, 2007 07:05

It seems that in casefolder 0
 
It seems that in casefolder 0 of your case the field U is not properly defined

See U file in sonicFoam\case\0 (i.e. your initial condition for velocity field)

lgriffiths December 28, 2007 13:55

Are you using the GUI? i ha
 
Are you using the GUI?

i had similar problems when using sonicFOAM and editing the input files from the GUI. But cant remember exactly what my errors were.

If that is the case try editing the files by hand from the example cases

21kalee January 1, 2008 07:58

The tutorial case given in Son
 
The tutorial case given in SonicFoam 'shockTube' is not working, it is showing the following error. I think it is not giving the initial conditions properly. It has a code called 'setShock.C'. The error is as follows:


Create time

Create mesh for time = 0

Reading thermodynamicProperties

Reading transportProperties

Reading field p

Reading field T

Calculating field e from T

Reading field U

Reading/calculating face flux field phi


Starting time loop

Time = 1e-05

#0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)
#1 Foam::sigFpe::sigFpeHandler(int)
#2 Uninterpreted: [0xbfffe420]
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&)
#4 void Foam::divide<foam::fvpatchfield,>(Foam::GeometricF ield<double,>&, Foam::GeometricField<double,> const&, Foam::GeometricField<double,> const&)
#5 Foam::tmp<foam::geometricfield<double,> > Foam::operator/<foam::fvpatchfield,>(Foam::tmp<foam::geometricfie ld<double,> > const&, Foam::tmp<foam::geometricfield<double,> > const&)
#6 main
#7 __libc_start_main
#8 __gxx_personality_v0 at /usr/src/packages/BUILD/glibc-2.3/csu/../sysdeps/i386/elf/start.S:122



Please help me with this....... Do i have to do anything with the code or......!!!!!!??????

hjasak January 1, 2008 08:20

You did not run it correctly -
 
You did not run it correctly - first, compile and run setShock (or do the equivalent with the setFieldsDict and then run the code. Currently, all your fields are zero and there's a problem with zero density and temperature, right?

Hrv

21kalee January 1, 2008 19:19

Thank you very much for your g
 
Thank you very much for your guidance...
I got to know how to compile... http://www.cfd-online.com/OpenFOAM_D...part/happy.gif

jont January 2, 2008 15:00

Has SonicFoam been "fixed" sin
 
Has SonicFoam been "fixed" since 1.3?

Case under tutorials is slightly off regarding speed of shock.

/j


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