|
[Sponsors] |
August 29, 2003, 06:53 |
need information
|
#1 |
Guest
Posts: n/a
|
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.
|
|
August 29, 2003, 08:55 |
Re: need information
|
#2 |
Guest
Posts: n/a
|
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Representing controlDict information using OpenFOAM classes | sanatan | OpenFOAM Programming & Development | 4 | February 28, 2012 07:46 |
using face information in a cell-based macro | ximik | Main CFD Forum | 2 | May 10, 2011 18:42 |
Help needed for defining an source term utilizing face information | ximik | FLUENT | 2 | May 10, 2011 18:40 |
interchanging face information with cell information/ radiation flux UDF | ximik | FLUENT | 1 | May 4, 2011 17:34 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |