CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

need information

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2003, 06:53
Default need information
  #1
nabeel mohsin
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.
  Reply With Quote

Old   August 29, 2003, 08:55
Default Re: need information
  #2
mateus
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
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 15:42.