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

Problem with simpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2010, 03:33
Default Problem with simpleFoam
  #1
Senior Member
 
Daniele
Join Date: Feb 2010
Posts: 134
Rep Power: 16
Daniele111 is on a distinguished road
Hi
When I run my case with simpleFoam with a refine mesh, after some iteration I have this error message why? (my k and epsilon aren't zero)

time step continuity errors : sum local = 2.25645e+45, global = -2.2833e+38, cumulative = -2.2833e+38
#0 Foam::errorrintStack(Foam::Ostream&) in "/user/parolini/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/user/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 __restore_rt at sigaction.c:0
#3 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/user/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#4 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/user/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libfiniteVolume.so"
#5 Foam::lduMatrix::solverPerformance Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) in "/user/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libinc$
#6 Foam::incompressible::RASModels::kEpsilon::correct () in "/user/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libincompressibleRASModels.so"
#7 main in "/user/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/simpleFoam"
#8 __libc_start_main in "/lib64/libc.so.6"
#9 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/user/OpenFOAM/OpenFOAM$
Daniele111 is offline   Reply With Quote

Old   July 6, 2010, 04:56
Default
  #2
Member
 
Moritz Wied
Join Date: Mar 2010
Location: suttgart, germany
Posts: 35
Rep Power: 16
Mo-ITB is on a distinguished road
hi daniele,

time step continuity errors : sum local = 2.25645e+45

this seems to produce a floating point exception caused by too large numbers.

maybe check the velocity field of the last time step before divergence?
could be that a bc is not set correctly.

best,
moritz
Mo-ITB is offline   Reply With Quote

Old   July 8, 2010, 08:06
Default
  #3
Senior Member
 
Daniele
Join Date: Feb 2010
Posts: 134
Rep Power: 16
Daniele111 is on a distinguished road
Hi
Time step error explode when I refine mesh, i don't understand...
this is my case, is a atmospeheric bundary layer with a obstacle on the bottom
Attached Files
File Type: gz blayer.tar.gz (58.3 KB, 4 views)
Daniele111 is offline   Reply With Quote

Old   July 8, 2010, 08:10
Default
  #4
Member
 
Moritz Wied
Join Date: Mar 2010
Location: suttgart, germany
Posts: 35
Rep Power: 16
Mo-ITB is on a distinguished road
have you tried to change the relaxation factors for p and U?
and maybe initialize with some magnitude!
Mo-ITB is offline   Reply With Quote

Old   July 8, 2010, 08:15
Default
  #5
Senior Member
 
Daniele
Join Date: Feb 2010
Posts: 134
Rep Power: 16
Daniele111 is on a distinguished road
Initialize p and U in 0 dir?. U is initialized but p is set equal zero, I try to change it . How can change relaxation factor?

Thank you
Daniele111 is offline   Reply With Quote

Old   July 8, 2010, 08:27
Default
  #6
Member
 
Moritz Wied
Join Date: Mar 2010
Location: suttgart, germany
Posts: 35
Rep Power: 16
Mo-ITB is on a distinguished road
no, initializing U is enough . the relaxation factors are set in system/fvSolution like that:

relaxationFactors
{
U 0.3;
p 0.7;
}

they sould be 1 in sum. for the beginning 0.3 for U may be better, you might change it to 0.7 and p to 0.3 after a while.
Mo-ITB is offline   Reply With Quote

Old   July 8, 2010, 08:31
Default
  #7
Senior Member
 
Daniele
Join Date: Feb 2010
Posts: 134
Rep Power: 16
Daniele111 is on a distinguished road
And factors for k epsilon? 0,8 is good? What value can i use to initialize U?

Thanks
Daniele111 is offline   Reply With Quote

Old   July 8, 2010, 08:40
Default
  #8
Member
 
Moritz Wied
Join Date: Mar 2010
Location: suttgart, germany
Posts: 35
Rep Power: 16
Mo-ITB is on a distinguished road
you can try to switch off turbulence in constant/RASProperties and calculate some laminar iterations. then you can start from there with turbulence switched on. i don't know which factors for k and eps to use, depends on your case, but you can start with 0.8 and decrease them if its diverging.
Mo-ITB is offline   Reply With Quote

Old   July 8, 2010, 09:04
Default
  #9
Senior Member
 
Daniele
Join Date: Feb 2010
Posts: 134
Rep Power: 16
Daniele111 is on a distinguished road
With the factor that you give me time step continuity error is ok! Thanks! You are very kind. My result now are better. Can I ask you another thing? This is my wall shear stress on bottom The obstacle has a step with a ricircularion bubble; and in my plot I have a overshooting. How can i try to eliminate it?
Attached Files
File Type: pdf wss.pdf (3.5 KB, 15 views)
Daniele111 is offline   Reply With Quote

Old   July 8, 2010, 09:43
Default
  #10
Member
 
Moritz Wied
Join Date: Mar 2010
Location: suttgart, germany
Posts: 35
Rep Power: 16
Mo-ITB is on a distinguished road
sorry i have no experience with that yet... maybe someone else .
Mo-ITB 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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Incoherent problem table in hollow-fiber spinning Gianni FLUENT 0 April 5, 2008 10:33
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 06:20.