|
[Sponsors] |
![]() |
![]() |
#1 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,713
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
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 |
||
![]() |
![]() |
![]() |
![]() |
#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" |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,713
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 |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|