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

SonicFoam error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 27, 2007, 01:01
Default WHAT IS THIS ERROR Cr
  #1
New Member
 
kalaiselvan
Join Date: Mar 2009
Location: Mumbai, Maharashtra, India
Posts: 25
Rep Power: 17
21kalee is on a distinguished road
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:stream&)
#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)
21kalee is offline   Reply With Quote

Old   December 27, 2007, 07:05
Default It seems that in casefolder 0
  #2
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 17
msha is on a distinguished road
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)
msha is offline   Reply With Quote

Old   December 28, 2007, 13:55
Default Are you using the GUI? i ha
  #3
New Member
 
Laurence Griffiths
Join Date: Mar 2009
Location: Bristol, UK
Posts: 18
Rep Power: 17
lgriffiths is on a distinguished road
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
lgriffiths is offline   Reply With Quote

Old   January 1, 2008, 07:58
Default The tutorial case given in Son
  #4
New Member
 
kalaiselvan
Join Date: Mar 2009
Location: Mumbai, Maharashtra, India
Posts: 25
Rep Power: 17
21kalee is on a distinguished road
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:stream&)
#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......!!!!!!??????
21kalee is offline   Reply With Quote

Old   January 1, 2008, 08:20
Default You did not run it correctly -
  #5
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
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
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   January 1, 2008, 19:19
Default Thank you very much for your g
  #6
New Member
 
kalaiselvan
Join Date: Mar 2009
Location: Mumbai, Maharashtra, India
Posts: 25
Rep Power: 17
21kalee is on a distinguished road
Thank you very much for your guidance...
I got to know how to compile...
21kalee is offline   Reply With Quote

Old   January 2, 2008, 15:00
Default Has SonicFoam been "fixed" sin
  #7
New Member
 
Jon Tegner
Join Date: Mar 2009
Posts: 7
Rep Power: 17
jont is on a distinguished road
Has SonicFoam been "fixed" since 1.3?

Case under tutorials is slightly off regarding speed of shock.

/j
jont 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
SonicFoam stvtiegh OpenFOAM Running, Solving & CFD 1 June 26, 2008 10:30
PISO in sonicFoam srinath OpenFOAM Running, Solving & CFD 0 June 20, 2008 04:21
SonicFoam and SIMPLE lgriffiths OpenFOAM Running, Solving & CFD 1 March 8, 2008 11:28
SonicFoam divphiU dimi OpenFOAM Running, Solving & CFD 3 June 25, 2007 06:47
Help me with sonicFoam marcelo OpenFOAM Running, Solving & CFD 6 December 10, 2005 03:57


All times are GMT -4. The time now is 21:47.