- solutionThe SolutionUserObject to extract data from.
C++ Type:UserObjectName
Unit:(no unit assumed)
Controllable:No
Description:The SolutionUserObject to extract data from.
Axisymmetric2D3DSolutionFunction
Function for reading a 2D axisymmetric solution from file and mapping it to a 3D Cartesian model
The 2D solution is likely to be the output of a 2D-RZ calculation, which we want to compare to a full 3D model. This is useful for assessing the validity of the 2D-RZ geometric approximation.
The axis of symmetry for the original 2D axisymmetric calculation and for mapping this 2D axisymmetric calculation into the 3D space can both be specified.
Example input syntax
In this example, three Axisymmetric2D3DSolutionFunction
are used to load results for a 2D axisymmetric simulation in a 3D mechanics simulation. These results are then used in the BCs
block to impose a displacement on a boundary, and in a temperature variable using a FunctionAux.
[Functions]
[./soln_func_temp]
type = Axisymmetric2D3DSolutionFunction
solution = soln
from_variables = 'temp'
[../]
[./soln_func_disp_x]
type = Axisymmetric2D3DSolutionFunction
solution = soln
from_variables = 'disp_x disp_y'
component = 0
[../]
[./soln_func_disp_y]
type = Axisymmetric2D3DSolutionFunction
solution = soln
from_variables = 'disp_x disp_y'
component = 1
[../]
[./soln_func_disp_z]
type = Axisymmetric2D3DSolutionFunction
solution = soln
from_variables = 'disp_x disp_y'
component = 2
[../]
[]
(moose/modules/combined/test/tests/axisymmetric_2d3d_solution_function/3dy.i)Input Parameters
- 2d_axis_point10 0 0Start point for axis of symmetry for the 2d model
Default:0 0 0
C++ Type:libMesh::VectorValue<double>
Unit:(no unit assumed)
Controllable:No
Description:Start point for axis of symmetry for the 2d model
- 2d_axis_point20 1 0End point for axis of symmetry for the 2d model
Default:0 1 0
C++ Type:libMesh::VectorValue<double>
Unit:(no unit assumed)
Controllable:No
Description:End point for axis of symmetry for the 2d model
- 3d_axis_point10 0 0Start point for axis of symmetry for the 3d model
Default:0 0 0
C++ Type:libMesh::VectorValue<double>
Unit:(no unit assumed)
Controllable:No
Description:Start point for axis of symmetry for the 3d model
- 3d_axis_point20 1 0End point for axis of symmetry for the 3d model
Default:0 1 0
C++ Type:libMesh::VectorValue<double>
Unit:(no unit assumed)
Controllable:No
Description:End point for axis of symmetry for the 3d model
- add_factor0Add this value (b) to the solution (x): ax+b, where a is the 'scale_factor'
Default:0
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:Add this value (b) to the solution (x): ax+b, where a is the 'scale_factor'
- axial_dimension_ratio1Ratio of the axial dimension in the 3d model to that in the 2d model. Optionally permits the 3d model to be larger than the 2d model in that dimension, and scales vector solutions in that direction by this factor.
Default:1
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:Ratio of the axial dimension in the 3d model to that in the 2d model. Optionally permits the 3d model to be larger than the 2d model in that dimension, and scales vector solutions in that direction by this factor.
- componentComponent of the variable to be computed if it is a vector
C++ Type:unsigned int
Unit:(no unit assumed)
Controllable:No
Description:Component of the variable to be computed if it is a vector
- from_variablesThe names of the variables in the file that are to be extracted, in x, y order if they are vector components
C++ Type:std::vector<std::string>
Unit:(no unit assumed)
Controllable:No
Description:The names of the variables in the file that are to be extracted, in x, y order if they are vector components
- scale_factor1Scale factor (a) to be applied to the solution (x): ax+b, where b is the 'add_factor'
Default:1
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:Scale factor (a) to be applied to the solution (x): ax+b, where b is the 'add_factor'
Optional Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
Unit:(no unit assumed)
Controllable:No
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Unit:(no unit assumed)
Controllable:No
Description:Set the enabled status of the MooseObject.