CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   fvSchemes (http://www.cfd-online.com/Forums/openfoam/102625-fvschemes.html)

libia87 May 30, 2012 04:35

fvSchemes
 
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 ;
}


// ************************************************** *********************** //

akidess May 30, 2012 07:28

http://www.openfoam.org/docs/user/fv...p#x20-11501111

libia87 May 31, 2012 01:45

Quote:

Originally Posted by akidess (Post 363810)

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??

akidess May 31, 2012 02:30

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.

libia87 May 31, 2012 02:55

Quote:

Originally Posted by akidess (Post 363967)
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??

akidess May 31, 2012 03:16

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.

libia87 May 31, 2012 03:45

Quote:

Originally Posted by akidess (Post 363973)
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

anishtain4 June 5, 2012 16:09

If you want longer iteration for convergence you can simply increase the convergence criteria in fvSolution


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