CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   posdat user coding (http://www.cfd-online.com/Forums/cd-adapco/56780-posdat-user-coding.html)

Sara September 1, 2008 10:37

posdat user coding
 
Hi. I want to use a subroutine to print pressure and velocity at the end of the simulation at inlet veticies but don't know how to do that. Does anyone can help me? I have problems with the code.


hirokata September 16, 2008 17:46

Re: posdat user coding
 
Hi Sara,

Try using 'call FsetBoun' macro in posdat.f, if using v4.06. You can get the inlet boundary faces and obtain pressure and velocity with those face id's. For more info, you can refer to Supplementary Notes.

hirokata

Sara September 17, 2008 16:02

Re: posdat user coding
 
thanks for your answer but I'm using v3.26 and I don't find FsetBoun. Thank you again.

Paulh September 18, 2008 13:59

Re: posdat user coding
 
Across faces, you can use an internal boundary. After its creation, you can go to 'Monitor Boundary Behavior' and set up a monitor that will export your data per iteration.


All times are GMT -4. The time now is 22:38.