CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT


Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2000, 07:46
Default about DEFINE_INIT
Posts: n/a
Hi !

Please,tell me : the DEFINE_INIT macro is called only after the initialization of a problem at the very beginning of the FLUENT session or it' s called at every time-step initialization ? Can I use this function to correct a physical property of fluid very time-step ?

Best wishes, Mikhail
  Reply With Quote

Old   October 14, 2000, 00:17
Default Re: about DEFINE_INIT
Greg Perkins
Posts: n/a
DEFINE_INIT should be called only when you press the Initialise option, ie. before any Fluent calcs.

To do your own calcs., at each iteration use the DEFINE_ADJUST routine which works in the same way, but is called at each iteration. If you only want to update after a time step, use the RP_Get_Real("flow-time") routine to determine a change in the current time. I think there's an example of this function in one of the tutorial/UDF manual.


Greg Perkins
  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

All times are GMT -4. The time now is 06:25.