|
[Sponsors] |
OpenFOAM 6, chtMultiRegionFoam residualcontrol for steady state not working |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 28, 2018, 10:45 |
OpenFOAM 6, chtMultiRegionFoam residualcontrol for steady state not working
|
#1 |
New Member
Join Date: Mar 2018
Posts: 4
Rep Power: 8 |
Hi,
Since chtMultiRegionSimpleFoam was removed in OpenFOAM 6, I tried running a steady state case with chtMultiRegionFoam, with a residualcontrol (shown below). But it does not stop when converged. Has anyone tested if residualcontrol works in the new chtMultiRegionFoam? Code:
PIMPLE { residualcontrol { U 1e-4; } } |
|
September 2, 2018, 07:46 |
|
#2 |
Member
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11 |
Hi qtruong,
could you try Code:
residualControl Code:
residualcontrol Robin |
|
September 3, 2018, 11:48 |
|
#3 | |
New Member
Join Date: Mar 2018
Posts: 4
Rep Power: 8 |
Quote:
Sorry, it was my typo while writing the post. It was actually "residualControl" in the code, and it's confirmed by the log file: Code:
PIMPLE: Region gas PIMPLE: Convergence criteria found U: tolerance 0.0001 Nonetheless, the convergence is reached, but chtMultiRegionFoam keeps running until my endTime. |
||
September 3, 2018, 14:04 |
|
#4 | |
Member
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11 |
Hi qtruong,
Quote:
The residualControl allows to exit PIMPLE outer loops when the residual criteria are fulfilled. Then it continues with next time step. Kind regards, Robin |
||
September 4, 2018, 12:47 |
|
#5 | |
New Member
Join Date: Mar 2018
Posts: 4
Rep Power: 8 |
Quote:
|
||
September 4, 2018, 13:12 |
|
#6 | |
Member
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11 |
Hi qtruong,
Quote:
Eventually you can try to use local time stepping (localEuler time derivative approximation). Another possibility is to use OpenFoam5 and chtMultiRegionSimpleFoam. If I understand right, the difference between OpenFoam5 and OpenFoam6 is only in usability for conjugated heat transfer solvers. Hope it helps, Robin |
||
March 2, 2019, 10:37 |
|
#7 |
Senior Member
julien
Join Date: Dec 2018
Posts: 107
Rep Power: 7 |
Hello,
I try to result a CHT steady state case with openfoam 6 and chtMultiRegionFoam. I am not able to solve it, it crashes after few time steps. chtMultiRegionSimpleFoam done the job with Openfoam 5, I obtained good accuracy with analytical solutions. I read your post Robin.Kamenicky, you wrote : Code:
There is no solver for steady state conjugated heat transfer in OpenFoam6. However, if your problem is steady state problem, the transient solver will converge to steady state. What is the reason to have give up the steady state solver in openfoam 6 ? Best regards |
|
March 2, 2019, 11:53 |
|
#8 |
Member
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11 |
Hi julieng,
Actually, I have been mistaken. The official documentation of OF6 for chtMultiRegionFoam tells: Code:
Solver for steady or transient fluid flow and solid heat conduction, with conjugate heat transfer between regions, buoyancy effects, turbulence, reactions and radiation modelling. Kind regrads, Robin |
|
March 2, 2019, 12:00 |
|
#9 |
Member
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11 |
Hi julieng,
according to tutorials. You can setup scheme for time derivative to Code:
steadyState Robin |
|
March 4, 2019, 08:15 |
|
#10 |
Senior Member
julien
Join Date: Dec 2018
Posts: 107
Rep Power: 7 |
Hello Robin,
Yes it works for stationary cases, I have test it. I have same results than openfoam v5. I try the new functionnality "wallHeatTransferCoeff" I read on the Openfoam 6 release: Data Processing: function objects for individual regions in a multi-region simulation [ commit a5a034 ]; wallHeatTransferCoeff function object to calculate the wall heat transfer coefficient [ commit 99841e ]; in wallHeatFlux, improved efficiency of heat flux calculation [ commit 6584fa ] and corrected contribution of radiative heat flux [ commit 396259 ]. But I see that it works only for incompressible fluids… cht is for compressible fluids. Maybe someone knows how to modify the file. I see the post of bloerb https://www.cfd-online.com/Forums/op...ing-print.html But I Don't know how to do. I am a total beginner in function object. Best regards |
|
December 18, 2019, 03:24 |
|
#11 | |
Member
Join Date: Nov 2014
Posts: 92
Rep Power: 12 |
Quote:
Thank you |
||
Tags |
chtmultiregionfoam, heat transfer |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Current state of conjugate heat transfer in OpenFOAM | Dreoasteh | OpenFOAM | 2 | April 4, 2023 14:47 |
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 07:15 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
error message | cuteapathy | CFX | 14 | March 20, 2012 07:45 |