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 |
|
||||
| \\/ 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
|
||||
internalField uniform 0;
|
||||
|
||||
@ -17,7 +25,7 @@ boundaryField
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform $Tinlet;
|
||||
value uniform $sInlet;
|
||||
}
|
||||
|
||||
".*"
|
||||
@ -13,13 +13,13 @@ ddtSchemes
|
||||
}
|
||||
divSchemes
|
||||
{
|
||||
div(phi,T) Gauss limitedLinear 1;
|
||||
div(phi,s) Gauss limitedLinear 1;
|
||||
}
|
||||
|
||||
// fvSolution settings
|
||||
solvers
|
||||
{
|
||||
T
|
||||
s
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother symGaussSeidel;
|
||||
|
||||
Reference in New Issue
Block a user