|
[Sponsors] |
November 9, 2009, 00:11 |
how to re-denfine the enthalpy
|
#1 |
New Member
patrick
Join Date: Apr 2009
Posts: 14
Rep Power: 17 |
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); ... .. .. ... ... |
|
November 10, 2009, 03:55 |
|
#2 |
New Member
patrick
Join Date: Apr 2009
Posts: 14
Rep Power: 17 |
hope someone can give me some words still
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
derivation enthalpy | Tomik | FLUENT | 2 | March 9, 2006 15:39 |
no enthalpy change across the momentum source | Atit Koonsrisuk | CFX | 2 | December 19, 2005 02:33 |
meaning static enthalpy and total enthalpy | mspark | Siemens | 1 | April 1, 2004 06:20 |
Stagnation enthalpy vs. static enthalpy? | BK | Siemens | 2 | March 3, 2004 21:29 |
Energy equation and Enthalpy | Martin | FLUENT | 1 | January 25, 2001 17:11 |