CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Phoenics (
-   -   the order of GROUND calling (

Noel August 27, 2008 11:10

the order of GROUND calling
Dear all,

Suppose I have the following setting in Q1 Group-13 :




Which one will the EARTH call first via GROUND ? Is it the CO of U2 ?

Does the order of setting (for the same group and section) in Q1 matter in GROUND ?



mike August 29, 2008 10:13

Re: the order of GROUND calling
The solution order is U1 and then U2, and so I believe that the CO of U1 will be processed first by the PHOENICS CFD solution algorithm.

Noel August 30, 2008 12:26

Re: the order of GROUND calling
Thank's a lot, Mike.

If I set the COVAL of many main conserved variables (P1,U1,U2,V1,V2,R1,R2,H1,H2,C1,C2,...), how is the order of GROUND ?

Sometimes I need to update the value of an array to be used by the COVAL of all those variables. What I have in mind is, updating the array in the COVAl of the first variable accessed by the Group 13 of GROUND.

Jalil Ouazzani September 1, 2008 11:31

Re: the order of GROUND calling
You can find out the order also by putting a write statement in ground.for (in group 13 , CO (GRND)) and using the variable Indvar (You can do this only for one sweep) open(Unit=500, status='unknown',file='order.txt') IF(INDVAR.EQ.U1)Then write(500,*)'U1' ENDIF IF(INDVAR.EQ.U2)then write(500,*)'U2' ENDIF IF(INDVAR.EQ.ITEM1)then write(500,*)'ITEM1' ENDIF

etc... then you inspect the file created order.txt and see in which order each variable is appearing

All times are GMT -4. The time now is 12:37.