https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NodalTranslationalInertia.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "TimeNodalKernel.h"
13
14// Forward Declarations
15class TimeIntegrator;
16class AuxiliarySystem;
17
22{
23public:
25
27
28protected:
29 virtual Real computeQpResidual() override;
30
31 virtual Real computeQpJacobian() override;
32
34 const bool _has_mass;
35 const bool _has_beta;
36 const bool _has_gamma;
37 const bool _has_velocity;
40
42 const Real _mass;
43
46
48 const Real _beta;
49
51 const Real _gamma;
52
54 const Real & _eta;
55
57 const Real & _alpha;
58
61
63 unsigned int _vel_num;
64
66 unsigned int _accel_num;
67
69 std::map<dof_id_type, Real> _node_id_to_mass;
70
71 // Velocity and acceleration calculated by time integrator
77
80};
const InputParameters & parameters() const
Calculates the inertial force and mass proportional damping for a nodal mass.
static InputParameters validParams()
unsigned int _vel_num
Variable number corresponding to the velocity aux variable.
const bool _has_mass
Booleans for validity of params.
std::map< dof_id_type, Real > _node_id_to_mass
Map between boundary nodes and nodal mass.
const Real _beta
Newmark time integration parameter.
const Real & _eta
Mass proportional Rayliegh damping.
const VariableValue * _u_dotdot_factor
const Real _mass
Mass associated with the node.
const Real _gamma
Newmark time integration parameter.
const VariableValue * _u_old
Old value of displacement.
virtual Real computeQpJacobian() override
const Real & _alpha
HHT time integration parameter.
AuxiliarySystem * _aux_sys
Auxiliary system object.
virtual Real computeQpResidual() override
const TimeIntegrator & _time_integrator
The TimeIntegrator.
unsigned int _accel_num
Variable number corresponding to the acceleration aux variable.
VariableValueTempl< false > VariableValue