diff --git a/applications/solvers/lagrangian/coalChemistryFoam/createFields.H b/applications/solvers/lagrangian/coalChemistryFoam/createFields.H index faf324fee108df509df0c88a54515afdd1468108..bba39fe8627d330b08eab8f586835fbe37449e39 100644 --- a/applications/solvers/lagrangian/coalChemistryFoam/createFields.H +++ b/applications/solvers/lagrangian/coalChemistryFoam/createFields.H @@ -113,8 +113,11 @@ ); Info<< "Creating field DpDt\n" << endl; - volScalarField DpDt = - fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p); + volScalarField DpDt + ( + "DpDt", + fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p) + ); Info<< "\nConstructing explicit enthalpy cell source" << endl; timeActivatedExplicitCellSource enthalpySource diff --git a/applications/solvers/lagrangian/reactingParcelFoam/createFields.H b/applications/solvers/lagrangian/reactingParcelFoam/createFields.H index cad1330c68da749ecefa26e80375ef7d43e6ca25..ec820fa5e364dcc3a56781d08bf9ac2dc7925ad0 100644 --- a/applications/solvers/lagrangian/reactingParcelFoam/createFields.H +++ b/applications/solvers/lagrangian/reactingParcelFoam/createFields.H @@ -74,8 +74,11 @@ ); Info<< "Creating field DpDt\n" << endl; - volScalarField DpDt = - fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p); + volScalarField DpDt + ( + "DpDt", + fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p) + ); multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields; diff --git a/applications/solvers/lagrangian/trackedReactingParcelFoam/createFields.H b/applications/solvers/lagrangian/trackedReactingParcelFoam/createFields.H index 9668f9c9bec547ca128fd801e636a238c49b616a..da3cca5a5b935f9b7a0d76d66f03c785fdff8ecd 100644 --- a/applications/solvers/lagrangian/trackedReactingParcelFoam/createFields.H +++ b/applications/solvers/lagrangian/trackedReactingParcelFoam/createFields.H @@ -74,8 +74,11 @@ ); Info<< "Creating field DpDt\n" << endl; - volScalarField DpDt = - fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p); + volScalarField DpDt + ( + "DpDt", + fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p) + ); multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields;