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/)
-   -   velocity and forces (step by step) (https://www.cfd-online.com/Forums/fluent-udf/88444-velocity-forces-step-step.html)

Shortcutter May 17, 2011 15:45

velocity and forces (step by step)
 
Hi,
first, sorry for my english. :o

I need to create an UDF with probably DEFINE_ADJUST which give a velocity for a step by step calculation in function of the x forces.

in fact, i need this type of thing :

my_velocity=20;

and for each step :

my_velocity= my_velocity(stepbefore) - forces_X/450*dt;

But i don't understand very well how work UDF, and where i can find the name for X_force.

If you have an idea..?

Thanks


All times are GMT -4. The time now is 17:40.