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.
direct_conduction_bob_modified.h
Go to the documentation of this file.
1 // Kratos Multi-Physics - ThermalDEM Application
2 //
3 // License: BSD License
4 // Kratos default license: kratos/license.txt
5 //
6 // Main authors: Rafael Rangel (rrangel@cimne.upc.edu)
7 //
8 
9 #if !defined(DIRECT_CONDUCTION_MODEL_BOB_MODIFIED_H_INCLUDED)
10 #define DIRECT_CONDUCTION_MODEL_BOB_MODIFIED_H_INCLUDED
11 
12 // System includes
13 
14 // External includes
15 
16 // Project includes
18 
19 namespace Kratos
20 {
21  class KRATOS_API(THERMAL_DEM_APPLICATION) DirectConductionBOBModified : public DirectConductionBOBComplete
22  {
23  public:
24 
25  // Pointer definition
27 
28  // Constructor / Destructor
30  virtual ~DirectConductionBOBModified();
31 
32  // Public methods
33  double ComputeHeatFlux (const ProcessInfo& r_process_info, ThermalSphericParticle* particle) override;
34  double ComputeInnerResistance (const ProcessInfo& r_process_info, ThermalSphericParticle* particle);
35  double InnerResistanceWithParticle (const ProcessInfo& r_process_info, ThermalSphericParticle* particle);
36  double InnerResistanceWithWall (const ProcessInfo& r_process_info, ThermalSphericParticle* particle);
37 
38  // Clone
39  HeatExchangeMechanism* CloneRaw() const override {
40  HeatExchangeMechanism* cloned_model(new DirectConductionBOBModified(*this));
41  return cloned_model;
42  }
43 
44  HeatExchangeMechanism::Pointer CloneShared() const override {
45  HeatExchangeMechanism::Pointer cloned_model(new DirectConductionBOBModified(*this));
46  return cloned_model;
47  }
48 
49  // Turn back information as a string
50  virtual std::string Info() const override {
51  std::stringstream buffer;
52  buffer << "DirectConductionBOBModified";
53  return buffer.str();
54  }
55 
56  // Print object information
57  virtual void PrintInfo(std::ostream& rOStream) const override { rOStream << "DirectConductionBOBModified"; }
58  virtual void PrintData(std::ostream& rOStream) const override {}
59 
60  private:
61 
62  // Assignment operator / Copy constructor
64  DirectConductionBOBModified(DirectConductionBOBModified const& rOther) {*this = rOther;}
65 
66  }; // Class DirectConductionBOBModified
67 
68  // input stream function
69  inline std::istream& operator>>(std::istream& rIStream,
71  return rIStream;
72  }
73 
74  // output stream function
75  inline std::ostream& operator<<(std::ostream& rOStream,
76  const DirectConductionBOBModified& rThis) {
77  rThis.PrintInfo(rOStream);
78  rOStream << std::endl;
79  rThis.PrintData(rOStream);
80  return rOStream;
81  }
82 
83 } // namespace Kratos
84 
85 #endif // DIRECT_CONDUCTION_MODEL_BOB_MODIFIED_H_INCLUDED
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: direct_conduction_bob_complete.h:22
Definition: direct_conduction_bob_modified.h:22
virtual void PrintData(std::ostream &rOStream) const override
Definition: direct_conduction_bob_modified.h:58
virtual void PrintInfo(std::ostream &rOStream) const override
Definition: direct_conduction_bob_modified.h:57
HeatExchangeMechanism::Pointer CloneShared() const override
Definition: direct_conduction_bob_modified.h:44
virtual std::string Info() const override
Definition: direct_conduction_bob_modified.h:50
KRATOS_CLASS_POINTER_DEFINITION(DirectConductionBOBModified)
HeatExchangeMechanism * CloneRaw() const override
Definition: direct_conduction_bob_modified.h:39
Definition: heat_exchange_mechanism.h:28
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Definition: thermal_spheric_particle.h:30
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432