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

DPM Scalar Update at specific time steps

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

Reply
 
LinkBack Thread Tools 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: 11
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 27, 2010, 23:15
Default
  #2
Senior Member
 
Ji Junjie
Join Date: Feb 2010
Location: Shanghai, China
Posts: 106
Rep Power: 7
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
Time Steps gets smaller and smaller titio OpenFOAM Running, Solving & CFD 1 July 22, 2009 08:19
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 12 September 17, 2007 17:48
unsteady calcs in FLUENT Sanjay Padhiar Main CFD Forum 1 March 31, 1999 12:32


All times are GMT -4. The time now is 11:47.