ENH: Pyrolysis - updated handling for phiGas

This commit is contained in:
andy
2012-12-04 17:05:29 +00:00
parent 2f1e96f0f7
commit e7d92199f3

View File

@ -251,15 +251,12 @@ void reactingOneDim::solveEnergy()
tmp<volScalarField> alpha(solidThermo_.alpha());
const surfaceScalarField phiGas(fvc::interpolate(phiHsGas_));
fvScalarMatrix hEqn
(
fvm::ddt(rho_, h_)
- fvm::laplacian(alpha, h_)
==
chemistrySh_
+ fvc::div(phiGas)
);
if (regionMesh().moving())
@ -334,7 +331,7 @@ reactingOneDim::reactingOneDim(const word& modelType, const fvMesh& mesh)
"phiGas",
time().timeName(),
regionMesh(),
IOobject::NO_READ,
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
regionMesh(),