mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fireFoam: New additional controls switch "solvePyrolysisRegion"
provides optional control for solving the pyrolysis region. Patch contributed by Karl Meredith, FMGlobal.
This commit is contained in:
@ -121,6 +121,11 @@ Switch solvePrimaryRegion
|
|||||||
additionalControlsDict.lookup("solvePrimaryRegion")
|
additionalControlsDict.lookup("solvePrimaryRegion")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Switch solvePyrolysisRegion
|
||||||
|
(
|
||||||
|
additionalControlsDict.lookupOrDefault<bool>("solvePyrolysisRegion", true)
|
||||||
|
);
|
||||||
|
|
||||||
volScalarField dQ
|
volScalarField dQ
|
||||||
(
|
(
|
||||||
IOobject
|
IOobject
|
||||||
|
|||||||
@ -87,7 +87,10 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
surfaceFilm.evolve();
|
surfaceFilm.evolve();
|
||||||
|
|
||||||
pyrolysis.evolve();
|
if(solvePyrolysisRegion)
|
||||||
|
{
|
||||||
|
pyrolysis.evolve();
|
||||||
|
}
|
||||||
|
|
||||||
if (solvePrimaryRegion)
|
if (solvePrimaryRegion)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user