mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
scalarTransport function: renamed scalar field -> s
This commit is contained in:
@ -5,10 +5,18 @@
|
|||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class volScalarField;
|
||||||
|
object s;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Tinlet 1;
|
sInlet 1;
|
||||||
|
|
||||||
dimensions [0 0 0 0 0 0 0]; // T can represent any scalar
|
dimensions [0 0 0 0 0 0 0]; // s can represent any scalar
|
||||||
// with any dimensional units
|
// with any dimensional units
|
||||||
internalField uniform 0;
|
internalField uniform 0;
|
||||||
|
|
||||||
@ -17,7 +25,7 @@ boundaryField
|
|||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform $Tinlet;
|
value uniform $sInlet;
|
||||||
}
|
}
|
||||||
|
|
||||||
".*"
|
".*"
|
||||||
@ -13,13 +13,13 @@ ddtSchemes
|
|||||||
}
|
}
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(phi,T) Gauss limitedLinear 1;
|
div(phi,s) Gauss limitedLinear 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// fvSolution settings
|
// fvSolution settings
|
||||||
solvers
|
solvers
|
||||||
{
|
{
|
||||||
T
|
s
|
||||||
{
|
{
|
||||||
solver smoothSolver;
|
solver smoothSolver;
|
||||||
smoother symGaussSeidel;
|
smoother symGaussSeidel;
|
||||||
|
|||||||
Reference in New Issue
Block a user