Time step continuity error on restart
Hello everybody,
I have a solver I developed based on interFoam (1.6.x). It works like a charm running from t=0, but if I try to restart a simulation at an arbitrary t!=0 I get a time step continuity error. Any idea how to fix this? I already tried changing the 'writePrecision' in controlDict from 6 to 10, but that didn't help. - Anton Code:
time step continuity errors : sum local = 6.660168758e-11, global = 6.639932847e-11, cumulative = 6.639932847e-11 |
I forgot to mention that this happens right after reading the transport properties, ie. before any computations are done. Also, all boundary conditions for U are fixedValue 0, and for p are zeroGradient.
Now I noticed the solver is unhappy with the call to adjustPhi in correctPhi.H using pCorr. If I remove the include for correctPhi.H, the solver seems to run as it should, but I don't really understand why this breaks things... Can anyone provide an insight if it is safe to remove this initialization? |
I'm getting this exact same error. Did you figure out how to fix this???
|
A possible fix is already mentioned in my post #2.
|
Sorry, I meant did you find a way to fix this error without editing the solver (i.e. removing the include for correctPhi.H)? I'm getting this error when trying to run interFoam and don't want to attempt to edit the solver to run my case for obvious reasons. I'm wondering what setting(s) I can change to get this to work for me.
|
Unfortunately that's the only solution I found.
|
All times are GMT -4. The time now is 15:14. |