|
[Sponsors] |
October 14, 2014, 03:25 |
convergenceCeck pUcoupledFoam
|
#1 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Hi Folks,
I implemented a convergenceCheck to pUCoupledFoam. Just one hour of work but maybe one of you can use it. The convergenceCheck is the same as in simpleFoam. Just compile the solver pUConvergedCoupledFoam add Code:
blockSolver { convergence 1e-4; } Cheers Fabian |
|
October 15, 2014, 07:09 |
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,904
Rep Power: 33 |
Dear Fabian,
Thanks for that - with your permission, I would like to include this into foam-extend-3.2. I have done some minor changes, the most important is elegance: maxResidual = cmptMax(UpEqn.solve().initialResidual()); Perharps we should do some Master Classes for FOAM programmers... Would anyone be interested? We can run this at Uni Zagreb for academia and at Wikki for industrial users. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
October 15, 2014, 11:10 |
|
#3 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
PERMISSION GRANTED!
Thanks for highlighting your changes. Indeed, your code is much more elegant. A programmes course would be great. Cheers Fabian |
|
November 4, 2015, 10:34 |
|
#4 |
Senior Member
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17 |
Hi,
how can I switch on the residual output of the solver? At the moment I just have a line for continuity errors and execution time for each iteration. Regards, Markus. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pUCoupledFoam with Multiple Reference Frames (MRF) | PorscheGTIII | OpenFOAM Programming & Development | 23 | July 1, 2016 07:18 |