https://mooseframework.inl.gov
Loading...
Searching...
No Matches
KineticEnergyAux.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 "AuxKernel.h"
13#include "RankTwoTensor.h"
14
15// Forward declarations
16template <bool is_ad>
18{
19public:
21
24
25protected:
26 virtual Real computeValue();
27
29 const std::string _base_name;
30
33
37};
38
KineticEnergyAuxTempl< false > KineticEnergyAux
KineticEnergyAuxTempl< true > ADKineticEnergyAux
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
const VariableValue & _vel_z
const GenericMaterialProperty< Real, is_ad > & _density
The stress tensor.
virtual Real computeValue()
static InputParameters validParams()
const VariableValue & _vel_y
const std::string _base_name
Base name of the material system used to calculate the elastic energy.
const VariableValue & _vel_x
const InputParameters & parameters() const
VariableValueTempl< false > VariableValue