CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   How to get pressure value in 'NEWXYZ' subrutine (https://www.cfd-online.com/Forums/siemens/55184-how-get-pressure-value-newxyz-subrutine.html)

Henry Huang March 3, 2006 03: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 07: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 05: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 13:33.