CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

fvSchemes

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 30, 2012, 04:35
Default fvSchemes
  #1
Member
 
anonymous
Join Date: Mar 2012
Posts: 45
Rep Power: 5
libia87 is on a distinguished road
Hi foamers!!

I would change the ddtSchemes to be timedependent and not steadyState, because I want the program to continue calculating until I choose.

Anyone knows what I have to write in ddtSchemes??

thanks!!

FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
default steadyState;
}

gradSchemes
{
default Gauss linear;
}

divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phi,T) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div((nuEff*dev(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
default none;
laplacian(nuEff,U) Gauss linear corrected;
laplacian((1|A(U)),p_rgh) Gauss linear corrected;
laplacian(kappaEff,T) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(DREff,R) Gauss linear corrected;
}

interpolationSchemes
{
default linear;
}

snGradSchemes
{
default corrected;
}

fluxRequired
{
default no;
p_rgh ;
}


// ************************************************** *********************** //
libia87 is offline   Reply With Quote

Old   May 30, 2012, 07:28
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
http://www.openfoam.org/docs/user/fv...p#x20-11501111
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Old   May 31, 2012, 01:45
Default
  #3
Member
 
anonymous
Join Date: Mar 2012
Posts: 45
Rep Power: 5
libia87 is on a distinguished road
Quote:
Originally Posted by akidess View Post
ok thanks! I try all the time schemes but the programs stops before my endtime, how can I do to continue calculating the program until my endtime??
libia87 is offline   Reply With Quote

Old   May 31, 2012, 02:30
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
Which solver are you using, and what do you mean by 'stop' (i.e. crashes, or exits without errors)?

See also How to give enough info to get help.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Old   May 31, 2012, 02:55
Default
  #5
Member
 
anonymous
Join Date: Mar 2012
Posts: 45
Rep Power: 5
libia87 is on a distinguished road
Quote:
Originally Posted by akidess View Post
Which solver are you using, and what do you mean by 'stop' (i.e. crashes, or exits without errors)?

See also How to give enough info to get help.

I use the buoyantboussinesqsimplefoam, and I change the geometry and the parameters of transportproperties because I have a laminar flux.

I study the difusivity in a cylinder.

The program stops because it's converged (SIMPLE solution converged in 139.5 iterations) but I want to continue calculating until 1000 iterations for example. If it's converged, can't I continue calculating??
libia87 is offline   Reply With Quote

Old   May 31, 2012, 03:16
Default
  #6
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
The solver you are using is inherently steady state, so there is no point continuing the simulation after it has converged - even if you would run it for 1000 more iterations, the solution will not change any more. Use buoyantBoussinesqPimpleFoam for a transient simulation.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Old   May 31, 2012, 03:45
Default
  #7
Member
 
anonymous
Join Date: Mar 2012
Posts: 45
Rep Power: 5
libia87 is on a distinguished road
Quote:
Originally Posted by akidess View Post
The solver you are using is inherently steady state, so there is no point continuing the simulation after it has converged - even if you would run it for 1000 more iterations, the solution will not change any more. Use buoyantBoussinesqPimpleFoam for a transient simulation.

ok thanks! I'm going to use this other solver
libia87 is offline   Reply With Quote

Old   June 5, 2012, 16:09
Default
  #8
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Posts: 124
Rep Power: 8
anishtain4 is on a distinguished road
If you want longer iteration for convergence you can simply increase the convergence criteria in fvSolution
anishtain4 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fvSchemes Setting for tracer flow spv24 OpenFOAM Running, Solving & CFD 1 April 21, 2012 14:12
fvschemes and fvsolutions in MRFSimpleFoam renyun0511 OpenFOAM Running, Solving & CFD 23 August 3, 2011 04:07
OpenFOAM fvSchemes: laplacianScheme, thomek Main CFD Forum 1 October 18, 2010 05:17
Implementation issues of fvSchemes / laplacianScheme, in particular gaussLaplacianSch thomek OpenFOAM Programming & Development 0 October 18, 2010 05:10
General help for fvSchemes and fvSolution settings harly OpenFOAM Running, Solving & CFD 4 September 7, 2009 10:31


All times are GMT -4. The time now is 16:33.