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

Mistake when i calculate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 31, 2008, 10:04
Default hi everyone, when i calculate
  #1
Senior Member
 
weihong yao
Join Date: Mar 2009
Posts: 117
Rep Power: 17
ivanyao is on a distinguished road
hi everyone,
when i calculate a case,there are some errors:
Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model kEpsilon
#0 Foam::error::printStack(Foam:stream&)
#1 Foam::sigFpe::sigFpeHandler(int)
#2 Uninterpreted: [0xb7f7f420]
#3 Foam::turbulenceModels::kEpsilon::kEpsilon(Foam::G eometricField<foam::vector<dou ble>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double,> const&, Foam::transportModel&)
#4 Foam::turbulenceModel::adddictionaryConstructorToT able<foam::turbulencemodels::k epsilon>::New(Foam::GeometricField<foam::vector<do uble>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double,> const&, Foam::transportModel&)
#5 Foam::turbulenceModel::New(Foam::GeometricField<fo am::vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double,> const&, Foam::transportModel&)
#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
what is wrong?thank!
ivanyao is offline   Reply With Quote

Old   August 31, 2008, 14:57
Default Hi, You might have initialize
  #2
Member
 
M. Mahdi Salehi
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 50
Rep Power: 17
smehdi609 is on a distinguished road
Hi,
You might have initialized both k and epsilon with zero somewhere.
Cheers,
Mahdi
smehdi609 is offline   Reply With Quote

Old   September 1, 2008, 00:06
Default hi, i have fix the problem,bu
  #3
Senior Member
 
weihong yao
Join Date: Mar 2009
Posts: 117
Rep Power: 17
ivanyao is on a distinguished road
hi,
i have fix the problem,but there is another one.when i when i calculate a case,and show:
Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model kEpsilon

Starting time loop

Time = 0.005

Courant Number mean: 0 max: 0.0777778
DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 1.21994e-12, No Iterations 1
DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 1.11438e-12, No Iterations 1
DILUPBiCG: Solving for Uz, Initial residual = 1, Final residual = 1.03725e-12, No Iterations 1
DICPCG: Solving for p, Initial residual = 1, Final residual = 9.37245e-07, No Iterations 181
time step continuity errors : sum local = 8.8762e-13, global = -5.54212e-14, cumulative = -5.54212e-14
DICPCG: Solving for p, Initial residual = 4.97522e-08, Final residual = 4.97522e-08, No Iterations 0
time step continuity errors : sum local = 1.3379e-11, global = -4.27122e-12, cumulative = -4.32665e-12
#0 Foam::error::printStack(Foam:stream&)
#1 Foam::sigFpe::sigFpeHandler(int)
#2 Uninterpreted: [0xb7faa420]
#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::GeometricField<double,> const&)
#6 Foam::turbulenceModels::kEpsilon::correct()
#7 main
#8 __libc_start_main
#9 __gxx_personality_v0 at /usr/src/packages/BUILD/glibc-2.3/csu/../sysdeps/i386/elf/start.S:122
would someone know that?
ivanyao is offline   Reply With Quote

Old   September 1, 2008, 03:17
Default Hi You are still dividing b
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi

You are still dividing by zero in your turbulence model. Check that no k or epsilon is initialized to 0.

- Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   January 8, 2013, 20:16
Default
  #5
Senior Member
 
Join Date: Dec 2011
Posts: 121
Rep Power: 14
fshak92 is on a distinguished road
Hi

I'm facing to these errors after modifying my mesh(which are generated in another software).
Im working with K omega and I've checked that for zero K or omega but they are ok.Moreover, they work for other meshes.
I would appreciate if you have any suggestion.
----------------------------------------------------------------
Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::surfaceInterpolation::makeWeights() const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#4 Foam::surfaceInterpolation::weights() const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#5
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/simpleFoam"
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/simpleFoam"
Floating point exception (core dumped)
-------------------------------------------------------------------
fshak92 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
they edited the mistake Glares CFX 0 October 12, 2008 12:11
anybody know what's the mistake means? see inside Jiani FLUENT 1 July 10, 2007 18:06
Is it my mistake mer OpenFOAM Pre-Processing 4 December 23, 2006 17:56
HELP: udf compiling mistake Siyu FLUENT 2 June 26, 2006 07:58
Spelling mistake Praveen. C CFD-Wiki 4 December 3, 2005 13:25


All times are GMT -4. The time now is 11:59.