CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   How to get pressure value in 'NEWXYZ' subrutine (http://www.cfd-online.com/Forums/cd-adapco/55184-how-get-pressure-value-newxyz-subrutine.html)

Henry Huang March 3, 2006 04:37

How to get pressure value in 'NEWXYZ' subrutine
 
I need to get pressure of vertex in the 'NEWXYZ' subroutine, and use this to caculate the vertex movement.But I don't know how to get the vertex's pressure value in the 'NEWXYZ' subroutine.Please help me!

thanks Henry

John Luo March 3, 2006 08:02

Re: How to get pressure value in 'NEWXYZ' subrutin
 
You can pass cell center pressure to newxyz through posdat.f: creat a common block of your own, say:

common/user1/puser(10000)

(you can change 10000 into any number of cells).

Then this common block can be moved to newxyz.

Similar you can calculate vertex pressure in posdat.


Henry Huang March 6, 2006 06:37

Re: How to get pressure value in 'NEWXYZ' subrutin
 
What is name of the varible which means vertex pressure in the posdat.f? thanks


All times are GMT -4. The time now is 20:27.