mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Pyrolysis - updated handling for phiGas
This commit is contained in:
@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user