CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

write enthalpy

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 1, 2015, 09:13
Default write enthalpy
  #1
New Member
 
Caro
Join Date: Jul 2014
Posts: 8
Rep Power: 2
will_ca is on a distinguished road
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() 
     );
to the createFields.H file and recompiling.


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
will_ca is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Helyx-OS (GUI for SnappyHexMesh elvis OpenFOAM Native Meshers: snappyHexMesh and Others 176 July 10, 2015 16:50
implicit enthalpy method for phase change libya81 System Analysis 0 April 7, 2015 23:28
Enthalpy in a binary gas mixture ChrisA FLUENT 0 August 26, 2013 19:32
Sensible Enthalpy vs. Total enthalpy Sethi OpenFOAM Programming & Development 1 June 13, 2013 06:28
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 17, 2010 23:40


All times are GMT -4. The time now is 04:16.