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

fvSchemes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2012, 05:35
Default fvSchemes
  #1
Member
 
anonymous
Join Date: Mar 2012
Posts: 45
Rep Power: 14
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, 08:28
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
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.
akidess is offline   Reply With Quote

Old   May 31, 2012, 02:45
Default
  #3
Member
 
anonymous
Join Date: Mar 2012
Posts: 45
Rep Power: 14
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, 03:30
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
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 http://www.cfd-online.com/Forums/ope...-get-help.html.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   May 31, 2012, 03:55
Default
  #5
Member
 
anonymous
Join Date: Mar 2012
Posts: 45
Rep Power: 14
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 http://www.cfd-online.com/Forums/ope...-get-help.html.

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, 04:16
Default
  #6
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
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.
akidess is offline   Reply With Quote

Old   May 31, 2012, 04:45
Default
  #7
Member
 
anonymous
Join Date: Mar 2012
Posts: 45
Rep Power: 14
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, 17:09
Default
  #8
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
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


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
fvSchemes Setting for tracer flow spv24 OpenFOAM Running, Solving & CFD 1 April 21, 2012 15:12
fvschemes and fvsolutions in MRFSimpleFoam renyun0511 OpenFOAM Running, Solving & CFD 23 August 3, 2011 05:07
OpenFOAM fvSchemes: laplacianScheme, thomek Main CFD Forum 1 October 18, 2010 06:17
Implementation issues of fvSchemes / laplacianScheme, in particular gaussLaplacianSch thomek OpenFOAM Programming & Development 0 October 18, 2010 06:10
General help for fvSchemes and fvSolution settings harly OpenFOAM Running, Solving & CFD 4 September 7, 2009 11:31


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