CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   How to write a UDF of Viscous Resistance (https://www.cfd-online.com/Forums/fluent-udf/230850-how-write-udf-viscous-resistance.html)

lbj007 October 8, 2020 10:42

How to write a UDF of Viscous Resistance
 
I found this in udf manual,but I don't understand the difference between F_PROFILE and C_PROFILE,in which case need I use F_PROFILE/C_PROFILE?

http://cdn.img.headns.com/2010/4d2c73db2736d.png

AlexanderZ October 12, 2020 06:04

F_PROFILE defines variable on faces
C_PROFILE defines variables in the centers of finite volumes (cells)

lbj007 October 12, 2020 07:03

Quote:

Originally Posted by AlexanderZ (Post 785029)
F_PROFILE defines variable on faces
C_PROFILE defines variables in the centers of finite volumes (cells)

but shouldn't Viscous Resistance be the variable of cells? How could it be on faces?


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