Possible to access MultiApp parameters from a sub-app? #16714
-
Hi all, First, thanks for the responsiveness with all my questions related to wrapped apps recently, I appreciate it! Per a previous discussion (#16680), I would like to only send a heat flux from a master app into a nekRS multi app if on the first time step of that subcycled nekRS app. We need to do a global communication and CPU->GPU copy on the nekRS end, so skipping that when
where I would add those functions to
My master app input file looks like
Is it possible to access the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
April, I do this a bit with MOC + DSA. You're correct with:
I do it a bit dirty, in which that information can be passed within a transfer. Within my master application problem, I've got some additional checking that attempts to cast all of the transfers to my transfer of choice. If it is found - I've then got an interface to the other MultiApps. You could also have this transfer as an input to the problem. I'm not sure that this is the best behavior, but with the idea of keeping all of the applications truly separate and only connecting them through transfers, I couldn't find a better solution. |
Beta Was this translation helpful? Give feedback.
April,
I do this a bit with MOC + DSA. You're correct with:
I do it a bit dirty, in which that information can be passed within a transfer. Within my master application problem, I've got some additional checking that attempts to cast all of the transfers to my transfer of choice. If it is found - I've then got an interface to the other MultiApps. You could also have this transfer as an input to the problem.
I'm not sure that this is the best behavior, but with the idea of keeping all of the applications truly separate and only connecting them throug…