residual controls in chtMultiRegionSimpleFoam
Hello!
I set up a chtMultiRegionSimpleFoam-case in OpenFOAM 2.2.2 . After everything was working fine, i tried to apply residual control in the typical way: Code:
residualControl After trying some konfigurations i noticed that it doesn't work. So i took a look at the sources of chtMultiRegionSimpleFoam and compared them to simpleFoam.C:
Are my assumptions right so far? If yes, is there any workaround? Thanks for your answers :-) Best regards Andre |
bump... I'm having the same problem, residual controls still (2.3.X.git) do not seem to work for chtMultiRegionSimpleFoam.
|
Residual controls don't work in OF 2.2.x nor in 2.3.x either. It's a shame that such tool is not implemented to work in multi region cases. I hope that some day this issue will be fixed so that we will be able to control multi region runs and make them stop once the final solution is reached...
Best regards, Alex |
Greetings to all!
I've had a look into the source code for OpenFOAM 2.3.x and Andre's original diagnosis is still correct and accurate. It's not exactly easy to implement this feature in chtMultiRegionSimpleFoam, due to the fact that each region has its own levels of residual values, therefore it would be necessary to implement a special class derived from solutionControl specifically for multi-region cases, which would check for the residuals for all regions and see if all are below the desired values. My guess is that if someone reports this on the bug tracker for OpenFOAM, either one of the following scenarios might occur:
Bruno |
Dear all,
I have made some modifications to the original multi-region solvers (steady state and transient) to incorporate residuals checking in ONE fluid region. This can be useful for those of you working on heat transfer between a solid and a single fluid region, where the solid residuals can be managed separately. The code is available at https://github.com/kelindqv/chtMultiRegionResFoam Best regards, Karl |
Thanks for sharing your approach!
Cheers Andre |
Hello Karl,
I find your code very interesting since residual control would speed up my simulations a lot. thanks for sharing :) Just to be sure - is it intended for 2.3.x or 3.0.x? I'm running 3.0.1 and it's crashing after the mesh creation greetings Stephan |
Hello everyone,
I'm basically new to openfoam and I'm trying to use chtmultiregionsimplefoam to simulate a problem related to my thesis work. Everything seems to work (more or less), except for residual control which apparently is not providing sensible effect on the simulation. This seems the only thread on the topic and I see that it was created quite long time ago: does anyone know wheter this feature is now implemented in chtmultiregionsimplefoam or not? Thank you very much. Greetings to everyone, Andrea |
Quote:
I just checked the chtMultiRegionSimpleFoam solver in openfoam-dev and there is still no residual control. The easiest way is currently to check the residuals manually. Cheers Andre |
Quote:
thank you so much for your quick reply. I'll just continue checking manually the residuals, it's not such a big problem :D Have a nice day, Andrea |
h residual goes on increasing
1 Attachment(s)
Hello everyone,
I'm using chtMultiRegionSimpleFoam and in the attached residual image, h residual are goes on increasing after even stopping the solver at 16000 iterations.. Could anyone please provide any solution or suggestion for this issue ? This is the Residuals file i'm using: Code:
set logscale y Code:
application chtMultiRegionSimpleFoam; Code:
ddtSchemes Code:
solvers Code:
ddtSchemes Code:
solvers Vishsel |
All times are GMT -4. The time now is 09:02. |