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!
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.
|All times are GMT -4. The time now is 03:30.|