how to re-denfine the enthalpy

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

 November 9, 2009, 01:11 how to re-denfine the enthalpy #1 New Member   patrick Join Date: Apr 2009 Posts: 14 Rep Power: 9 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.

 November 10, 2009, 04:55 #2 New Member   patrick Join Date: Apr 2009 Posts: 14 Rep Power: 9 hope someone can give me some words still

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post Tomik FLUENT 2 March 9, 2006 16:39 Atit Koonsrisuk CFX 2 December 19, 2005 03:33 mspark CD-adapco 1 April 1, 2004 06:20 BK CD-adapco 2 March 3, 2004 22:29 Martin FLUENT 1 January 25, 2001 18:11

All times are GMT -4. The time now is 01:47.