|
[Sponsors] |
Automatically raise certain under-relaxation factors every n iterations |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 7, 2017, 10:18 |
Automatically raise certain under-relaxation factors every n iterations
|
#1 |
New Member
Join Date: Jun 2017
Posts: 2
Rep Power: 0 |
Hello CFD-user,
for my stationary simulation i want to raise the under-ralaxation factors in the solution controls menu every 300 iterations by 0.2. Is there a way to handle this using for example an udf? Changing the values manually every time is very annoying, cause there are about 5000 Iterations to calculate. In the ANSYS Manuals i couldn't find something about it. Thanks for your answer. |
|
June 8, 2017, 07:44 |
|
#2 |
Senior Member
Kal-El
Join Date: Apr 2017
Location: Finland
Posts: 150
Rep Power: 9 |
You can control them with console commands -> You can make a journal
|
|
June 8, 2017, 17:12 |
|
#3 |
New Member
Join Date: Jun 2017
Posts: 2
Rep Power: 0 |
Thank you KaLium, now it works great with the following journal file:
solve/set/under-relaxation/pressure 0.1 solve/set/under-relaxation/mom 0.5 solve/set/under-relaxation/k 0.5 solve/set/under-relaxation/e 0.5 solve/iterate 300 solve/set/under-relaxation/pressure 0.12 solve/set/under-relaxation/mom 0.52 solve/set/under-relaxation/k 0.52 solve/set/under-relaxation/e 0.52 solve/iterate 300 ... or shorter: so set ur pres 0.1 mom 0.5 k 0.5 e 0.5 solve/iterate 300 so set ur pres 0.12 mom 0.52 k 0.52 e 0.52 solve/iterate 300 ... |
|
June 9, 2017, 04:29 |
|
#4 |
Senior Member
Kal-El
Join Date: Apr 2017
Location: Finland
Posts: 150
Rep Power: 9 |
Well done!
|
|
Tags |
raise, udf, under relaxation, under-relaxation, underrelaxation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Maximum number of iterations exceeded chtmultiregionsimpleFoam | Moncef | OpenFOAM Running, Solving & CFD | 28 | July 13, 2020 15:26 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
should Courant number always be kept below 1? | wc34071209 | OpenFOAM Running, Solving & CFD | 16 | March 9, 2014 20:31 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |
Error while running rhoPisoFoam.. | nileshjrane | OpenFOAM Running, Solving & CFD | 8 | August 26, 2010 13:50 |