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

DPM Scalar Update at specific time steps

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2010, 06:36
Default DPM Scalar Update at specific time steps
  #1
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
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
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   April 28, 2010, 00:15
Default
  #2
Senior Member
 
Join Date: Feb 2010
Posts: 164
Rep Power: 17
gearboy is on a distinguished road
Quote:
Originally Posted by sega View Post
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)");
gearboy is offline   Reply With Quote

Reply

Tags
dpm, p_user_real, scalar_update, udf


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
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 17, 2019 00:12
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
Time Steps gets smaller and smaller titio OpenFOAM Running, Solving & CFD 1 July 22, 2009 09:19
unsteady calcs in FLUENT Sanjay Padhiar Main CFD Forum 1 March 31, 1999 13:32


All times are GMT -4. The time now is 18:59.