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.
johnson_cook_thermal_hardening_law.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosSolidMechanicsApplication $
3 // Created by: $Author: JMCarbonell $
4 // Last modified by: $Co-Author: $
5 // Date: $Date: July 2018 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_JOHNSON_COOK_THERMAL_HARDENING_LAW_H_INCLUDED )
11 #define KRATOS_JOHNSON_COOK_THERMAL_HARDENING_LAW_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
18 #include "custom_constitutive/custom_hardening_laws/hardening_law.hpp"
19 
20 namespace Kratos
21 {
24 
27 
31 
35 
39 
43 
45 
47 class KRATOS_API(SOLID_MECHANICS_APPLICATION) JohnsonCookThermalHardeningLaw
48  : public HardeningLaw
49 {
50 public:
53 
56 
60 
63 
64 
67 
70 
73 
77 
82  HardeningLaw::Pointer Clone() const override;
83 
84 
88 
89  double& CalculateHardening(double &rHardening, const Parameters& rValues) override;
90 
91  double& CalculateIsotropicHardening(double &rIsotropicHardening, const Parameters& rValues) override;
92 
93  double& CalculateKinematicHardening(double &rKinematicHardening, const Parameters& rValues) override;
94 
95 
96  double& CalculateDeltaHardening(double &rDeltaHardening, const Parameters& rValues) override;
97 
98 
99  double& CalculateDeltaIsotropicHardening(double &rDeltaIsotropicHardening, const Parameters& rValues) override;
100 
101  double& CalculateDeltaKinematicHardening(double &rDeltaKinematicHardening, const Parameters& rValues) override;
102 
103 
104  double& CalculateDeltaThermalHardening(double &rDeltaThermalHardening, const Parameters& rValues) override;
105 
106 
110 
111 
115 
116 
120 
121  // /// Turn back information as a string.
122  // std::string Info() const;
123 
124  // /// Print information about this object.
125  // void PrintInfo(std::ostream& rOStream) const;
126 
127  // /// Print object's data.
128  // void PrintData(std::ostream& rOStream) const;
129 
130 
134 
135 
137 
138 protected:
141 
142 
146 
147 
151 
155 
156 
160 
161 
165 
166 
170 
171 
173 
174 private:
177 
178 
182 
186 
187 
191 
192 
196 
200  friend class Serializer;
201 
202  // A private default constructor necessary for serialization
203 
204  void save(Serializer& rSerializer) const override;
205 
206  void load(Serializer& rSerializer) override;
207 
211 
212 
216 
217 
219 
220 }; // Class JohnsonCookThermalHardeningLaw
221 
223 
226 
227 
231 
232 
234 // inline std::istream& operator >> (std::istream& rIStream,
235 // JohnsonCookThermalHardeningLaw& rThis);
236 
237 // /// output stream function
238 // inline std::ostream& operator << (std::ostream& rOStream,
239 // const JohnsonCookThermalHardeningLaw& rThis)
240 // {
241 // rThis.PrintInfo(rOStream);
242 // rOStream << std::endl;
243 // rThis.PrintData(rOStream);
244 
245 // return rOStream;
246 // }
248 
250 
251 } // namespace Kratos.
252 
253 #endif // KRATOS_JOHNSON_COOK_THERMAL_HARDENING_LAW_H_INCLUDED defined
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Short class definition.
Definition: hardening_law.hpp:52
Short class definition.
Definition: johnson_cook_thermal_hardening_law.hpp:49
KRATOS_CLASS_POINTER_DEFINITION(JohnsonCookThermalHardeningLaw)
Pointer definition of JohnsonCookThermalHardeningLaw.
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
Definition: hardening_law.hpp:56