KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
J2_explicit_plastic_flow_rule.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosPfemSolidMechanicsApplication $
3 // Created by: $Author: LMonforte $
4 // Last modified by: $Co-Author: $
5 // Date: $Date: July 2015 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_J2_PLASTIC_FLOW_RULE_H_INCLUDED )
11 #define KRATOS_J2_PLASTIC_FLOW_RULE_H_INCLUDED
12 
13 
14 // System includes
15 
16 // External includes
17 
18 // Project includes
20 
21 
22 namespace Kratos
23 {
26 
29 
33 
37 
41 
45 
47 
49  class KRATOS_API(PFEM_SOLID_MECHANICS_APPLICATION) J2ExplicitFlowRule
51  {
52 
53 
54 
55  public:
58 
61 
65 
68 
71 
74 
77 
78  // CLONE
79  FlowRule::Pointer Clone() const override;
80 
82  virtual ~J2ExplicitFlowRule();
83 
84 
88 
89 
93 
94 
98 
99 
103 
104 
108 
109  // /// Turn back information as a string.
110  // std::string Info() const override;
111 
112  // /// Print information about this object.
113  // void PrintInfo(std::ostream& rOStream) const override;
114 
115  // /// Print object's data.
116  // void PrintData(std::ostream& rOStream) const override;
117 
118 
122 
123 
125 
126  protected:
129 
130 
134 
135 
139 
140 
144 
145  void CalculateKirchhoffStressVector(const Vector& rHencyStrainVector, Vector& rKirchhoffStressVector) override;
146 
147  void ComputeElasticMatrix(const Vector& rElasticStrainVector, Matrix& rElasticMatrix) override;
148 
149  void ComputePlasticHardeningParameter(const Vector& rHenckyStrainVector, const double& rAlpha, double& rH) override;
150 
151 // bool CalculateConsistencyCondition( RadialReturnVariables& rReturnMappingVariables, InternalVariables& rPlasticVariables );
152 
153 
154  //void UpdateConfiguration( ExponentialReturnVariables& rReturnMappingVariables, Matrix & rIsoStressMatrix );
155 
156  void CalculatePlasticPotentialDerivatives(const Vector& rStressVector, Vector& rFirstDerivative, Matrix& rSecondDerivative) override;
157 
158 // void CalculateInvariantsAndDerivatives(const Vector& rStressVector, InvariantsStructure& rInv);
159 
163 
164 
168 
169 
173 
174 
176 
177  private:
180 
181 
185 
186 
190 
191 
195 
196 
200 
201 
205  friend class Serializer;
206 
207  // A private default constructor necessary for serialization
208 
209  void save(Serializer& rSerializer) const override;
210 
211  void load(Serializer& rSerializer) override;
212 
216 
217 
221 
223 
224  }; // Class NonLinearAssociativePlasticFlowRule
225 
227 
230 
231 
235 
236 
238  // inline std::istream& operator >> (std::istream& rIStream,
239  // NonLinearAssociativePlasticFlowRule& rThis);
240 
241  // /// output stream function
242  // inline std::ostream& operator << (std::ostream& rOStream,
243  // const NonLinearAssociativePlasticFlowRule& rThis)
244  // {
245  // rThis.PrintInfo(rOStream);
246  // rOStream << std::endl;
247  // rThis.PrintData(rOStream);
248 
249  // return rOStream;
250  // }
252 
254 
255 
256 
260 
261 
263 
264 
265 } // namespace Kratos.
266 
267 #endif // KRATOS_MATSUOKA_NAKAI_PLASTIC_FLOW_RULE_H_INCLUDED defined
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
YieldCriterion::Pointer YieldCriterionPointer
Definition: flow_rule.hpp:56
Short class definition.
Definition: J2_explicit_plastic_flow_rule.hpp:51
KRATOS_CLASS_POINTER_DEFINITION(J2ExplicitFlowRule)
Pointer definition of NonLinearAssociativePlasticFlowRule.
Short class definition.
Definition: non_associative_explicit_flow_rule.hpp:55
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307