CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   DPM Scalar Update at specific time steps (http://www.cfd-online.com/Forums/fluent-udf/73041-dpm-scalar-update-specific-time-steps.html)

sega February 25, 2010 06:36

DPM Scalar Update at specific time steps
 
Hello world.

I'm currently working with the DEFINE_DPM_SCALAR_UPDATE so alter my User Defined Scalars (P_USER_REAL(p,i)).

This works great so far, but I want to change the scalars at a specific time-dependent rate.

The SCALAR_UPDATE updates the scalar each DPM iteration.
Do you have any idea how I can tell the SCALAR_UPDATE to change the scalars according to some constant rate per second?
N.B.: per second is the keyword, not per iteration!

Any ideas are welcome!
See you. Sebastian

gearboy April 27, 2010 23:15

Quote:

Originally Posted by sega (Post 247336)
Hello world.

I'm currently working with the DEFINE_DPM_SCALAR_UPDATE so alter my User Defined Scalars (P_USER_REAL(p,i)).

This works great so far, but I want to change the scalars at a specific time-dependent rate.

The SCALAR_UPDATE updates the scalar each DPM iteration.
Do you have any idea how I can tell the SCALAR_UPDATE to change the scalars according to some constant rate per second?
N.B.: per second is the keyword, not per iteration!

Any ideas are welcome!
See you. Sebastian

Use this to call DEFINE_DPM_SCALAR_UPDATE whenever you want.

CX_Interpret_String("(dpm-iteration)");


All times are GMT -4. The time now is 21:12.