pimple corr reset
Hello
Pimple.loop() is a flag that is true as long the pimple loops runs. If have added additional booleans to it to improve some stuff like stopping the loop if there is no convergence. The problem now is that corr_ is not reset to zero. I have tried something like: Code:
pimple.corr() = 0; Thanks if somebody could give me a hint. Regards, Daniel |
Since nobody seems to be interested on this topic, I found a solution myself, however not that elegant. I just copied the loop() object in pimpleControl.C and created a new one like this:
Code:
bool Foam::pimpleControl::resetcorr() I do not check if the read statement is really necessary, but at least it does not hurt. If there is a better way, please post it. |
All times are GMT -4. The time now is 11:14. |