mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
temperatureThermoBaffle1DFvPatchScalarField: Corrected IO of equation of state
This commit is contained in:
@ -68,7 +68,7 @@ class temperatureThermoBaffle1DFvPatchScalarField
|
||||
dictionary transportDict_;
|
||||
dictionary radiationDict_;
|
||||
dictionary thermoDict_;
|
||||
dictionary densityDict_;
|
||||
dictionary eosDict_;
|
||||
|
||||
|
||||
public:
|
||||
@ -81,7 +81,7 @@ class temperatureThermoBaffle1DFvPatchScalarField
|
||||
transportDict_(dict.subDict("transport")),
|
||||
radiationDict_(dict.subDict("radiation")),
|
||||
thermoDict_(dict.subDict("thermodynamics")),
|
||||
densityDict_(dict.subDict("equationOfState"))
|
||||
eosDict_(dict.subDict("equationOfState"))
|
||||
{}
|
||||
|
||||
|
||||
@ -93,7 +93,7 @@ class temperatureThermoBaffle1DFvPatchScalarField
|
||||
transportDict_(),
|
||||
radiationDict_(),
|
||||
thermoDict_(),
|
||||
densityDict_()
|
||||
eosDict_()
|
||||
{}
|
||||
|
||||
|
||||
@ -114,11 +114,10 @@ class temperatureThermoBaffle1DFvPatchScalarField
|
||||
os << radiationDict_ << nl;
|
||||
os.writeKeyword("thermodynamics");
|
||||
os << thermoDict_ << nl;
|
||||
os.writeKeyword("density");
|
||||
os << densityDict_ << nl;
|
||||
os.writeKeyword("equationOfState");
|
||||
os << eosDict_ << nl;
|
||||
}
|
||||
|
||||
|
||||
scalar kappa(const scalar T) const
|
||||
{
|
||||
return solidPtr_().kappa(T);
|
||||
|
||||
Reference in New Issue
Block a user