54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||
|
| ========= | |
|
||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||
|
| \\ / O peration | Version: 2.3.0 |
|
||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||
|
| \\/ M anipulation | |
|
||
|
\*---------------------------------------------------------------------------*/
|
||
|
FoamFile
|
||
|
{
|
||
|
version 2.0;
|
||
|
format ascii;
|
||
|
class dictionary;
|
||
|
location "system";
|
||
|
object controlDict;
|
||
|
}
|
||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||
|
application snowBedFoam; //snow transport solver
|
||
|
|
||
|
startFrom latestTime;
|
||
|
|
||
|
startTime 0; //initial timestep (s)
|
||
|
|
||
|
stopAt endTime;
|
||
|
|
||
|
endTime 1000; //end of simulation time (s)
|
||
|
|
||
|
deltaT 1.e-3; //if fixed timestep (s)
|
||
|
|
||
|
writeControl adjustableRunTime; //timestep adjusted to maxCo
|
||
|
|
||
|
writeInterval 1;
|
||
|
|
||
|
purgeWrite 100;
|
||
|
|
||
|
writeFormat ascii;
|
||
|
|
||
|
writePrecision 6;
|
||
|
|
||
|
writeCompression off;
|
||
|
|
||
|
timeFormat general;
|
||
|
|
||
|
timePrecision 6;
|
||
|
|
||
|
runTimeModifiable true;
|
||
|
|
||
|
adjustTimeStep yes;
|
||
|
|
||
|
maxCo 2; //maximum CFL number
|
||
|
|
||
|
maxDeltaT 0.01; //maximum timestep (s)
|
||
|
|
||
|
// ************************************************************************* //
|