CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Manipulate UDF (https://www.cfd-online.com/Forums/fluent/41083-manipulate-udf.html)

AdN May 23, 2006 09:23

Manipulate UDF
 
Hello!

I want to know if it's possible to launch a DEFINE_PROPERTY only at the first iteration of a time step? TTTTThank you

Adriano May 23, 2006 16:10

Re: Manipulate UDF
 
try to define a macro that execute on demand your DEFINe_PROPERTY udf!. hook this macro in solve/execute command GUI menu. I hope it's helpful regards Adriano

AdN May 24, 2006 05:53

Re: Manipulate UDF
 
Hello Adriano,

Thank you for yourt help. But can you help me again please? Because i'm not familiar with the execute command. I interpret my UDF function. I put my udf viscosity in material panel, and after how can I use the execute command. I read the user guide, but i don't really understand how it's work. If you have the time to help me, I'll be greatful...

Thank you again

adriano May 25, 2006 05:08

Re: Manipulate UDF
 
Macros record your moviments in GUI pannel so, after starting to record them (/execute command/macro/start) make as u're appling the condition for the first time(i.e.: click on define/udf/execute on demand --->hook your udf --->execute it). After stop your macro. and set it as a running command on execute window (each time step for example). run your simulation.

It may run.I hope. Regards A


All times are GMT -4. The time now is 02:32.