https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorosityFromStrain.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>
54
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
PorosityFromStrainTempl< true > ADPorosityFromStrain
PorosityFromStrainTempl< false > PorosityFromStrain
const InputParameters & parameters() const
Porosity calculation from the inelastic strain.
static InputParameters validParams()
virtual void initQpStatefulProperties() override
const Real _initial_porosity
Initial porosity.
virtual void computeQpProperties() override
const GenericMaterialProperty< RankTwoTensor, is_ad > & _inelastic_strain
Inelastic strain material property.
const NegativeBehavior _negative_behavior
Enum for negative porosity handling.
const MaterialProperty< RankTwoTensor > & _inelastic_strain_old
Old value of the inelastic strain.
GenericMaterialProperty< Real, is_ad > & _porosity
Porosity value.
const MaterialProperty< Real > & _porosity_old
Old porosity value.