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:
@ -68,9 +68,14 @@ Foam::functionObjects::thermoCoupleProbes::thermoCoupleProbes
|
||||
|
||||
// Check if the property exist (resume old calculation)
|
||||
// or of it is new.
|
||||
if (!getProperty("Tc", Ttc_))
|
||||
dictionary probeDict;
|
||||
if (getDict(typeName, probeDict))
|
||||
{
|
||||
Ttc_ = probes::sample(thermo_.T());
|
||||
probeDict.lookup("Tc") >> Ttc_;
|
||||
}
|
||||
else
|
||||
{
|
||||
Ttc_ = probes::sample(thermo_.T());
|
||||
}
|
||||
|
||||
// Note: can only create the solver once all samples have been found
|
||||
|
||||
Reference in New Issue
Block a user