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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2011, 01: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: 15
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 11:30.
xiaokang is offline   Reply With Quote

Old   November 16, 2011, 06:40
Default
  #2
Member
 
Sandeep
Join Date: Apr 2009
Location: Munich, Germany
Posts: 30
Rep Power: 17
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, 11:24
Default thanks a lot!
  #3
New Member
 
xiaokang
Join Date: Nov 2011
Posts: 6
Rep Power: 15
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


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
Floating point exception error Alan OpenFOAM Running, Solving & CFD 11 July 1, 2021 22:51
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 12:08
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 12:16
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58


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