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.
force_based_inlet.h
Go to the documentation of this file.
1 // Author: Guillermo Casas (gcasas@cimne.upc.edu)
2 
3 #if !defined(DEM_FORCE_BASED_INLET_H)
4 #define DEM_FORCE_BASED_INLET_H
5 
6 // Project includes
7 #include "inlet.h"
8 
9 namespace Kratos {
10 
11  class KRATOS_API(DEM_APPLICATION) DEM_Force_Based_Inlet: public DEM_Inlet
12  {
13  public:
17 
19 
21  DEM_Force_Based_Inlet(ModelPart& inlet_modelpart, array_1d<double, 3> injection_force, const int seed=42);
22 
25 
26  private:
27  array_1d<double, 3> mInjectionForce;
28  void FixInjectionConditions(Element* p_element, Element* p_injector_element) override;
29  void FixInjectorConditions(Element* p_element) override;
30  void RemoveInjectionConditions(Element &element, const int dimension) override;
31  virtual array_1d<double, 3> GetInjectionForce(Element* p_element);
32  };
33 }// namespace Kratos.
34 
35 #endif // DEM_FORCE_BASED_INLET_H defined
Definition: force_based_inlet.h:12
virtual ~DEM_Force_Based_Inlet()
Destructor.
Definition: force_based_inlet.h:24
KRATOS_CLASS_POINTER_DEFINITION(DEM_Force_Based_Inlet)
ModelPart::ElementsContainerType ElementsArrayType
Definition: force_based_inlet.h:16
GlobalPointersVector< Element >::iterator ParticleWeakIteratorType
Definition: force_based_inlet.h:14
GlobalPointersVector< Element > ParticleWeakVectorType
Definition: force_based_inlet.h:15
Definition: inlet.h:39
Base class for all Elements.
Definition: element.h:60
This class is a vector which stores global pointers.
Definition: global_pointers_vector.h:61
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
MeshType::ElementsContainerType ElementsContainerType
Element container. A vector set of Elements with their Id's as key.
Definition: model_part.h:168
int seed
Definition: GenerateWind.py:138
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
int dimension
Definition: isotropic_damage_automatic_differentiation.py:123
Definition: mesh_converter.cpp:33