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

View File

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