mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Changing init for thermocouple FO. Changing radiation.correct in fireFoam to allow
correct case re-start
This commit is contained in:
@ -9,7 +9,6 @@ tmp<fv::convectionScheme<scalar>> mvConvection
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
{
|
{
|
||||||
radiation->correct();
|
|
||||||
combustion->correct();
|
combustion->correct();
|
||||||
dQ = combustion->dQ();
|
dQ = combustion->dQ();
|
||||||
volScalarField Yt(0.0*Y[0]);
|
volScalarField Yt(0.0*Y[0]);
|
||||||
@ -48,6 +47,8 @@ tmp<fv::convectionScheme<scalar>> mvConvection
|
|||||||
Y[inertIndex] = scalar(1) - Yt;
|
Y[inertIndex] = scalar(1) - Yt;
|
||||||
Y[inertIndex].max(0.0);
|
Y[inertIndex].max(0.0);
|
||||||
|
|
||||||
|
radiation->correct();
|
||||||
|
|
||||||
volScalarField& he = thermo.he();
|
volScalarField& he = thermo.he();
|
||||||
|
|
||||||
fvScalarMatrix EEqn
|
fvScalarMatrix EEqn
|
||||||
|
|||||||
@ -68,7 +68,12 @@ Foam::functionObjects::thermoCoupleProbes::thermoCoupleProbes
|
|||||||
|
|
||||||
// Check if the property exist (resume old calculation)
|
// Check if the property exist (resume old calculation)
|
||||||
// or of it is new.
|
// or of it is new.
|
||||||
if (!getProperty("Tc", Ttc_))
|
dictionary probeDict;
|
||||||
|
if (getDict(typeName, probeDict))
|
||||||
|
{
|
||||||
|
probeDict.lookup("Tc") >> Ttc_;
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
Ttc_ = probes::sample(thermo_.T());
|
Ttc_ = probes::sample(thermo_.T());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user