https://mooseframework.inl.gov
ComputeHomogenizedLagrangianStrainA.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 HomogenizationB
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 
38 {
39 public:
42 
43 protected:
44  virtual void computeQpProperties() override;
45 
46 protected:
48  const std::string _base_name;
49 
52 
55 
58 
61 };
ConstraintType
Constraint type: stress/PK stress or strain/deformation gradient.
const std::string _base_name
The base name for material properties.
Calculate the tensor corresponding to homogenization gradient.
const VariableValue & _macro_gradientA
ScalarVariable with 1st component of the field.
const VariableValue & _macro_gradient
ScalarVariable with the field.
ComputeHomogenizedLagrangianStrainA(const InputParameters &parameters)
std::map< std::pair< unsigned int, unsigned int >, std::pair< ConstraintType, const Function * > > ConstraintMap
HomogenizationB::ConstraintMap _cmap
Constraint map.
OutputTools< Real >::VariableValue VariableValue
const InputParameters & parameters() const
const MultiMooseEnum constraintType("strain stress none")
Moose constraint type, for input.
MaterialProperty< RankTwoTensor > & _homogenization_contribution
Unwrapped into a tensor.