mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Taken out mesh flux from the hEqn for Solid to Gas reactions
This commit is contained in:
@ -335,6 +335,10 @@ void reactingOneDim::solveEnergy()
|
|||||||
hEqn += fvc::div(phiQr);
|
hEqn += fvc::div(phiQr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* NOTE: The moving mesh option is only correct for reaction such as
|
||||||
|
Solid -> Gas, thus the ddt term is compesated exaclty by chemistrySh and
|
||||||
|
the mesh flux is not necessary.
|
||||||
|
|
||||||
if (regionMesh().moving())
|
if (regionMesh().moving())
|
||||||
{
|
{
|
||||||
surfaceScalarField phihMesh
|
surfaceScalarField phihMesh
|
||||||
@ -344,7 +348,7 @@ void reactingOneDim::solveEnergy()
|
|||||||
|
|
||||||
hEqn -= fvc::div(phihMesh);
|
hEqn -= fvc::div(phihMesh);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
hEqn.relax();
|
hEqn.relax();
|
||||||
hEqn.solve();
|
hEqn.solve();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user