- displacementsThe displacement variables appropriate for the simulation geometry and coordinate system.
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:The displacement variables appropriate for the simulation geometry and coordinate system.
- krxTorsional stiffness of the spring.
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:Torsional stiffness of the spring.
- kryRotational stiffness in the y direction of the spring.
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:Rotational stiffness in the y direction of the spring.
- krzRotational stiffness in the z direction of the spring.
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:Rotational stiffness in the z direction of the spring.
- kxAxial stiffness of the spring
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:Axial stiffness of the spring
- kyShear stiffness in the y direction of the spring.
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:Shear stiffness in the y direction of the spring.
- kzShear stiffness in the z direction of the spring.
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:Shear stiffness in the z direction of the spring.
- rotationsThe rotation variables appropriate for the simulation geometry and coordinate system.
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:The rotation variables appropriate for the simulation geometry and coordinate system.
- y_orientationOrientation of the y direction along which, Ky is provided. This should be perpendicular to the axis of the spring.
C++ Type:libMesh::VectorValue<double>
Unit:(no unit assumed)
Controllable:No
Description:Orientation of the y direction along which, Ky is provided. This should be perpendicular to the axis of the spring.
Linear Spring Material
Description
The Linear Spring Material simulates linear two-noded spring with a diagonal stiffness matrix including three elongation and three rotation stiffnesses. The material takes the six stiffnesses as input, and these stiffnesses can be provided either as constants or as functions of space. When provided as functions of space, MASTODON will evaluate the stiffnesses of the springs by evaluating these functions at the coordinates of the midpoint of the spring element.
Limitations
The linear spring element is currently limited to simulations involving small rigid body rotations of the spring. The inertia of the spring element can be simulated by modeling equivalent nodal masses using the NodalTranslationalInertia
kernel. Providing density in the Materials block is not sufficient for inertia to be included.
Usage
The Materials block in the input file shown below demonstrates the usage of the linear spring material. In the input file, sawtooth-type force and moment histories are applied at one node of the spring, while the other node is fixed. Given the stiffnesses of the spring, the same saw-tooth shape displacement and rotation histories are calculated in the output.
[NodalKernels<<<{"href": "../../syntax/NodalKernels/index.html"}>>>]
[./force_x]
type = UserForcingFunctionNodalKernel<<<{"description": "Residual contribution to an ODE from a source function acting at nodes.", "href": "../nodalkernels/UserForcingFunctionNodalKernel.html"}>>>
variable<<<{"description": "The name of the variable that this residual object operates on"}>>> = disp_x
boundary<<<{"description": "The list of boundaries (ids or names) from the mesh where this object applies"}>>> = right
function<<<{"description": "The forcing function"}>>> = force_x
[../]
[./force_y]
type = UserForcingFunctionNodalKernel<<<{"description": "Residual contribution to an ODE from a source function acting at nodes.", "href": "../nodalkernels/UserForcingFunctionNodalKernel.html"}>>>
variable<<<{"description": "The name of the variable that this residual object operates on"}>>> = disp_y
boundary<<<{"description": "The list of boundaries (ids or names) from the mesh where this object applies"}>>> = right
function<<<{"description": "The forcing function"}>>> = force_y
[../]
[./force_z]
type = UserForcingFunctionNodalKernel<<<{"description": "Residual contribution to an ODE from a source function acting at nodes.", "href": "../nodalkernels/UserForcingFunctionNodalKernel.html"}>>>
variable<<<{"description": "The name of the variable that this residual object operates on"}>>> = disp_z
boundary<<<{"description": "The list of boundaries (ids or names) from the mesh where this object applies"}>>> = right
function<<<{"description": "The forcing function"}>>> = force_z
[../]
[./moment_x]
type = UserForcingFunctionNodalKernel<<<{"description": "Residual contribution to an ODE from a source function acting at nodes.", "href": "../nodalkernels/UserForcingFunctionNodalKernel.html"}>>>
variable<<<{"description": "The name of the variable that this residual object operates on"}>>> = rot_x
boundary<<<{"description": "The list of boundaries (ids or names) from the mesh where this object applies"}>>> = right
function<<<{"description": "The forcing function"}>>> = moment_x
[../]
[./moment_y]
type = UserForcingFunctionNodalKernel<<<{"description": "Residual contribution to an ODE from a source function acting at nodes.", "href": "../nodalkernels/UserForcingFunctionNodalKernel.html"}>>>
variable<<<{"description": "The name of the variable that this residual object operates on"}>>> = rot_y
boundary<<<{"description": "The list of boundaries (ids or names) from the mesh where this object applies"}>>> = right
function<<<{"description": "The forcing function"}>>> = moment_y
[../]
[./moment_z]
type = UserForcingFunctionNodalKernel<<<{"description": "Residual contribution to an ODE from a source function acting at nodes.", "href": "../nodalkernels/UserForcingFunctionNodalKernel.html"}>>>
variable<<<{"description": "The name of the variable that this residual object operates on"}>>> = rot_z
boundary<<<{"description": "The list of boundaries (ids or names) from the mesh where this object applies"}>>> = right
function<<<{"description": "The forcing function"}>>> = moment_z
[../]
[]
[Functions<<<{"href": "../../syntax/Functions/index.html"}>>>]
[./force_x]
type = PiecewiseLinear<<<{"description": "Linearly interpolates between pairs of x-y data", "href": "../functions/PiecewiseLinear.html"}>>>
x<<<{"description": "The abscissa values"}>>> = '0.0 1.0 2.0 3.0 4.0' # time
y<<<{"description": "The ordinate values"}>>> = '0.0 1.0 0.0 -1.0 0.0' # force
[../]
[./force_y]
type = PiecewiseLinear<<<{"description": "Linearly interpolates between pairs of x-y data", "href": "../functions/PiecewiseLinear.html"}>>>
x<<<{"description": "The abscissa values"}>>> = '0.0 1.0 2.0 3.0 4.0' # time
y<<<{"description": "The ordinate values"}>>> = '0.0 2.0 0.0 -2.0 0.0' # force
[../]
[./force_z]
type = PiecewiseLinear<<<{"description": "Linearly interpolates between pairs of x-y data", "href": "../functions/PiecewiseLinear.html"}>>>
x<<<{"description": "The abscissa values"}>>> = '0.0 1.0 2.0 3.0 4.0' # time
y<<<{"description": "The ordinate values"}>>> = '0.0 3.0 0.0 -3.0 0.0' # force
[../]
[./moment_x]
type = PiecewiseLinear<<<{"description": "Linearly interpolates between pairs of x-y data", "href": "../functions/PiecewiseLinear.html"}>>>
x<<<{"description": "The abscissa values"}>>> = '0.0 1.0 2.0 3.0 4.0' # time
y<<<{"description": "The ordinate values"}>>> = '0.0 10.0 0.0 -10.0 0.0' # moment
[../]
[./moment_y]
type = PiecewiseLinear<<<{"description": "Linearly interpolates between pairs of x-y data", "href": "../functions/PiecewiseLinear.html"}>>>
x<<<{"description": "The abscissa values"}>>> = '0.0 1.0 2.0 3.0 4.0' # time
y<<<{"description": "The ordinate values"}>>> = '0.0 20.0 0.0 -20.0 0.0' # moment
[../]
[./moment_z]
type = PiecewiseLinear<<<{"description": "Linearly interpolates between pairs of x-y data", "href": "../functions/PiecewiseLinear.html"}>>>
x<<<{"description": "The abscissa values"}>>> = '0.0 1.0 2.0 3.0 4.0' # time
y<<<{"description": "The ordinate values"}>>> = '0.0 30.0 0.0 -30.0 0.0' # force
[../]
[]
[Materials<<<{"href": "../../syntax/Materials/index.html"}>>>]
[./linear_spring_test]
type = LinearSpring<<<{"description": "Compute the deformations, forces and stiffness matrix of a two-noded spring element.", "href": "LinearSpring.html"}>>>
block<<<{"description": "The list of blocks (ids or names) that this object will be applied"}>>> = 0
y_orientation<<<{"description": "Orientation of the y direction along which, Ky is provided. This should be perpendicular to the axis of the spring."}>>> = '0.0 1.0 0.0'
displacements<<<{"description": "The displacement variables appropriate for the simulation geometry and coordinate system."}>>> = 'disp_x disp_y disp_z'
rotations<<<{"description": "The rotation variables appropriate for the simulation geometry and coordinate system."}>>> = 'rot_x rot_y rot_z'
kx<<<{"description": "Axial stiffness of the spring"}>>> = 1.0
ky<<<{"description": "Shear stiffness in the y direction of the spring."}>>> = 2.0
kz<<<{"description": "Shear stiffness in the z direction of the spring."}>>> = 3.0
krx<<<{"description": "Torsional stiffness of the spring."}>>> = 10.0
kry<<<{"description": "Rotational stiffness in the y direction of the spring."}>>> = 20.0
krz<<<{"description": "Rotational stiffness in the z direction of the spring."}>>> = 30.0
[../]
[]
(test/tests/materials/linear_spring/spring_static.i)Input Parameters
- blockThe list of blocks (ids or names) that this object will be applied
C++ Type:std::vector<SubdomainName>
Controllable:No
Description:The list of blocks (ids or names) that this object will be applied
- boundaryThe list of boundaries (ids or names) from the mesh where this object applies
C++ Type:std::vector<BoundaryName>
Controllable:No
Description:The list of boundaries (ids or names) from the mesh where this object applies
- computeTrueWhen false, MOOSE will not call compute methods on this material. The user must call computeProperties() after retrieving the MaterialBase via MaterialBasePropertyInterface::getMaterialBase(). Non-computed MaterialBases are not sorted for dependencies.
Default:True
C++ Type:bool
Controllable:No
Description:When false, MOOSE will not call compute methods on this material. The user must call computeProperties() after retrieving the MaterialBase via MaterialBasePropertyInterface::getMaterialBase(). Non-computed MaterialBases are not sorted for dependencies.
- constant_onELEMENTWhen ELEMENT, MOOSE will only call computeQpProperties() for the 0th quadrature point, and then copy that value to the other qps.When SUBDOMAIN, MOOSE will only call computeQpProperties() for the 0th quadrature point, and then copy that value to the other qps. Evaluations on element qps will be skipped
Default:ELEMENT
C++ Type:MooseEnum
Controllable:No
Description:When ELEMENT, MOOSE will only call computeQpProperties() for the 0th quadrature point, and then copy that value to the other qps.When SUBDOMAIN, MOOSE will only call computeQpProperties() for the 0th quadrature point, and then copy that value to the other qps. Evaluations on element qps will be skipped
- declare_suffixAn optional suffix parameter that can be appended to any declared properties. The suffix will be prepended with a '_' character.
C++ Type:MaterialPropertyName
Unit:(no unit assumed)
Controllable:No
Description:An optional suffix parameter that can be appended to any declared properties. The suffix will be prepended with a '_' character.
Optional Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
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
Controllable:Yes
Description:Set the enabled status of the MooseObject.
- implicitTrueDetermines whether this object is calculated using an implicit or explicit form
Default:True
C++ Type:bool
Controllable:No
Description:Determines whether this object is calculated using an implicit or explicit form
- seed0The seed for the master random number generator
Default:0
C++ Type:unsigned int
Controllable:No
Description:The seed for the master random number generator
- 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
Controllable:No
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
- output_propertiesList of material properties, from this material, to output (outputs must also be defined to an output type)
C++ Type:std::vector<std::string>
Controllable:No
Description:List of material properties, from this material, to output (outputs must also be defined to an output type)
- outputsnone Vector of output names where you would like to restrict the output of variables(s) associated with this object
Default:none
C++ Type:std::vector<OutputName>
Controllable:No
Description:Vector of output names where you would like to restrict the output of variables(s) associated with this object
Outputs Parameters
- prop_getter_suffixAn optional suffix parameter that can be appended to any attempt to retrieve/get material properties. The suffix will be prepended with a '_' character.
C++ Type:MaterialPropertyName
Unit:(no unit assumed)
Controllable:No
Description:An optional suffix parameter that can be appended to any attempt to retrieve/get material properties. The suffix will be prepended with a '_' character.
- use_interpolated_stateFalseFor the old and older state use projected material properties interpolated at the quadrature points. To set up projection use the ProjectedStatefulMaterialStorageAction.
Default:False
C++ Type:bool
Controllable:No
Description:For the old and older state use projected material properties interpolated at the quadrature points. To set up projection use the ProjectedStatefulMaterialStorageAction.