|
[Sponsors] |
how to call the value of last time step use udf? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 16, 2011, 01:49 |
how to call the value of last time step use udf?
|
#1 |
New Member
xiaokang
Join Date: Nov 2011
Posts: 6
Rep Power: 15 |
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. |
|
November 16, 2011, 06:40 |
|
#2 |
Member
Sandeep
Join Date: Apr 2009
Location: Munich, Germany
Posts: 30
Rep Power: 17 |
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 |
|
November 16, 2011, 11:24 |
thanks a lot!
|
#3 |
New Member
xiaokang
Join Date: Nov 2011
Posts: 6
Rep Power: 15 |
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.
|
|
Tags |
recirculation, time step, udf |
|
|
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 |