|
[Sponsors] |
September 7, 2014, 16:23 |
groovyBC and residualControl
|
#1 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi all,
can someone tell me if it is possible to use the groovyBC and change the condition if there is some residualControl criterion reached? Would be very interesting If not, is it possible to do that in a easy way. For example:
Thanks in advance Regards Tobi
__________________
Keep foaming, Tobias Holzmann |
|
September 7, 2014, 17:26 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Possibility would be to use an appropriate fvOptions-element to get the residual of the matrix, write that to a global variable which the groovyBC could then use. But that fvOptions is yet unwritten.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
September 13, 2014, 18:17 |
|
#3 |
Senior Member
|
Dear Tobi,
I think this can be done using a simple bash script. Do you want to continue solving from the previous results (which has reached the criterion) or start a new case with initial conditions? Both are possible using bash, though.
__________________
Learn OpenFOAM in Persian SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member Complex Heat & Flow Simulation Research Group If you can't explain it simply, you don't understand it well enough. "Richard Feynman" |
|
September 14, 2014, 09:24 |
|
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi, well I solved that problem using groovy but without convergence check... (: using bash script would work too.
__________________
Keep foaming, Tobias Holzmann |
|
|
|