Skip to content
Snippets Groups Projects
Commit 84f50077 authored by Chris Greenshields's avatar Chris Greenshields
Browse files

scalarTransport function: renamed scalar field -> s

parent aa7b3dfe
Branches
Tags
1 merge request!60Merge foundation
......@@ -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;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment