CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

how to re-denfine the enthalpy

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

Like Tree1Likes
  • 1 Post By hunter

Reply
 
LinkBack Thread Tools Display Modes
Old   November 9, 2009, 01:11
Default how to re-denfine the enthalpy
  #1
New Member
 
patrick
Join Date: Apr 2009
Posts: 14
Rep Power: 8
hunter is on a distinguished road
i am simulating a cryogenic liquid boiling. how to assign the enthalpy? the reference temperature is 298.15. can i set the enthalpy with adjust? hope someone can give me some words, thank you

DEFINE_ADJUST(m_dot_adjust, domain)
{cell_t cell;
Thread *mix_th,*pri_th ,*sec_th;
Domain *d;
d=Get_Domain(1);
thread_loop_c(mix_th,d)
{pri_th= THREAD_SUB_THREAD(mix_th, 0);
sec_th= THREAD_SUB_THREAD(mix_th, 1);
begin_c_loop(cell,mix_th)
{ C_UDMI(cell,pri_th,12)=C_H(cell,pri_th);
C_UDMI(cell,sec_th,13)=C_H(cell,sec_th);
C_UDMI(cell,pri_th,14)=C_CP(cell,pri_th);
C_UDMI(cell,pri_th,15)=C_T(cell,pri_th);
C_UDMI(cell,pri_th,16)=C_CP(cell,pri_)*(Cth_T(cell ,pri_th)-T_ref)+9901;
C_H(cell,pri_th)=C_UDMI(cell,pri_th,17);
C_UDMI(cell,sec_th,18)=C_CP(cell,sec_th);
C_UDMI(cell,sec_th,19)=C_T(cell,sec_th);
C_UDMI(cell,sec_th,20)=C_CP(cell,sec_th)*(C_T(cell ,sec_th)-T_ref)+30740;
C_H(cell,sec_th)= C_UDMI(cell,sec_th,21);
...
..
..
...
...
ddmdddghj likes this.
hunter is offline   Reply With Quote

Old   November 10, 2009, 04:55
Default
  #2
New Member
 
patrick
Join Date: Apr 2009
Posts: 14
Rep Power: 8
hunter is on a distinguished road
hope someone can give me some words still
hunter 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
derivation enthalpy Tomik FLUENT 2 March 9, 2006 16:39
no enthalpy change across the momentum source Atit Koonsrisuk CFX 2 December 19, 2005 03:33
meaning static enthalpy and total enthalpy mspark CD-adapco 1 April 1, 2004 06:20
Stagnation enthalpy vs. static enthalpy? BK CD-adapco 2 March 3, 2004 22:29
Energy equation and Enthalpy Martin FLUENT 1 January 25, 2001 18:11


All times are GMT -4. The time now is 11:08.