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.
baker_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_BAKER_JOHNSON_COOK_THERMAL_HARDENING_LAW_H_INCLUDED )
11 #define KRATOS_BAKER_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) BakerJohnsonCookThermalHardeningLaw
48  : public HardeningLaw
49 {
50 public:
53 
56 
60 
63 
64 
67 
70 
73 
77 
82  HardeningLaw::Pointer Clone() const override;
83 
87 
88  double& CalculateHardening(double &rHardening, const Parameters& rValues) override;
89 
90  double& CalculateIsotropicHardening(double &rIsotropicHardening, const Parameters& rValues) override;
91 
92  double& CalculateKinematicHardening(double &rKinematicHardening, const Parameters& rValues) override;
93 
94 
95  double& CalculateDeltaHardening(double &rDeltaHardening, const Parameters& rValues) override;
96 
97 
98  double& CalculateDeltaIsotropicHardening(double &rDeltaIsotropicHardening, const Parameters& rValues) override;
99 
100  double& CalculateDeltaKinematicHardening(double &rDeltaKinematicHardening, const Parameters& rValues) override;
101 
102 
103  double& CalculateDeltaThermalHardening(double &rDeltaThermalHardening, const Parameters& rValues) override;
104 
105 
109 
110 
114 
115 
119 
120  // /// Turn back information as a string.
121  // std::string Info() const;
122 
123  // /// Print information about this object.
124  // void PrintInfo(std::ostream& rOStream) const;
125 
126  // /// Print object's data.
127  // void PrintData(std::ostream& rOStream) const;
128 
129 
133 
134 
136 
137 protected:
140 
141 
145 
146 
150 
154 
155 
159 
160 
164 
165 
169 
170 
172 
173 private:
176 
177 
181 
185 
186 
190 
191 
195 
199  friend class Serializer;
200 
201  // A private default constructor necessary for serialization
202 
203  void save(Serializer& rSerializer) const override;
204 
205  void load(Serializer& rSerializer) override;
206 
210 
211 
215 
216 
218 
219 }; // Class BakerJohnsonCookThermalHardeningLaw
220 
222 
225 
226 
230 
231 
233 // inline std::istream& operator >> (std::istream& rIStream,
234 // BakerJohnsonCookThermalHardeningLaw& rThis);
235 
236 // /// output stream function
237 // inline std::ostream& operator << (std::ostream& rOStream,
238 // const BakerJohnsonCookThermalHardeningLaw& rThis)
239 // {
240 // rThis.PrintInfo(rOStream);
241 // rOStream << std::endl;
242 // rThis.PrintData(rOStream);
243 
244 // return rOStream;
245 // }
247 
249 
250 } // namespace Kratos.
251 
252 #endif // KRATOS_BAKER_JOHNSON_COOK_THERMAL_HARDENING_LAW_H_INCLUDED defined
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Short class definition.
Definition: baker_johnson_cook_thermal_hardening_law.hpp:49
KRATOS_CLASS_POINTER_DEFINITION(BakerJohnsonCookThermalHardeningLaw)
Pointer definition of BakerJohnsonCookThermalHardeningLaw.
Short class definition.
Definition: hardening_law.hpp:52
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