# the order of GROUND calling

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

 August 27, 2008, 11:10 the order of GROUND calling #1 Noel Guest   Posts: n/a Dear all, Suppose I have the following setting in Q1 Group-13 : PATCH(ABC,PHASEM,1,NX,1,NY,1,1,1,1) COVAL(ABC,U2,GRND,0) COVAL(ABC,U1,GRND,0) 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 ? Thank's, Noel

 August 29, 2008, 10:13 Re: the order of GROUND calling #2 mike Guest   Posts: n/a 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.

 August 30, 2008, 12:26 Re: the order of GROUND calling #3 Noel Guest   Posts: n/a 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.

 September 1, 2008, 11:31 Re: the order of GROUND calling #4 Jalil Ouazzani Guest   Posts: n/a 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