CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

hPolynomial increase the polysize

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2024, 10:54
Smile hPolynomial increase the polysize
  #1
New Member
 
Matteo Dainese
Join Date: Jul 2024
Posts: 2
Rep Power: 0
DinoFox00 is on a distinguished road
Hello everyone,

I’m new to this forum and I’m happy to join.

I’m currently working on a CFD project for my master’s thesis in chemical engineering, which involves simulating a pressurized hydrogen release from a small hole in an open environment. I’m using OF v.11 and the multicomponentFluid solver. Unfortunately, I’m stuck on setting up the thermoType. I’m using the following setup:

thermoType
{
type hePsiThermo;
mixture multicomponentMixture;
transport sutherland;
thermo hPolynomial;
equationOfState perfectGas;
specie specie;
energy sensibleInternalEnergy;

}

The problem is then setting up the hPolynomial because my simulation spans a wide temperature range, even below 250K, so I can’t use the Janaf data. I’ve constructed a 13th-degree polynomial that accurately represents Cp from 50 to 1500K, but with hPolynomial, it seems possible to input a polynomial of only up to degree 8. How can I increase the polynomial size?

I can also share the polynomials coefficients for O2, H2, and N2 if someone would like to use it.

Thanks to everyone
DinoFox00 is offline   Reply With Quote

Reply

Tags
hpolynomial, hpolynomialthermo, openfoam 11, thermodynamic data


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] SHM does not snap if I increase cells in blockMesh or increase maxNumbercells in SHM Aarib OpenFOAM Meshing & Mesh Conversion 1 January 30, 2024 02:28
Fluent meshing: increase the max octree memory Ames FLUENT 1 November 9, 2021 09:58
Increase in flow rate decrease in Outlet pressure. trovilb1 System Analysis 1 December 5, 2017 08:22
Extremely Small Constant Increase of Heat Transfer Coefficient With Concentration Shomaz ul Haq CFX 6 July 9, 2017 09:06
How can I increase Heat Transfer at Domain Interf? B.Simon CFX 3 October 28, 2008 19:53


All times are GMT -4. The time now is 22:06.