solidDisplacementFoam: Cache the "C" field so that it can be used in thermal BCs

This commit is contained in:
Henry Weller
2019-02-08 15:14:39 +00:00
parent c81abfef05
commit 97095d2b2a

View File

@ -44,11 +44,11 @@ volScalarField DT
);
// Cache "C" for use in thermal BCs
autoPtr<volScalarField> CPtr;
if (thermalStress)
{
autoPtr<volScalarField> CPtr;
IOobject CIO
(
"C",