CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   How to visit P, U over a particular line in the domain? (https://www.cfd-online.com/Forums/openfoam/93718-how-visit-p-u-over-particular-line-domain.html)

xbchen168 October 24, 2011 23:26

How to visit P, U over a particular line in the domain?
 
Hi, I am new to OPENFOAM.

I want to update P, U, T, over a particular line inside the fluid domain, following a particular equation. I set the line as BAFFLE type. May I know how to update P, U, T over the BAFFLE after the fluid domain is solved? For example, T over the BAFFLE is a function of internal close cell P, U.

How to visit those internal cell U,P values around the BAFFLE cells?

Thanks for help.

nimasam October 25, 2011 04:43

a hint can be to define that particular line as thin wall! so you can apply those conditions as boundary condition with groovyBC utility !

look at here for groovyBC :
http://openfoamwiki.net/index.php/Contrib_groovyBC


All times are GMT -4. The time now is 04:19.