CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   call posdat.f at the end of the run (http://www.cfd-online.com/Forums/cd-adapco/54722-call-posdat-f-end-run.html)

Boban July 15, 2005 09:14

call posdat.f at the end of the run
 
Hi everybody Does anyone know, if it is possible to call posdat.f user subroutine at the end of the run, and not at the beginning or at the end of each iteration/time step? The condition

if(ITER.EQ.ITERS+ITSTEP)

doesn´t work when the calcualtion converges before the maximum iteration number reached, what acctually should be the case always. Thank you for your help.

Sheila July 15, 2005 13:15

Re: call posdat.f at the end of the run
 
If(level.eq.1) !At the begining of iteration if(level.eq.2) !At end of iteration

Boban July 15, 2005 16:24

Re: call posdat.f at the end of the run
 
Excuse me, if I hadn't explained it properly. I need to run posdat.f only at the end of the last iteration, and not at the end of each iteration. With Level=1 or Level=2 posdat.f would repeat the procedure e.g. 700 times, if it is needed 700 iterations to converge. Is my question better explained now?


All times are GMT -4. The time now is 12:46.