Guidance on MultiApps and Transfers #16051
-
Hi folks, I am trying to solve a problem that uses two input files and two different meshes. The first input file solves the temperature in a cylinder. The variable changes in 'z' but not in 'r'. I record the temperature along 'z' in a .csv file using a vector-postprocessor. The second file uses the .csv file data to define the values of a BC on a line. For that, I am using 'FunctionDirichletBC' and defining the function values reading the .csv file. I am trying to define this with the MultiApps and the Transfer actions to run only one simulation instead of two. I haven't used these actions before. Is there any easy way to implement this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
I am not sure we have a transfer that exists for this case. I think what you need is a VectorPostprocessor transfer that transfers the entire vector from one system to the other. A vector version of this: MultiAppPostprocessorTransfer. The best approach might be to add this capability to the existing MultiAppVectorPostprocessorTransfer, I will take a look and see how that might work. It might be easy to add. |
Beta Was this translation helpful? Give feedback.
-
I'd think the most direct way to accomplish this is using a |
Beta Was this translation helpful? Give feedback.
I'd think the most direct way to accomplish this is using a
LayeredAverage
which you can transfer with aMultiAppUserObjectTransfer
. Then you might have to create aVariableDirichletBC
but that should be pretty straightforward.