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