scalarTransport function: renamed scalar field -> s

This commit is contained in:
Chris Greenshields
2016-07-31 17:12:49 +01:00
parent ff9ad39f82
commit f0fdd1c203
2 changed files with 13 additions and 5 deletions

View File

@ -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;
} }
".*" ".*"

View File

@ -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;