||September 12, 2013 04:46
Degree/size of polynomials for thermo and transport (OF 2.2)
I would like to have a variable density for water the only combination that allows that to me is:
Valid rhoThermo types are:
type mixture transport thermo equationOfState specie energy
heRhoThermo pureMixture polynomial hPolynomial icoPolynomial specie sensibleEnthalpy
heRhoThermo pureMixture polynomial hPolynomial icoPolynomial specie sensibleInternalEnergy
So I used the following combination:
That works fine if I define the polynomials like
CpCoeffs<8> ( 4200 0 0 0 0 0 0 0 ); //[J/kg/K]
But how would I define a different degree for a polynomial, e.g.
CpCoeffs<1> ( 4200 ); //[J/kg/K]
Since I do not need the accuracy, especially for cp and I think the poly evaluation eats up a lot of time.