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/)
-   -   Need help on a UDF to define flow (https://www.cfd-online.com/Forums/fluent-udf/121726-need-help-udf-define-flow.html)

Jess August 4, 2013 10:55

Need help on a UDF to define flow
 
Hey all,

This is my first time writing UDF for ANSYS,
my problem is a 2D problem with a valve.

im trying to calculate the forces and i have read through lots of posts.

people are suggesting different approaches to get the forces.

begin_f_loop(f,t)
{
F_AREA(A,f,t);
force = F_P(f,t) * NV_MAG(A);
}
end_f_loop(f,t)


or

Compute_Force_and_Moment ?

to get the forces in my case?

i need to calculate the force acting on the valve disc , inside the valve from the pressure. Then from the force i need the velocity.

Please, any advise would be appreciated.

Jess


All times are GMT -4. The time now is 01:33.