0

modify output flowdata.tect

Dear all, 

I 'm using EOS1 with TOUGHREACT V4.13omp and I would like to modify the source code to output in the flowdata.tec file the density of the different phases with their specific internal energy for each grid element.

 

Does anybody know how to do that?

 

Thanks,

 

Pierre

1 reply

null
    • TOUGHREACT Developer
    • Eric_Sonnenthal
    • 6 mths ago
    • Reported - view

    Hi Pierre, It should be pretty straightforward since the specific energy is the heat capacity of the phase  x the fraction of the phase (solid, liquid, or gas) x density of the phase. For examole the fraction of gas is porosity x Sgas. All these variable arrays are stored in common blocks and can be written out as extra columns in flowdata.tec which  is written out in the OUT routine in the EOS1 source routine.

    Eric

Content aside

  • 6 mths agoLast active
  • 1Replies
  • 13Views
  • 2 Following