CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   how to call the value of last time step use udf? (http://www.cfd-online.com/Forums/fluent/94436-how-call-value-last-time-step-use-udf.html)

xiaokang November 16, 2011 01:49

how to call the value of last time step use udf?
 
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!

sandeep_tu November 16, 2011 06:40

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

xiaokang November 16, 2011 11:24

thanks a lot!
 
Quote:

Originally Posted by sandeep_tu (Post 332294)
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.


All times are GMT -4. The time now is 22:58.