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

variable

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2001, 22:46
Default variable
  #1
dahuilang
Guest
 
Posts: n/a
Hello everyone:

1.(1).The following codes is at the beginning of Q1 file from certain lecture. (2).the lecture is about the gas/particle flow simulation in the riser of CFB. (3).The writter used personal(his own) ground file.

2.the code is: NODEF=T

Declarations CHAR(ASK,ANS,CLS,PAUSE,UNIGRID) CHAR(SPELL,EXPRT,EQUALVEL,SOLIDMAT,FLUIDMAT,USE_PR OPS,IMMERSOL,MFM) CHAR(GENTRA,SOLVEL,SOLTEM,GRAVITY,SOLSTR,ASLP0,FLU ID,CPVNAM,SPPNAM) char(solvetem) Settings ASK=Y;ANS=N;solvetem=n;EQUALVEL=$W100;PAUSE=$13;UN IGRID=$50 SPELL=$20; CLS=$21; EXPRT=$30; SOLIDMAT=$70; FLUIDMAT=$71 USE_PROPS=$72; SOLVEL=$73; IMMERSOL=$R001; MFM=$L099 GENTRA=$G001; GRAVITY=$74; SOLSTR=$S001; SOLTEM=$51; ASLP0=$P030 FLUID=FIINIT(PRPS) NODEF=F LIBREF=14

3.I think the code above is something user-defined,but what should i do to add them into PHOENICS and use them?

4.look forward to your help! Thanks a lot in advance!

regards

dahuilang
  Reply With Quote

Old   September 24, 2001, 04:22
Default Re: variable
  #2
Kike
Guest
 
Posts: n/a
Dear Dahui Lang

What you should do is to know what does those variables mean into the Q1 file?

Are there any comments? Are those values assigned to any GROUND array (ie. IG, LG, RG, CH) or variable?

Those variables could mean anything, even as SATELLITE user-defined variables, not only GROUND's. Although, some variable names usually used by PHOENICS can be identified into the list: ASK, ANS, IMMERSOL, SPPNAM.

This is the main iteration cicle I recommnend you to follow: (a)Read the "lecture" again and try to understand what is been doing in calculations. (b)Try to analyse the GROUND code to see what the author did in each Group and Section, according what you had understood. (c)Go back to the Q1 file and check for the proper PIL commnads which activate the GROUND procedures.

The minimum number of iterations should be equal to the number of unknown variables in Q1.

Good luck

Kike
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
RP_Set_Real("variable-name", variable name) bohis FLUENT 1 March 9, 2009 08:44
My own variable Maurice CFX 1 June 12, 2007 04:48
a udf for new variable Asghari FLUENT 2 July 14, 2006 02:15
value of variable!! Thiyagarajandhayalan FLUENT 2 May 23, 2006 06:13
inner variable Sas Main CFD Forum 0 February 22, 2006 00:55


All times are GMT -4. The time now is 09:34.