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

Another question. pls Help me!

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 16, 2004, 04:43
Default Another question. pls Help me!
  #1
luckyluke
Guest
 
Posts: n/a
<1>The following codes are copied from Ground.for: ~~~~~~~~~~~~~~~~~~~~~``` IF(IGR.EQ.13) GO TO 13 IF(IGR.EQ.19) GO TO 19 ~~~~~~~~~~~~~~~~~~~~~~ What should be done to make the first condition (IGR.EQ.13),i.e. the Group 13 is accessed, satified? I set USEGRD=T in Q1 file.

<2>The modification in Q1 file will be resumed after the earth is runed. Why?
  Reply With Quote

Old   December 16, 2004, 09:13
Default Re: Another question. pls Help me!
  #2
A User
Guest
 
Posts: n/a
1) If usegrd=t, then group 19 will always be accessible, but group 13 will only be accessed if CO=GRND or VAL=GRND for the dependent variable in question, ie in the Q1 file (or via the VR Editor GUI) define a patch (via user-defined object in the VR Editor) to specify the spatial and temporal location of the source or boundary-condition region. Then define the COVAL for the required variable, eg. COVAL(patch_name,V1,GRND,GRND) means that for the patch named "patch_name", group 13 of GROUND will be visited for V1 so that the PHOENICS CFD solver can access the user-set values of CO and VAL in the source term S=T*CO*(VAL-V1) where T is the patch type (namely volume, cell, east area or whatever). Thus, in Group 13 of GROUND you will to introduce the appropriate logic in the Co and VAL sections of GROUND, such as for example in the CO section to define CO=1.5*abs(V1), the user codes:

IF(NPATCH.EQ.'patch_name) THEN

IF(INDVAR.EQ.V1) THEN

L0CO=L0F(CO)

L0V1=L0F(V1)

DO J=1,NXNY

F(L0CO+J)=1.5*ABS(F(L0V1+J)

ENDDO

ENDIF

ENDIF

2) Don't understand the question.
  Reply With Quote

Old   December 16, 2004, 10:35
Default You are a user in CHAM
  #3
A USER
Guest
 
Posts: n/a
  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
C question kar OpenFOAM Running, Solving & CFD 26 May 20, 2008 06:05
Question concerning VOF Flora FLUENT 2 July 9, 2007 09:50
question about LES gino briganti FLUENT 3 June 27, 2005 06:05
The question about Y+ rambol CFX 2 November 7, 2002 10:40
Another UDF question Christian FLUENT 7 July 23, 2002 04:19


All times are GMT -4. The time now is 16:42.