CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   need information (https://www.cfd-online.com/Forums/fluent/32051-need-information.html)

nabeel mohsin August 29, 2003 05:53

need information
 
hi, i want to increase inlet velocity during the simulation automatically using udf and want to get result for every set.i want to get lift drag and skin temperature for every simulation step.

mateus August 29, 2003 07:55

Re: need information
 
Hi!

So you have to write an udf for velocity inlet. There is a very simillar example in Fluent Udf documentation.

#include "udf.h"

DEFINE_PROFILE(unsteady_velocity, thread, position) { face_t f; real t = CURRENT_TIME;

begin_f_loop(f, thread)

{

F_PROFILE(f, thread, position) = 20. + 5.0*sin(10.*t);

} end_f_loop(f, thread) }

For lift, drag and temperature you can use the monitors (solve-monitors-force...) or better the report-force...

regards

MATEUS


All times are GMT -4. The time now is 10:24.