|
[Sponsors] |
June 1, 2015, 10:13 |
write enthalpy
|
#1 |
New Member
Caro
Join Date: Jul 2014
Posts: 15
Rep Power: 12 |
Hello,
I'm trying to write out the enthalpy at each timestep. since I chose sensible enthalpy in the thermophysicalProperties file "he" that is used for the energy equation should be the enthalpy. I tried adding Code:
volScalarField he ( IOobject ( "he", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), thermo.he() ); But the "he" that is written out is not changing from one timestep to the next although it should. Does anyone know what I'm doing wrong and can point me in the right direction? Thanks, Caro |
|
November 25, 2019, 10:33 |
|
#2 |
New Member
Join Date: Jan 2017
Posts: 22
Rep Power: 9 |
Any answer on that?
|
|
November 25, 2019, 10:51 |
|
#3 |
New Member
Join Date: Jan 2017
Posts: 22
Rep Power: 9 |
Just define sensibleEnthalpy in thremophysicalProperties and use:
thermo.he().write(); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 14:06 |
Sensible Enthalpy vs. Total enthalpy | Sethi | OpenFOAM Programming & Development | 3 | March 23, 2017 22:48 |
[Helyx OS] Helyx-OS (GUI for SnappyHexMesh | elvis | OpenFOAM Community Contributions | 210 | January 30, 2017 19:57 |
implicit enthalpy method for phase change | libya81 | System Analysis | 0 | April 8, 2015 00:28 |
Enthalpy in a binary gas mixture | ChrisA | FLUENT | 0 | August 26, 2013 20:32 |