https://mooseframework.inl.gov
Loading...
Searching...
No Matches
StrainAdjustedDensity.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 "Material.h"
13
17template <bool is_ad>
19{
20public:
22
24
25protected:
26 virtual void initQpStatefulProperties() override;
27 virtual void computeQpProperties() override;
28
31
32 const std::string _base_name;
34
35private:
36 std::vector<const GenericVariableGradient<is_ad> *> _grad_disp;
38};
39
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Moose::GenericType< VariableValue, is_ad > GenericVariableValue
StrainAdjustedDensityTempl< true > ADStrainAdjustedDensity
StrainAdjustedDensityTempl< false > StrainAdjustedDensity
Compute density depending on strains from deforming mesh.
const GenericVariableValue< is_ad > & _disp_r
GenericMaterialProperty< Real, is_ad > & _density
const Moose::CoordinateSystemType _coord_system
const GenericMaterialProperty< Real, is_ad > & _strain_free_density
virtual void initQpStatefulProperties() override
std::vector< const GenericVariableGradient< is_ad > * > _grad_disp
virtual void computeQpProperties() override
static InputParameters validParams()
CoordinateSystemType