#include <LineElementAction.h>
Public Types | |
typedef DataFileName | DataFileParameterType |
Public Member Functions | |
LineElementAction (const InputParameters ¶ms) | |
virtual void | act () |
void | timedAct () |
virtual void | addRelationshipManagers (Moose::RelationshipManagerType when_type) |
MooseObjectName | uniqueActionName () const |
const std::string & | specificTaskName () const |
const std::set< std::string > & | getAllTasks () const |
void | appendTask (const std::string &task) |
MooseApp & | getMooseApp () const |
const std::string & | type () const |
virtual const std::string & | name () const |
std::string | typeAndName () const |
std::string | errorPrefix (const std::string &error_type) const |
void | callMooseError (std::string msg, const bool with_prefix) const |
MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
const InputParameters & | parameters () const |
MooseObjectName | uniqueName () const |
const T & | getParam (const std::string &name) const |
std::vector< std::pair< T1, T2 > > | getParam (const std::string ¶m1, const std::string ¶m2) const |
const T * | queryParam (const std::string &name) const |
const T & | getRenamedParam (const std::string &old_name, const std::string &new_name) const |
T | getCheckedPointerParam (const std::string &name, const std::string &error_string="") const |
bool | isParamValid (const std::string &name) const |
bool | isParamSetByUser (const std::string &nm) const |
void | paramError (const std::string ¶m, Args... args) const |
void | paramWarning (const std::string ¶m, Args... args) const |
void | paramInfo (const std::string ¶m, Args... args) const |
void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
void | mooseError (Args &&... args) const |
void | mooseErrorNonPrefixed (Args &&... args) const |
void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
void | mooseWarning (Args &&... args) const |
void | mooseWarningNonPrefixed (Args &&... args) const |
void | mooseDeprecated (Args &&... args) const |
void | mooseInfo (Args &&... args) const |
std::string | getDataFileName (const std::string ¶m) const |
std::string | getDataFileNameByName (const std::string &relative_path) const |
std::string | getDataFilePath (const std::string &relative_path) const |
PerfGraph & | perfGraph () |
const Parallel::Communicator & | comm () const |
processor_id_type | n_processors () const |
processor_id_type | processor_id () const |
Static Public Member Functions | |
static InputParameters | validParams () |
static InputParameters | beamParameters () |
Add parameters required for a beam element. More... | |
Public Attributes | |
const ConsoleStream | _console |
Static Public Attributes | |
static constexpr auto | SYSTEM |
static constexpr auto | NAME |
Protected Types | |
enum | Strain { Strain::SMALL, Strain::FINITE } |
strain formulation More... | |
Protected Member Functions | |
void | actGatherActionParameters () |
Gather all the block ids from all the actions of this type to create variables spanning all the blocks. More... | |
void | actAddVariables () |
Adds displacement and rotation variables. More... | |
void | actAddMaterials () |
Adds material objects required for beam and truss elements. More... | |
void | actAddKernels () |
Adds StressDivergence kernels for beam and truss elements and inertia kernels for dynamic beam simulations. More... | |
void | actAddAuxVariables () |
Adds translational and rotational velocity and acceleration aux variables for dynamic beam simulations. More... | |
void | actAddAuxKernels () |
Adds auxkernels corresponding to the translational and rotational velocity and acceleration aux variables. More... | |
void | actAddNodalKernels () |
Adds nodal kernels that calculate inertial force/torque due to mass/inertia assigned to nodes of the beam. More... | |
bool | addRelationshipManagers (Moose::RelationshipManagerType when_type, const InputParameters &moose_object_pars) |
void | associateWithParameter (const std::string ¶m_name, InputParameters ¶ms) const |
void | associateWithParameter (const InputParameters &from_params, const std::string ¶m_name, InputParameters ¶ms) const |
const T & | getMeshProperty (const std::string &data_name, const std::string &prefix) |
const T & | getMeshProperty (const std::string &data_name) |
bool | hasMeshProperty (const std::string &data_name, const std::string &prefix) const |
bool | hasMeshProperty (const std::string &data_name, const std::string &prefix) const |
bool | hasMeshProperty (const std::string &data_name) const |
bool | hasMeshProperty (const std::string &data_name) const |
std::string | meshPropertyName (const std::string &data_name) const |
PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level) const |
PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const |
std::string | timedSectionName (const std::string §ion_name) const |
Static Protected Member Functions | |
static std::string | meshPropertyName (const std::string &data_name, const std::string &prefix) |
Protected Attributes | |
std::vector< VariableName > | _displacements |
Names of displacement variables. More... | |
unsigned int | _ndisp |
Number of displacement variables. More... | |
std::vector< VariableName > | _rotations |
Names of rotational variables for beam element. More... | |
std::vector< VariableName > | _velocities |
Names of translational velocity variables for dynamic simulation using beam element. More... | |
std::vector< VariableName > | _accelerations |
Names of translational acceleration variables for dynamic simulation beam element. More... | |
std::vector< VariableName > | _rot_velocities |
Names of rotational velocity variables for dynamic simulation using beam element. More... | |
std::vector< VariableName > | _rot_accelerations |
Names of rotational acceleration variables for dynamic simulation beam element. More... | |
std::vector< SubdomainName > | _subdomain_names |
If this vector is not empty the variables, auxvariables, kernels, auxkernels, nodalkernels and materials are restricted to these subdomains. More... | |
std::set< SubdomainID > | _subdomain_ids |
set generated from the passed in vector of subdomain names More... | |
std::set< SubdomainID > | _subdomain_id_union |
set generated from the combined block restrictions of all LineElementAction action blocks More... | |
enum LineElementAction::Strain | _strain_type |
Strain | _rotation_type |
bool | _use_displaced_mesh |
use displaced mesh (true unless _strain is SMALL_STRAIN_AND_ROTATION) More... | |
bool | _add_dynamic_variables |
Set to true to set up translational and acceleration AuxVariables and the corresponding AuxKernels using the action when the dynamic kernels or nodal kernels are not set by the action. More... | |
bool | _dynamic_consistent_inertia |
Set to true to use consistent mass and inertia matrices to calculate inertial forces/torques in dynamic beam simulations. More... | |
bool | _dynamic_nodal_translational_inertia |
Set to true to use nodal mass matrix to calculate inertial forces in dynamic beam simulations. More... | |
bool | _dynamic_nodal_rotational_inertia |
Set to true to use nodal inertia matrix to calculate inertial torques in dynamic beam simulations. More... | |
bool | _truss |
Set to true if line element is a truss. More... | |
std::string | _registered_identifier |
std::string | _specific_task_name |
std::set< std::string > | _all_tasks |
ActionWarehouse & | _awh |
const std::string & | _current_task |
std::shared_ptr< MooseMesh > & | _mesh |
std::shared_ptr< MooseMesh > & | _displaced_mesh |
std::shared_ptr< FEProblemBase > & | _problem |
PerfID | _act_timer |
MooseApp & | _app |
const std::string | _type |
const std::string | _name |
const InputParameters & | _pars |
Factory & | _factory |
ActionFactory & | _action_factory |
MooseApp & | _pg_moose_app |
const std::string | _prefix |
const Parallel::Communicator & | _communicator |
std::vector< AuxVariableName > | _save_in |
residual debugging More... | |
std::vector< AuxVariableName > | _diag_save_in |
Definition at line 14 of file LineElementAction.h.
|
strongprotected |
strain formulation
Enumerator | |
---|---|
SMALL | |
FINITE |
Definition at line 117 of file LineElementAction.h.
LineElementAction::LineElementAction | ( | const InputParameters & | params | ) |
Definition at line 206 of file LineElementAction.C.
|
virtual |
Implements Action.
Definition at line 367 of file LineElementAction.C.
|
protected |
Adds auxkernels corresponding to the translational and rotational velocity and acceleration aux variables.
Definition at line 651 of file LineElementAction.C.
Referenced by act().
|
protected |
Adds translational and rotational velocity and acceleration aux variables for dynamic beam simulations.
Definition at line 627 of file LineElementAction.C.
Referenced by act().
|
protected |
Adds StressDivergence kernels for beam and truss elements and inertia kernels for dynamic beam simulations.
Definition at line 525 of file LineElementAction.C.
Referenced by act().
|
protected |
Adds material objects required for beam and truss elements.
Definition at line 494 of file LineElementAction.C.
Referenced by act().
|
protected |
Adds nodal kernels that calculate inertial force/torque due to mass/inertia assigned to nodes of the beam.
Definition at line 706 of file LineElementAction.C.
Referenced by act().
|
protected |
Adds displacement and rotation variables.
Definition at line 457 of file LineElementAction.C.
Referenced by act().
|
protected |
Gather all the block ids from all the actions of this type to create variables spanning all the blocks.
Definition at line 427 of file LineElementAction.C.
Referenced by act().
|
static |
Add parameters required for a beam element.
Definition at line 82 of file LineElementAction.C.
Referenced by validParams().
|
static |
Definition at line 34 of file LineElementAction.C.
Referenced by CommonLineElementAction::validParams().
|
protected |
Names of translational acceleration variables for dynamic simulation beam element.
Definition at line 82 of file LineElementAction.h.
Referenced by actAddAuxKernels(), actAddAuxVariables(), actAddNodalKernels(), and LineElementAction().
|
protected |
Set to true to set up translational and acceleration AuxVariables and the corresponding AuxKernels using the action when the dynamic kernels or nodal kernels are not set by the action.
Definition at line 133 of file LineElementAction.h.
Referenced by actAddAuxKernels(), actAddAuxVariables(), and LineElementAction().
|
protected |
Definition at line 98 of file LineElementAction.h.
Referenced by actAddKernels(), actAddNodalKernels(), and LineElementAction().
|
protected |
Names of displacement variables.
Definition at line 64 of file LineElementAction.h.
Referenced by actAddAuxKernels(), actAddKernels(), actAddNodalKernels(), actAddVariables(), and LineElementAction().
|
protected |
Set to true to use consistent mass and inertia matrices to calculate inertial forces/torques in dynamic beam simulations.
Definition at line 139 of file LineElementAction.h.
Referenced by actAddKernels(), and LineElementAction().
|
protected |
Set to true to use nodal inertia matrix to calculate inertial torques in dynamic beam simulations.
Definition at line 151 of file LineElementAction.h.
Referenced by actAddNodalKernels(), and LineElementAction().
|
protected |
Set to true to use nodal mass matrix to calculate inertial forces in dynamic beam simulations.
Definition at line 145 of file LineElementAction.h.
Referenced by actAddNodalKernels(), and LineElementAction().
|
protected |
Number of displacement variables.
Definition at line 67 of file LineElementAction.h.
Referenced by actAddAuxKernels(), actAddKernels(), actAddNodalKernels(), and LineElementAction().
|
protected |
Names of rotational acceleration variables for dynamic simulation beam element.
Definition at line 94 of file LineElementAction.h.
Referenced by actAddAuxKernels(), actAddAuxVariables(), and LineElementAction().
|
protected |
Names of rotational velocity variables for dynamic simulation using beam element.
Definition at line 88 of file LineElementAction.h.
Referenced by actAddAuxKernels(), actAddAuxVariables(), and LineElementAction().
|
protected |
Definition at line 123 of file LineElementAction.h.
Referenced by actAddMaterials(), and LineElementAction().
|
protected |
Names of rotational variables for beam element.
Definition at line 70 of file LineElementAction.h.
Referenced by actAddAuxKernels(), actAddKernels(), actAddNodalKernels(), actAddVariables(), and LineElementAction().
|
protected |
residual debugging
Definition at line 97 of file LineElementAction.h.
Referenced by actAddKernels(), actAddNodalKernels(), and LineElementAction().
|
protected |
Referenced by actAddMaterials(), and LineElementAction().
|
protected |
set generated from the combined block restrictions of all LineElementAction action blocks
Definition at line 114 of file LineElementAction.h.
Referenced by actGatherActionParameters().
|
protected |
set generated from the passed in vector of subdomain names
Definition at line 108 of file LineElementAction.h.
Referenced by act().
|
protected |
If this vector is not empty the variables, auxvariables, kernels, auxkernels, nodalkernels and materials are restricted to these subdomains.
Definition at line 105 of file LineElementAction.h.
Referenced by act().
|
protected |
Set to true if line element is a truss.
Definition at line 154 of file LineElementAction.h.
Referenced by actAddAuxKernels(), actAddAuxVariables(), actAddKernels(), actAddMaterials(), actAddNodalKernels(), actAddVariables(), and LineElementAction().
|
protected |
use displaced mesh (true unless _strain is SMALL_STRAIN_AND_ROTATION)
Definition at line 126 of file LineElementAction.h.
Referenced by actAddKernels(), actAddNodalKernels(), and LineElementAction().
|
protected |
Names of translational velocity variables for dynamic simulation using beam element.
Definition at line 76 of file LineElementAction.h.
Referenced by actAddAuxKernels(), actAddAuxVariables(), actAddNodalKernels(), and LineElementAction().