CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   polynomialTransport & hPolynomialThermo (http://www.cfd-online.com/Forums/openfoam-solving/108289-polynomialtransport-hpolynomialthermo.html)

GRAUPS October 18, 2012 13:39

polynomialTransport & hPolynomialThermo
 
I've seen the following post related to this...

http://www.cfd-online.com/Forums/ope...erties-ii.html

... but I was wondering if polynomialTransport & hPolynomialThermo have been implemented since so that they can used together with the ideal gas law for density? Or am I stuck trying to modify solvers and such as in the above post? If someone has an example where they successfully implemented polynomialTransport & hPolynomialThermo with the ideal gas law for density and wouldn't mind sharing, it would be much appreciated. Thanks!

novakm October 3, 2013 07:50

Quote:

Originally Posted by GRAUPS (Post 387369)
I've seen the following post related to this...

http://www.cfd-online.com/Forums/ope...erties-ii.html

... but I was wondering if polynomialTransport & hPolynomialThermo have been implemented since so that they can used together with the ideal gas law for density? Or am I stuck trying to modify solvers and such as in the above post? If someone has an example where they successfully implemented polynomialTransport & hPolynomialThermo with the ideal gas law for density and wouldn't mind sharing, it would be much appreciated. Thanks!

Hi Brock.

Did you succeeded in using of the polynomialTransport together with hPolynomiaThermo?

I am facing the same issue. I have requested this combination on openfoam.org and the result was that I must do it by my own. I am quite new to Openfoam, therefore I ask for any help.

Best Regards

Martin

GRAUPS October 4, 2013 16:09

Martin,

No, I did not have success in solving this issue. I just installed OF 2.2.1 though and haven't specifically looked to see if this was added yet. I'll let you know if I find anything.

Brock

novakm October 5, 2013 07:50

Quote:

Originally Posted by GRAUPS (Post 455113)
Martin,

No, I did not have success in solving this issue. I just installed OF 2.2.1 though and haven't specifically looked to see if this was added yet. I'll let you know if I find anything.

Brock

I ve figured it out. It quite easy (after some digging). It is needed to add the model to psiThermos.H and recompile.

BR

Martin

GRAUPS October 5, 2013 10:33

Quote:

Originally Posted by novakm (Post 455198)
I ve figured it out. It quite easy (after some digging). It is needed to add the model to psiThermos.H and recompile.

BR

Martin

Martin,

This is good news! Could you please give a more detailed explanation of the steps you took to accomplish this? Or point me to where you found instructions? Also, what OpenFOAM version are you currently using?

I look forward to hearing from you!

Brock

novakm October 5, 2013 12:18

Quote:

Originally Posted by GRAUPS (Post 455224)
Martin,

This is good news! Could you please give a more detailed explanation of the steps you took to accomplish this? Or point me to where you found instructions? Also, what OpenFOAM version are you currently using?

I look forward to hearing from you!

Brock

It is easy. The models can be combined arbitrary. Lets say that your thermo is hePsiThermo. This thermo is based on psiThermo. The combinations of models are therefore placed in psiThermos.*. So in terminal use something like <find . -name "psiThermos.*">. Open this file and I believe that the rest will be easy for you. (btw. dont forget to include polynomialTransport.H in the header of psiThermos)

Best regards

Martin


All times are GMT -4. The time now is 09:36.