Latest time directory not being written out to DAFoam correctly #539
uttamcadambi07
started this conversation in
General
Replies: 1 comment 1 reply
-
One workaround that I am trying is to set the writeinterval to be the same as the end time. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am facing a rather peculiar issue.
In dafoam v3.0.3,
Suppose I have a start and end time of 0 and 5000 respectively for a steady state solver and the write interval is 500 (so I get directories of 500,1000,1500,2000... upto convergence or 5000 whichever comes first).
Now if my solver tolerance does not fall below the residual tolerance that is set in the runScript.py, DAFoam takes the last time directory (please see the message below from my log file)
Attaching
All good.
But now in dafoam v3.0.6
When I increase the residual tolerance to say 5 times the previous value (earlier it was 1e-05, now i make it 5e-05), i get the convergence at a much earlier step (say 2636, find the log below).
But, in this case, DAFoam takes the first time directory (500) and not the latest (please find below).
This means that my adjoint solver does not convergence (since obviously the solution at 500 is not converged enough). Why is this happening?
Beta Was this translation helpful? Give feedback.
All reactions