CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Phoenics (https://www.cfd-online.com/Forums/phoenics/)
-   -   How to get coordinates information from q1 file (https://www.cfd-online.com/Forums/phoenics/51741-how-get-coordinates-information-q1-file.html)

Zeffiretto March 9, 2004 07:56

How to get coordinates information from q1 file
 
How to get coordinates(x,y,z) information from q1 file and use them in GXKNVST.for? Because I'm trying to revise a turbulent model by myself and there are some special initial values should be defined with the coordinates information.

Any suggestion is helpful.

Rami March 10, 2004 02:29

Re: How to get coordinates information from q1 fil
 
Zeffiretto,

In order to retrieve the Cartesian coordinates of cell corner (ix, iy, iz) within GROUND coding use the XC, YC, ZC as follows:

x = XC(ix, iy, iz)

y = YC(ix, iy, iz)

z = ZC(ix, iy, iz)


All times are GMT -4. The time now is 15:51.