Skip to content
Snippets Groups Projects
Commit be5a9ad7 authored by andy's avatar andy
Browse files

BUG: correction to commit c8a5fe51

parent c8a5fe51
No related merge requests found
Showing
with 20 additions and 20 deletions
...@@ -66,14 +66,14 @@ void icoPolynomial<PolySize>::write(Ostream& os) const ...@@ -66,14 +66,14 @@ void icoPolynomial<PolySize>::write(Ostream& os) const
{ {
specie::write(os); specie::write(os);
dictionaryEntry dict("equationOfState"); dictionary dict("equationOfState");
dict.add dict.add
( (
word("rhoCoeffs<" + Foam::name(PolySize) + '>'), word("rhoCoeffs<" + Foam::name(PolySize) + '>'),
rhoCoeffs_/this->W() rhoCoeffs_/this->W()
); );
os << dict; os << dict.dictName() << nl << dict;
} }
......
...@@ -50,10 +50,10 @@ void Foam::incompressible::write(Ostream& os) const ...@@ -50,10 +50,10 @@ void Foam::incompressible::write(Ostream& os) const
{ {
specie::write(os); specie::write(os);
dictionaryEntry dict("equationOfState"); dictionary dict("equationOfState");
dict.add("rho", rho_); dict.add("rho", rho_);
os << dict; os << dict.dictName() << nl << dict;
} }
......
...@@ -63,10 +63,10 @@ Foam::specie::specie(const dictionary& dict) ...@@ -63,10 +63,10 @@ Foam::specie::specie(const dictionary& dict)
void Foam::specie::write(Ostream& os) const void Foam::specie::write(Ostream& os) const
{ {
dictionaryEntry dict("specie"); dictionary dict("specie");
dict.add("nMoles", nMoles_); dict.add("nMoles", nMoles_);
dict.add("molWeight", molWeight_); dict.add("molWeight", molWeight_);
os << dict; os << dict.dictName() << nl << dict;
} }
......
...@@ -55,10 +55,10 @@ void Foam::eConstThermo<EquationOfState>::write(Ostream& os) const ...@@ -55,10 +55,10 @@ void Foam::eConstThermo<EquationOfState>::write(Ostream& os) const
{ {
EquationOfState::write(os); EquationOfState::write(os);
dictionaryEntry dict("thermodynamics"); dictionary dict("thermodynamics");
dict.add("Cv", Cv_); dict.add("Cv", Cv_);
dict.add("Hf", Hf_); dict.add("Hf", Hf_);
os << dict; os << dict.dictName() << nl << dict;
} }
......
...@@ -55,10 +55,10 @@ void Foam::hConstThermo<equationOfState>::write(Ostream& os) const ...@@ -55,10 +55,10 @@ void Foam::hConstThermo<equationOfState>::write(Ostream& os) const
{ {
equationOfState::write(os); equationOfState::write(os);
dictionaryEntry dict("thermodynamics"); dictionary dict("thermodynamics");
dict.add("Cp", Cp_); dict.add("Cp", Cp_);
dict.add("Hf", Hf_); dict.add("Hf", Hf_);
os << dict; os << dict.dictName() << nl << dict;
} }
......
...@@ -100,7 +100,7 @@ void Foam::hPolynomialThermo<EquationOfState, PolySize>::write ...@@ -100,7 +100,7 @@ void Foam::hPolynomialThermo<EquationOfState, PolySize>::write
{ {
EquationOfState::write(os); EquationOfState::write(os);
dictionaryEntry dict("thermodynamics"); dictionary dict("thermodynamics");
dict.add("Hf", Hf_); dict.add("Hf", Hf_);
dict.add("Sf", Sf_); dict.add("Sf", Sf_);
dict.add dict.add
...@@ -108,7 +108,7 @@ void Foam::hPolynomialThermo<EquationOfState, PolySize>::write ...@@ -108,7 +108,7 @@ void Foam::hPolynomialThermo<EquationOfState, PolySize>::write
word("CpCoeffs<" + Foam::name(PolySize) + '>'), word("CpCoeffs<" + Foam::name(PolySize) + '>'),
CpCoeffs_/this->W() CpCoeffs_/this->W()
); );
os << dict; os << dict.dictName() << nl << dict;
} }
......
...@@ -102,13 +102,13 @@ void Foam::janafThermo<EquationOfState>::write(Ostream& os) const ...@@ -102,13 +102,13 @@ void Foam::janafThermo<EquationOfState>::write(Ostream& os) const
{ {
EquationOfState::write(os); EquationOfState::write(os);
dictionaryEntry dict("thermodynamics"); dictionary dict("thermodynamics");
dict.add("Tlow", Tlow_); dict.add("Tlow", Tlow_);
dict.add("Thigh", Thigh_); dict.add("Thigh", Thigh_);
dict.add("Tcommon", Tcommon_); dict.add("Tcommon", Tcommon_);
dict.add("highCpCoeffs", highCpCoeffs_); dict.add("highCpCoeffs", highCpCoeffs_);
dict.add("lowCpCoeffs", lowCpCoeffs_); dict.add("lowCpCoeffs", lowCpCoeffs_);
os << dict; os << dict.dictName() << nl << dict;
} }
......
...@@ -58,10 +58,10 @@ void Foam::constTransport<Thermo>::constTransport::write(Ostream& os) const ...@@ -58,10 +58,10 @@ void Foam::constTransport<Thermo>::constTransport::write(Ostream& os) const
Thermo::write(os); Thermo::write(os);
dictionaryEntry dict("transport"); dictionary dict("transport");
dict.add("mu", mu_); dict.add("mu", mu_);
dict.add("Pr", 1.0/rPr_); dict.add("Pr", 1.0/rPr_);
os << dict; os << dict.dictName() << nl << dict;
os << decrIndent << token::END_BLOCK << nl; os << decrIndent << token::END_BLOCK << nl;
} }
......
...@@ -77,7 +77,7 @@ void Foam::polynomialTransport<Thermo, PolySize>::write(Ostream& os) const ...@@ -77,7 +77,7 @@ void Foam::polynomialTransport<Thermo, PolySize>::write(Ostream& os) const
Thermo::write(os); Thermo::write(os);
dictionaryEntry dict("transport"); dictionary dict("transport");
dict.add dict.add
( (
word("muCoeffs<" + Foam::name(PolySize) + '>'), word("muCoeffs<" + Foam::name(PolySize) + '>'),
...@@ -88,7 +88,7 @@ void Foam::polynomialTransport<Thermo, PolySize>::write(Ostream& os) const ...@@ -88,7 +88,7 @@ void Foam::polynomialTransport<Thermo, PolySize>::write(Ostream& os) const
word("kappaCoeffs<" + Foam::name(PolySize) + '>'), word("kappaCoeffs<" + Foam::name(PolySize) + '>'),
kappaCoeffs_/this->W() kappaCoeffs_/this->W()
); );
os << dict; os << dict.dictName() << nl << dict;
os << decrIndent << token::END_BLOCK << nl; os << decrIndent << token::END_BLOCK << nl;
} }
......
...@@ -58,10 +58,10 @@ void Foam::sutherlandTransport<Thermo>::write(Ostream& os) const ...@@ -58,10 +58,10 @@ void Foam::sutherlandTransport<Thermo>::write(Ostream& os) const
Thermo::write(os); Thermo::write(os);
dictionaryEnrtry dict("transport"); dictionary dict("transport");
dict.add("As", As_); dict.add("As", As_);
dict.add("Ts", Ts_); dict.add("Ts", Ts_);
os << dict; os << dict.dictName() << nl << dict;
os << decrIndent << token::END_BLOCK << nl; os << decrIndent << token::END_BLOCK << nl;
} }
......
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