CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

how to call the value of last time step use udf?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 16, 2011, 00:49
Smile how to call the value of last time step use udf?
  #1
New Member
 
xiaokang
Join Date: Nov 2011
Posts: 6
Rep Power: 4
xiaokang is on a distinguished road
I am try to solve a recirculation prolem, that is like: a domain has a particle inlet. the particle flux is unknown. I want to use the particle flux of outlet at the last timestep as this input. So does anybody know how to extract the certain value of the last time step?
thanks!

Last edited by xiaokang; November 16, 2011 at 10:30.
xiaokang is offline   Reply With Quote

Old   November 16, 2011, 05:40
Default
  #2
New Member
 
Sandeep
Join Date: Apr 2009
Location: Munich, Germany
Posts: 29
Rep Power: 7
sandeep_tu is on a distinguished road
Hi,

Simple way is writing a surface monitor(@outlet) for every time step, which you have to define this before calculation (under monitors-->surface monitors) or you can write an udf for this.

Regards
Sandeep
sandeep_tu is offline   Reply With Quote

Old   November 16, 2011, 10:24
Default thanks a lot!
  #3
New Member
 
xiaokang
Join Date: Nov 2011
Posts: 6
Rep Power: 4
xiaokang is on a distinguished road
Quote:
Originally Posted by sandeep_tu View Post
Hi,

Simple way is writing a surface monitor(@outlet) for every time step, which you have to define this before calculation (under monitors-->surface monitors) or you can write an udf for this.

Regards
Sandeep
thanks! I think that will not work use the monitor. I also want to use this value to be the input of next time step. So I think the best way is write a udf let the value of current input is same with the last output.
xiaokang is offline   Reply With Quote

Reply

Tags
recirculation, time step, 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
Floating point exception error Alan OpenFOAM Running, Solving & CFD 10 April 6, 2012 14:02
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM 6 April 12, 2011 11:24
Full pipe 3D using icoFoam cyberbrain OpenFOAM 4 March 16, 2011 10:20
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 09:31.