Adding fireCompartment tutorial for new pyrolysis thermo, thermocouple FO and EDC combustion model

This commit is contained in:
sergio
2016-11-21 07:36:05 -08:00
parent c659d99368
commit ab40ddaaf3
11 changed files with 36 additions and 40 deletions

View File

@ -67,9 +67,9 @@ Foam::functionObjects::thermoCoupleProbes::thermoCoupleProbes
}
// Check if the property exist (resume old calculation)
// or of it is new
// or of it is new.
dictionary probeDict;
if (getDict(name, probeDict))
if (getDict(typeName, probeDict))
{
probeDict.lookup("Tc") >> Ttc_;
}
@ -172,7 +172,7 @@ bool Foam::functionObjects::thermoCoupleProbes::write()
dictionary probeDict;
probeDict.add("Tc", Ttc_);
setProperty(name(), probeDict);
setProperty(typeName, probeDict);
return true;
}