- directionWhether this Transfer will be 'to' or 'from' a MultiApp, or bidirectional, by providing both FROM_MULTIAPP and TO_MULTIAPP.
C++ Type:MultiMooseEnum
Description:Whether this Transfer will be 'to' or 'from' a MultiApp, or bidirectional, by providing both FROM_MULTIAPP and TO_MULTIAPP.
- multi_appThe name of the MultiApp to use.
C++ Type:MultiAppName
Description:The name of the MultiApp to use.
- user_objectThe UserObject you want to transfer values from. Note: This might be a UserObject from your MultiApp's input file!
C++ Type:UserObjectName
Description:The UserObject you want to transfer values from. Note: This might be a UserObject from your MultiApp's input file!
- variableThe auxiliary variable to store the transferred values in.
C++ Type:std::vector<AuxVariableName>
Description:The auxiliary variable to store the transferred values in.
MultiAppUserObjectTransfer
Samples a variable's value in the Master domain at the point where the MultiApp is and copies that value into a post-processor in the MultiApp
Description
MultiAppUserObjectTransfer transfers information from a UserObject in the master/sub application to an AuxVariable in the sub/master application based on the direction of transfer (to_multiapp/from_multiApp).
The transfer can be restricted to a subdomain using the "block" parameter or a boundary using the "boundary" parameter.
To MultiApp
If the AuxVariable in the sub applications is a nodal AuxVariable, for each node in the sub application the value at the corresponding position in the master application is queried from the master UserObject, and this value is set to the AuxVariable at that node. A similar approach is followed for the elemental AuxVariable but with the centroid of the element instead of nodal position.
From MultiApp
For nodal AuxVariable in the master application, it is first determined whether the node is contained within the bounding box of the sub application. If the master node lies within a sub application's bounding box, the value of the sub application UserObject at that location is transferred to the master AuxVariable. A similar approach is followed for the elemental AuxVariable but with the centroid of the master element instead of nodal position.
When all_master_nodes_contained_in_sub_app
option is set to true, an error is generated if the master node/element does not lie within the bounding boxes of any of the sub applications. An error is also generated if the master node/element lies within the bounding boxes of 2 or more sub applications.
Input Parameters
- all_master_nodes_contained_in_sub_appFalseSet to true if every master node is mapped to a distinct point on one of the subApps during a transfer from sub App to Master App. If master node cannot be found within bounding boxes of any of the subApps, an error is generated.
Default:False
C++ Type:bool
Description:Set to true if every master node is mapped to a distinct point on one of the subApps during a transfer from sub App to Master App. If master node cannot be found within bounding boxes of any of the subApps, an error is generated.
- allow_skipped_adjustmentFalseIf set to true, the transfer skips adjustment when from or to postprocessor values are either zero or have different signs. If set to false, an error is thrown when encountering these conditions.
Default:False
C++ Type:bool
Description:If set to true, the transfer skips adjustment when from or to postprocessor values are either zero or have different signs. If set to false, an error is thrown when encountering these conditions.
- blockThe block we are transferring to (if not specified, whole domain is used).
C++ Type:std::vector<SubdomainName>
Description:The block we are transferring to (if not specified, whole domain is used).
- boundaryThe boundary we are transferring to (if not specified, whole domain is used unless 'block' parameter is used).
C++ Type:std::vector<BoundaryName>
Description:The boundary we are transferring to (if not specified, whole domain is used unless 'block' parameter is used).
- check_multiapp_execute_onTrueWhen false the check between the multiapp and transfer execute on flags is not preformed.
Default:True
C++ Type:bool
Description:When false the check between the multiapp and transfer execute on flags is not preformed.
- displaced_source_meshFalseWhether or not to use the displaced mesh for the source mesh.
Default:False
C++ Type:bool
Description:Whether or not to use the displaced mesh for the source mesh.
- displaced_target_meshFalseWhether or not to use the displaced mesh for the target mesh.
Default:False
C++ Type:bool
Description:Whether or not to use the displaced mesh for the target mesh.
- execute_onSAME_AS_MULTIAPPThe list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM, SAME_AS_MULTIAPP.
Default:SAME_AS_MULTIAPP
C++ Type:ExecFlagEnum
Description:The list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM, SAME_AS_MULTIAPP.
- from_postprocessors_to_be_preservedThe name of the Postprocessor in the from-app to evaluate an adjusting factor.
C++ Type:std::vector<PostprocessorName>
Description:The name of the Postprocessor in the from-app to evaluate an adjusting factor.
- from_solution_tagThe tag of the solution vector to be transferred (default to the solution)
C++ Type:TagName
Description:The tag of the solution vector to be transferred (default to the solution)
- skip_bounding_box_checkFalseSkip the check if the to_elem is within the bounding box of the from_app.
Default:False
C++ Type:bool
Description:Skip the check if the to_elem is within the bounding box of the from_app.
- to_postprocessors_to_be_preservedThe name of the Postprocessor in the to-app to evaluate an adjusting factor.
C++ Type:std::vector<PostprocessorName>
Description:The name of the Postprocessor in the to-app to evaluate an adjusting factor.
- to_solution_tagThe tag of the solution vector to be transferred to (default to the solution)
C++ Type:TagName
Description:The tag of the solution vector to be transferred to (default to the solution)
Optional Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Description:Set the enabled status of the MooseObject.
- use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.
Default:False
C++ Type:bool
Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.
Advanced Parameters
Input Files
- (test/tests/transfers/multiapp_userobject_transfer/tosub_displaced_master.i)
- (modules/combined/test/tests/beam_eigenstrain_transfer/master_uo_transfer.i)
- (test/tests/transfers/multiapp_conservative_transfer/master_userobject.i)
- (test/tests/transfers/multiapp_high_order_variable_transfer/master_L2_Lagrange_userobject.i)
- (test/tests/transfers/multiapp_userobject_transfer/restricted_elem_master.i)
- (test/tests/transfers/multiapp_userobject_transfer/restricted_node_master.i)
- (test/tests/transfers/multiapp_userobject_transfer/two_pipe_master.i)
- (test/tests/transfers/multiapp_userobject_transfer/3d_1d_master.i)
- (test/tests/vectorpostprocessors/csv_reader/transfer/master.i)
- (test/tests/userobjects/postprocessor_spatial_user_object/master.i)
- (test/tests/transfers/multiapp_userobject_transfer/tosub_master.i)
- (test/tests/transfers/transfer_interpolation/master.i)
- (test/tests/transfers/multiapp_userobject_transfer/master.i)