|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Apr 2023
Posts: 17
Rep Power: 4 ![]() |
Dear all,
I am stuck implementing a new thermodynamic model that includes a transport model (mu, kappa), an EOS and a thermodynamic model (Cp) from rhoThermo (OF8). On top of that, I am replacing the Newton-Raphson routine that calculates the temperature from the enthalpy by another method. My problem is, I am not able to figure out how to modify the files (and which ones) that tell OF by which sub-models the new model is conformed. I also have some doubts about how I should compile it. So far, I am doing the following:
Finally, I compile the specie and basic folders. Compilation of the latter does not go through. Rather than posting the error message, I have these questions:
I found some thermo models in gitHub, but either they are for older versions, or do not include the specie folder. If I succeed, I am willing to write a tutorial and post it in the wiki, or in the place of your suggestion. I have attached rhoThermos.C (OF8), rhoThermos.C (OF7), plus the content of specie/include folder. I am sorry if this kind of modification is very basic. I am not very familiar with either OF directory structure or C++. Thanks in advance for your help
Last edited by elBombastico; April 25, 2023 at 05:47. Reason: Missing a couple links |
|
|
|
|
|
![]() |
| Tags |
| openfoam 8, thermo library, thermophysical model |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Table bounds warnings at: END OF TIME STEP | CFXer | CFX | 4 | July 17, 2020 00:44 |
| interFoam wave propagation and explosion of Courant number and residuals | ChiaraViola | OpenFOAM Running, Solving & CFD | 1 | June 26, 2019 06:36 |
| compressible thermophysical model for water | skuznet | OpenFOAM Running, Solving & CFD | 2 | January 8, 2014 10:11 |
| adding thermophysical model to conjugateHeatFoam | helmut | OpenFOAM Programming & Development | 1 | December 8, 2011 11:22 |
| adding IAPWS thermophysical model undefined reference error | abcdef123 | OpenFOAM Programming & Development | 1 | October 23, 2011 11:07 |