Skip to content
Snippets Groups Projects
Commit c2edda49 authored by Henry's avatar Henry
Browse files

temperatureThermoBaffle1DFvPatchScalarField: Corrected IO of equation of state

parent ea9b8b9c
Branches
Tags
No related merge requests found
...@@ -68,7 +68,7 @@ class temperatureThermoBaffle1DFvPatchScalarField ...@@ -68,7 +68,7 @@ class temperatureThermoBaffle1DFvPatchScalarField
dictionary transportDict_; dictionary transportDict_;
dictionary radiationDict_; dictionary radiationDict_;
dictionary thermoDict_; dictionary thermoDict_;
dictionary densityDict_; dictionary eosDict_;
public: public:
...@@ -81,7 +81,7 @@ class temperatureThermoBaffle1DFvPatchScalarField ...@@ -81,7 +81,7 @@ class temperatureThermoBaffle1DFvPatchScalarField
transportDict_(dict.subDict("transport")), transportDict_(dict.subDict("transport")),
radiationDict_(dict.subDict("radiation")), radiationDict_(dict.subDict("radiation")),
thermoDict_(dict.subDict("thermodynamics")), thermoDict_(dict.subDict("thermodynamics")),
densityDict_(dict.subDict("equationOfState")) eosDict_(dict.subDict("equationOfState"))
{} {}
...@@ -93,7 +93,7 @@ class temperatureThermoBaffle1DFvPatchScalarField ...@@ -93,7 +93,7 @@ class temperatureThermoBaffle1DFvPatchScalarField
transportDict_(), transportDict_(),
radiationDict_(), radiationDict_(),
thermoDict_(), thermoDict_(),
densityDict_() eosDict_()
{} {}
...@@ -114,11 +114,10 @@ class temperatureThermoBaffle1DFvPatchScalarField ...@@ -114,11 +114,10 @@ class temperatureThermoBaffle1DFvPatchScalarField
os << radiationDict_ << nl; os << radiationDict_ << nl;
os.writeKeyword("thermodynamics"); os.writeKeyword("thermodynamics");
os << thermoDict_ << nl; os << thermoDict_ << nl;
os.writeKeyword("density"); os.writeKeyword("equationOfState");
os << densityDict_ << nl; os << eosDict_ << nl;
} }
scalar kappa(const scalar T) const scalar kappa(const scalar T) const
{ {
return solidPtr_().kappa(T); return solidPtr_().kappa(T);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment