# how to set the density

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

 January 11, 2003, 05:01 how to set the density #1 xqy Guest   Posts: n/a Hi all how to set the flow density when it comes to the energy equation, because in my problem, the density of the energy equation is different from density in the momentum equation of the convertive term. so when comes to solve the energy equation, it need change the flow density to suitable one. can anybody tell me how to set it in PHOENICS. thanks in advance

 January 14, 2003, 13:09 Re: how to set the density #2 cham Guest   Posts: n/a Set UCONV=T to access and modify the convection terms directly for the energy equation in Group 8 of GROUND. If you are solving for energy in terms of H1, then you will probably need to set UDIFF=T as well so as to access and modify the diffusion terms for H1 in Group 8 of GROUND.

 January 16, 2003, 02:53 Re: how to set the density #3 xqy Guest   Posts: n/a Can you provide me an example about how to set it? I didn't know how to set it in ground yet. if possible, please mail me at xingqiuyuan@yahoo.com.cn thanks in advance.

 January 20, 2003, 07:06 Re: how to set the density #4 cham Guest   Posts: n/a In the Q1 file set UCONV=T. In Group 8 Section 8 of GROUND you will need to introduce logic along the lines: if(indvar.eq.h1) then if(ndirec.eq.6) then c... modify low convection coefficients for h1 c... which are defined by the index LD2 else if(ndirec.eq.5) then c... modify high convection coefficients for h1 c... which are defined by the index LD2 else if(ndirec.eq.3) then c... modify east/west convection coefficients for h1 c which are defined by the indices LD11 (east) c and LD12 (west) else if(ndirec.eq.1) then c... modify north/south convection coefficients for h1 c which are defined by the indices LD11 (north) c and LD12 (south) endif endif In each of the above sections you will need to scale the prevailing convection coefficients (stored in LD11, etc) with the appropriate density ratio and then then set the modified coefficients in LD11, etc. For an example of such coding, look at the file c:\phoenics\d_earth\d_core\gxconvec.for.

 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 ato FLUENT 0 March 11, 2008 08:17 jaichan Main CFD Forum 0 April 2, 2006 18:45 George Main CFD Forum 1 January 5, 2005 13:07 j Main CFD Forum 2 May 22, 2003 09:42 j Siemens 0 May 21, 2003 05:12

All times are GMT -4. The time now is 00:41.