|
[Sponsors] | |||||
For Runnig Multiple Iterations in a Single Time Step in chtMultiRegionFoam |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Abhishek Dey
Join Date: Sep 2021
Posts: 3
Rep Power: 6 ![]() |
Hi,
I am relatively new in openFoam and currently I am using chtMultiRegionFoam Solver to solve a transient case. I want to run the solver for 20 times (i.e. for 20 iterations) in a single time step and also I want to give convergence criteria in each time step. Can anyone tell me how can I do this? |
|
|
|
|
|
|
|
|
#2 |
|
Member
cal
Join Date: Feb 2020
Location: nowhere
Posts: 66
Rep Power: 7 ![]() |
Hi Abhishek,
If I understood you correctly, the PIMPLE algorithm does this. With residual control you can give convergence criteria. The algorithm is in fvSolution (i.e. tutorials/heatTransfer/buoyantPimpleFoam/hotRoom/system/fvSolution) dictionary. Lets say, you have, Code:
PIMPLE
{
nNonOrthogonalCorrectors 0;
nCorrectors 1;
nOuterCorrectors 50;
residualControl
{
U
{
tolerance 1e-5;
relTol 0;
}
p
{
tolerance 5e-4;
relTol 0;
}
}
}
Usefull links: https://openfoamwiki.net/index.php/O...hm_in_OpenFOAM https://www.simscale.com/forum/t/cfd...lgorithm/81418 Kind regards, Said. |
|
|
|
|
|
|
|
|
#3 | |
|
Member
JuanMi
Join Date: Nov 2017
Posts: 41
Rep Power: 10 ![]() |
Quote:
Code:
"(PIMPLE | PISO)"
{
nOuterCorrectors 500;
}
Code:
PIMPLE
{
outerCorrectorResidualControl
{
U
{
tolerance 1e-5;
relTol 0;
}
e
{
tolerance 5e-4;
relTol 0;
}
}
}
|
||
|
|
|
||
![]() |
| Tags |
| chtmutiregionfoam, openfoam |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 6, 2023 00:48 |
| [solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" | bigphil | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 686 | December 22, 2022 10:10 |
| pressure in incompressible solvers e.g. simpleFoam | chrizzl | OpenFOAM Running, Solving & CFD | 13 | March 28, 2017 06:49 |
| calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |
| pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |