https://mooseframework.inl.gov
ComputeHomogenizedLagrangianStrainS.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 
14 // Helpers common to the whole homogenization system
15 namespace HomogenizationM
16 {
18 const MultiMooseEnum constraintType("strain stress none");
20 enum class ConstraintType
21 {
22  Strain,
23  Stress,
24  None
25 };
26 typedef std::map<std::pair<unsigned int, unsigned int>, std::pair<ConstraintType, const Function *>>
28 }
29 
37 {
38 public:
41 
42 protected:
43  virtual void computeQpProperties() override;
44 
45 protected:
47  const std::string _base_name;
48 
51 
54 
57 };
const VariableValue & _macro_gradient
ScalarVariable with the field.
ConstraintType
Constraint type: stress/PK stress or strain/deformation gradient.
const std::string _base_name
The base name for material properties.
OutputTools< Real >::VariableValue VariableValue
std::map< std::pair< unsigned int, unsigned int >, std::pair< ConstraintType, const Function * > > ConstraintMap
HomogenizationM::ConstraintMap _cmap
Constraint map.
const InputParameters & parameters() const
const MultiMooseEnum constraintType("strain stress none")
Moose constraint type, for input.
MaterialProperty< RankTwoTensor > & _homogenization_contribution
Unwrapped into a tensor.
Calculate the tensor corresponding to homogenization gradient.
ComputeHomogenizedLagrangianStrainS(const InputParameters &parameters)