CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Phoenics (http://www.cfd-online.com/Forums/phoenics/)
-   -   why i can not provide a storage for EP (http://www.cfd-online.com/Forums/phoenics/51268-why-i-can-not-provide-storage-ep.html)

dong liu October 3, 2001 16:54

why i can not provide a storage for EP
 
Hi, all

I tried to use Renolds stress model to simulate a 2-d turbulent flow,but when I ran it in phoenics,it always gave me a error messgae and can not continue.

In result file, the variable EP can not be stroed,but I set it to be stored in Q1 file.Does anybody know why it happened and how to resolve this problem. Thanks.

blow is the result message that told me the EP can not be stored.

--- INTEGRATION OF EQUATIONS BEGINS ---

Unknown l0f argument in namsub = FNSKIN & namfun = No storage is provided for the variable inslab = T indvar = 13 igr = 13 isc = 3 isweep = 1 istep = 1 izstep = 1 l0f = 1243712 k = 0 igsh = 0

Variables with storage are: name, indvar, l0f P1 1 282520 name, indvar, l0f U1 3 285080 name, indvar, l0f V1 5 287640 name, indvar, l0f W1 7 290200 name, indvar, l0f KE 12 292760 name, indvar, l0f EP 13 295320 name, indvar, l0f NPOR 141 297880 name, indvar, l0f U2RS 142 300440 name, indvar, l0f V2RS 143 303000 name, indvar, l0f W2RS 144 305560 name, indvar, l0f UVRS 145 308120 name, indvar, l0f UWRS 146 310680 name, indvar, l0f VWRS 147 313240 name, indvar, l0f LEN1 148 315800 name, indvar, l0f ENUT 149 318360 name, indvar, l0f PRPS 150 320920 Other L0F values are ... phase 1 density 213400 phase 2 density 0 laminar viscosity 169880 total viscosity 318360 phase 1 temperature 0 phase 2 temperature 0 phase 1 length 315800 phase 2 length 0 inter-phase mass transfer 0 interphase friction 0 phase 1 specific heat 0 phase 2 specific heat 0

Kike October 4, 2001 03:41

Re: why i can not provide a storage for EP
 
Dear IDong

The error message you have is due to you haven't declared as stored a variable used by the subroutine FNSKIN.

The code had found a non valid varibale name assigned to the LOF function and it is not EP. As you can see, EP has its LOF value.

When you activate special purpose subroutines you should add some special lines into the Q1 to store or solve some new variables and sometimes to calculate model's parameters.

You should read carefully POLIS information about model activation (http://www.cham.co.uk/phoenics/d_pol...d/enc_tu41.htm) and insert the proper lines into the Q1 or Q2 file.

Have you did this already? If yes, then we can go on by checking into your fortran files, but if not I recommend you to read it before start calculations.

As a hint, check if you had declared EP as "STOREd varibale" --after-- the insertion of the lines for Reynolds Stress model activation (TURMOD). If so, then you had deactivated the solution of EP, nesscesary for the model implementation, and, according your error message, the subroutine FNSKIN is trying to add a source term (Group 13 Section 13) to an unsolved variable. Eliminate the line STORE(EP) and keep the activation line TURMOD(REYSTRS,DTFS,...).

I hope it helps you, but I insist, read POLIS it is quite usefull.

Regards

Kike


All times are GMT -4. The time now is 03:59.