mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
restructuring to reflect solver hierarchy
This commit is contained in:
@ -0,0 +1,64 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.5 |
|
||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object controlDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Foam Application Class
|
||||
|
||||
// Start point of run
|
||||
startFrom startTime;
|
||||
|
||||
// Calculation start time
|
||||
startTime 0;
|
||||
|
||||
// End point of run
|
||||
stopAt endTime;
|
||||
|
||||
// Calculation end time
|
||||
endTime 1000;
|
||||
|
||||
// Calculation time step
|
||||
deltaT 1;
|
||||
|
||||
// Type of write output control
|
||||
writeControl timeStep;
|
||||
|
||||
// Interval with which the results are output
|
||||
writeInterval 100;
|
||||
|
||||
// Limits number of time directories before overwriting
|
||||
purgeWrite 0;
|
||||
|
||||
// Write Format
|
||||
writeFormat ascii;
|
||||
|
||||
// Significant figures of written ASCII data
|
||||
writePrecision 6;
|
||||
|
||||
// Write Compression
|
||||
writeCompression uncompressed;
|
||||
|
||||
// Time directories name format
|
||||
timeFormat general;
|
||||
|
||||
// Decimal precision of time directory names
|
||||
timePrecision 6;
|
||||
|
||||
// Can parameters be modified during run time?
|
||||
runTimeModifiable yes;
|
||||
|
||||
// Output format for graphs
|
||||
graphFormat raw;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,69 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.5 |
|
||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Time derivative discretisation schemes
|
||||
ddtSchemes
|
||||
{
|
||||
// Default scheme
|
||||
default steadyState;
|
||||
}
|
||||
|
||||
// Gradient discretisation schemes
|
||||
gradSchemes
|
||||
{
|
||||
// Default gradient scheme
|
||||
default Gauss linear;
|
||||
}
|
||||
|
||||
// Convection discretisation schemes
|
||||
divSchemes
|
||||
{
|
||||
// Default scheme
|
||||
default none;
|
||||
div(phi,k) Gauss linear;
|
||||
div(phi,epsilon) Gauss linear;
|
||||
div(phi,R) Gauss linear;
|
||||
div(phi,nuTilda) Gauss linear;
|
||||
div((nuEff*dev(grad(U).T()))) Gauss linear;
|
||||
}
|
||||
|
||||
// Laplacian discretisation schemes
|
||||
laplacianSchemes
|
||||
{
|
||||
// Default scheme
|
||||
default none;
|
||||
laplacian(nuEff,U) Gauss linear corrected;
|
||||
laplacian(DkEff,k) Gauss linear corrected;
|
||||
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
||||
laplacian(DREff,R) Gauss linear corrected;
|
||||
laplacian(DnuTildaEff,nuTilda) Gauss linear corrected;
|
||||
}
|
||||
|
||||
// Interpolation schemes
|
||||
interpolationSchemes
|
||||
{
|
||||
// Default scheme
|
||||
default linear;
|
||||
}
|
||||
|
||||
// Surface normal gradient schemes
|
||||
snGradSchemes
|
||||
{
|
||||
// Default scheme
|
||||
default corrected;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,82 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.5 |
|
||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
// Solver for the U equation
|
||||
U PCG
|
||||
{
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
};
|
||||
// Solver for the k equation
|
||||
k PBiCG
|
||||
{
|
||||
preconditioner DILU;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
};
|
||||
// Solver for the epsilon equation
|
||||
epsilon PBiCG
|
||||
{
|
||||
preconditioner DILU;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
};
|
||||
// Solver for the R equation
|
||||
R PBiCG
|
||||
{
|
||||
preconditioner DILU;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
};
|
||||
// Solver for the nuTilda equation
|
||||
nuTilda PBiCG
|
||||
{
|
||||
preconditioner DILU;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
};
|
||||
}
|
||||
|
||||
PISO
|
||||
{
|
||||
// Number of PISO correctors
|
||||
nCorrectors 2;
|
||||
// Number of non-orthogonal correctors
|
||||
nNonOrthogonalCorrectors 0;
|
||||
// momentumPredictor?
|
||||
momentumPredictor yes;
|
||||
// fluxGradp?
|
||||
fluxGradp no;
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
// U
|
||||
U 0.5;
|
||||
// k
|
||||
k 0.7;
|
||||
// epsilon
|
||||
epsilon 0.7;
|
||||
// R
|
||||
R 0.7;
|
||||
// nuTilda
|
||||
nuTilda 0.7;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user