From 84f50077a770fa9768213ad802eae3491d3a2f9e Mon Sep 17 00:00:00 2001 From: Chris Greenshields <http://cfd.direct> Date: Sun, 31 Jul 2016 17:12:49 +0100 Subject: [PATCH] scalarTransport function: renamed scalar field -> s --- etc/caseDicts/solvers/scalarTransport/{T => s} | 14 +++++++++++--- .../scalarTransport/scalarTransportDict.cfg | 4 ++-- 2 files changed, 13 insertions(+), 5 deletions(-) rename etc/caseDicts/solvers/scalarTransport/{T => s} (74%) diff --git a/etc/caseDicts/solvers/scalarTransport/T b/etc/caseDicts/solvers/scalarTransport/s similarity index 74% rename from etc/caseDicts/solvers/scalarTransport/T rename to etc/caseDicts/solvers/scalarTransport/s index 67158af3a2..d29ed95a3a 100644 --- a/etc/caseDicts/solvers/scalarTransport/T +++ b/etc/caseDicts/solvers/scalarTransport/s @@ -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; } ".*" diff --git a/etc/caseDicts/solvers/scalarTransport/scalarTransportDict.cfg b/etc/caseDicts/solvers/scalarTransport/scalarTransportDict.cfg index 5884488072..74ee4685c6 100644 --- a/etc/caseDicts/solvers/scalarTransport/scalarTransportDict.cfg +++ b/etc/caseDicts/solvers/scalarTransport/scalarTransportDict.cfg @@ -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; -- GitLab