CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   face loop (https://www.cfd-online.com/Forums/fluent/163182-face-loop.html)

alian November 24, 2015 11:57

face loop
 
hello every body.. I have a few questions and I wish some one could help me here
First:: begin, end_f_loop and begin, end_c_loop :: could be used in 2D or only in 3D simulation?? and what's the difference between them??
second:: while using (begin, end_f_loop and begin, end_c_loop) and using F_P(f t) or C_P(c t) the return should be pressure but is it the total pressure or what??
could I use (begin, end_f_loop and begin, end_c_loop) in serial or only in parallel processor ??
thanks in advance.

ghost82 November 24, 2015 13:47

You can use in 2d or 3d, serial or parallel. f stands for face, c stands for cell. The difference is the definition of cell and face in 2d and 3d. In 3d the cell is the 3d element, the face is a 2d element. In 2d the cell is bidimensional, the face is the side of the cell.
C_P (c, t) is the static pressure in cell c.

alian November 24, 2015 23:11

dear Daniele.. thanks for replay... is there any way to evaluate total pressure by UDF??

ghost82 November 26, 2015 05:18

Yes,
read this and understand what is total pressure:
http://www.cfd-online.com/Forums/flu...-pressure.html

Once you know the definition, you can write your custom code.

alian November 27, 2015 00:27

thanks for reply my friend :)


All times are GMT -4. The time now is 12:53.