- valueValue multiplied against the residual, e.g. gravitational acceleration
C++ Type:double
Description:Value multiplied against the residual, e.g. gravitational acceleration
- variableThe name of the variable that this Kernel operates on
C++ Type:NonlinearVariableName
Description:The name of the variable that this Kernel operates on
ADGravity
Apply gravity. Value is in units of acceleration.
Description
The kernel ADGravity
provides a body force term in the stress divergence equilibrium equation to account for ADGravity force due to self weight. In a continuum mechanics problem, momentum conservation is prescribed assuming static equilibrium at each time increment, where is the Cauchy stress tensor and is the ADGravity body force per unit mass.
Example Input File Syntax
[./gravity_y]
type = ADGravity
variable = disp_y
value = -9.81
[../]
(modules/tensor_mechanics/test/tests/gravity/ad_gravity_test.i)Input Parameters
- alpha0alpha parameter required for HHT time integration scheme
Default:0
C++ Type:double
Description:alpha parameter required for HHT time integration scheme
- blockThe list of block ids (SubdomainID) that this object will be applied
C++ Type:std::vector
Description:The list of block ids (SubdomainID) that this object will be applied
- displacementsThe displacements
C++ Type:std::vector
Description:The displacements
Optional Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector
Description:Adds user-defined labels for accessing object parameters via control logic.
- diag_save_inThe name of auxiliary variables to save this Kernel's diagonal Jacobian contributions to. Everything about that variable must match everything about this variable (the type, what blocks it's on, etc.)
C++ Type:std::vector
Description:The name of auxiliary variables to save this Kernel's diagonal Jacobian contributions to. Everything about that variable must match everything about this variable (the type, what blocks it's on, etc.)
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
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
Description:Determines whether this object is calculated using an implicit or explicit form
- save_inThe name of auxiliary variables to save this Kernel's residual contributions to. Everything about that variable must match everything about this variable (the type, what blocks it's on, etc.)
C++ Type:std::vector
Description:The name of auxiliary variables to save this Kernel's residual contributions to. Everything about that variable must match everything about this variable (the type, what blocks it's on, etc.)
- seed0The seed for the master random number generator
Default:0
C++ Type:unsigned int
Description:The seed for the master random number generator
- use_displaced_meshTrueDisplaced mesh defaults to true
Default:True
C++ Type:bool
Description:Displaced mesh defaults to true
Advanced Parameters
- extra_matrix_tagsThe extra tags for the matrices this Kernel should fill
C++ Type:std::vector
Description:The extra tags for the matrices this Kernel should fill
- extra_vector_tagsThe extra tags for the vectors this Kernel should fill
C++ Type:std::vector
Description:The extra tags for the vectors this Kernel should fill
- matrix_tagssystemThe tag for the matrices this Kernel should fill
Default:system
C++ Type:MultiMooseEnum
Description:The tag for the matrices this Kernel should fill
- vector_tagsnontimeThe tag for the vectors this Kernel should fill
Default:nontime
C++ Type:MultiMooseEnum
Description:The tag for the vectors this Kernel should fill
Tagging Parameters
Input Files
- modules/tensor_mechanics/test/tests/gravity/ad_gravity_test.i
- modules/combined/test/tests/exception/ad.i