mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: icoReactingMultiPhaseInterFoam: thermo sharing T
This commit is contained in:
@ -26,6 +26,22 @@
|
||||
mesh
|
||||
);
|
||||
|
||||
// Note: construct T to be around before the thermos. The thermos will
|
||||
// not update T.
|
||||
Info<< "Reading field T\n" << endl;
|
||||
volScalarField T
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"T",
|
||||
runTime.timeName(),
|
||||
mesh,
|
||||
IOobject::MUST_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
mesh
|
||||
);
|
||||
|
||||
|
||||
Info<< "Calculating field g.h\n" << endl;
|
||||
#include "readGravitationalAcceleration.H"
|
||||
@ -45,6 +61,7 @@
|
||||
p_rgh
|
||||
);
|
||||
|
||||
|
||||
Info<< "Creating multiphaseSystem\n" << endl;
|
||||
autoPtr<multiphaseSystem> fluidPtr = multiphaseSystem::New(mesh);
|
||||
|
||||
@ -57,8 +74,6 @@
|
||||
}
|
||||
|
||||
|
||||
volScalarField& T = fluid.T();
|
||||
|
||||
// Need to store rho for ddt(rho, U)
|
||||
volScalarField rho
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user