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.
Public Types | Public Member Functions | Protected Member Functions | List of all members
Kratos::DEM_Inlet Class Reference

#include <inlet.h>

Inheritance diagram for Kratos::DEM_Inlet:
Collaboration diagram for Kratos::DEM_Inlet:

Public Types

typedef GlobalPointersVector< Element >::iterator ParticleWeakIteratorType
 
typedef GlobalPointersVector< ElementParticleWeakVectorType
 
typedef ModelPart::ElementsContainerType ElementsArrayType
 

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (DEM_Inlet)
 
 DEM_Inlet (ModelPart &inlet_modelpart, const int seed=42)
 Constructor: More...
 
 DEM_Inlet (ModelPart &inlet_modelpart, const Parameters &r_inlet_settings, const int seed=42)
 
virtual ~DEM_Inlet ()
 Destructor. More...
 
 DEM_Inlet (const DEM_Inlet &)=delete
 
DEM_Inletoperator= (const DEM_Inlet &)=delete
 
template<class TDataType >
void CheckIfSubModelPartHasVariable (ModelPart &smp, const Variable< TDataType > &rThisVariable)
 
virtual void CheckSubModelPart (ModelPart &smp)
 
virtual void InitializeDEM_Inlet (ModelPart &r_modelpart, ParticleCreatorDestructor &creator, const bool using_strategy_for_continuum=false)
 
virtual void InitializeStep (ModelPart &r_modelpart)
 
void DettachElements (ModelPart &r_modelpart, unsigned int &max_Id)
 
void DettachClusters (ModelPart &r_clusters_modelpart, unsigned int &max_Id)
 
bool OneNeighbourInjectorIsInjecting (const Element::Pointer &element)
 
virtual void CreateElementsFromInletMesh (ModelPart &r_modelpart, ModelPart &r_clusters_modelpart, ParticleCreatorDestructor &creator)
 
ModelPartGetInletModelPart ()
 
void SetNormalizedMaxIndentationForRelease (const double value)
 
void SetNormalizedMaxIndentationForNewParticleCreation (const double value)
 
int GetPartialNumberOfParticlesInjectedSoFar (const int i)
 
int GetTotalNumberOfParticlesInjectedSoFar ()
 
double GetPartialMassInjectedSoFar (const int i)
 
double GetTotalMassInjectedSoFar ()
 
virtual double SetMaxDistributionRadius (ModelPart &mp)
 
virtual double SetDistributionMeanRadius (ModelPart &mp)
 
virtual double GetMaxRadius (ModelPart &mp)
 

Protected Member Functions

virtual void AddRandomPerpendicularComponentToGivenVector (array_1d< double, 3 > &vector, const double angle_in_degrees)
 
virtual void AddRandomPerpendicularComponentToGivenVector2D (array_1d< double, 3 > &vector, const double angle_in_degrees)
 

Member Typedef Documentation

◆ ElementsArrayType

◆ ParticleWeakIteratorType

◆ ParticleWeakVectorType

Constructor & Destructor Documentation

◆ DEM_Inlet() [1/3]

Kratos::DEM_Inlet::DEM_Inlet ( ModelPart inlet_modelpart,
const int  seed = 42 
)

Constructor:

Constructor.

◆ DEM_Inlet() [2/3]

Kratos::DEM_Inlet::DEM_Inlet ( ModelPart inlet_modelpart,
const Parameters r_inlet_settings,
const int  seed = 42 
)

◆ ~DEM_Inlet()

virtual Kratos::DEM_Inlet::~DEM_Inlet ( )
inlinevirtual

Destructor.

◆ DEM_Inlet() [3/3]

Kratos::DEM_Inlet::DEM_Inlet ( const DEM_Inlet )
delete

Member Function Documentation

◆ AddRandomPerpendicularComponentToGivenVector()

void Kratos::DEM_Inlet::AddRandomPerpendicularComponentToGivenVector ( array_1d< double, 3 > &  vector,
const double  angle_in_degrees 
)
protectedvirtual

◆ AddRandomPerpendicularComponentToGivenVector2D()

void Kratos::DEM_Inlet::AddRandomPerpendicularComponentToGivenVector2D ( array_1d< double, 3 > &  vector,
const double  angle_in_degrees 
)
protectedvirtual

◆ CheckIfSubModelPartHasVariable()

template<class TDataType >
void Kratos::DEM_Inlet::CheckIfSubModelPartHasVariable ( ModelPart smp,
const Variable< TDataType > &  rThisVariable 
)
inline

◆ CheckSubModelPart()

void Kratos::DEM_Inlet::CheckSubModelPart ( ModelPart smp)
virtual

◆ CreateElementsFromInletMesh()

void Kratos::DEM_Inlet::CreateElementsFromInletMesh ( ModelPart r_modelpart,
ModelPart r_clusters_modelpart,
ParticleCreatorDestructor creator 
)
virtual

◆ DettachClusters()

void Kratos::DEM_Inlet::DettachClusters ( ModelPart r_clusters_modelpart,
unsigned int max_Id 
)

DIMENSION

◆ DettachElements()

void Kratos::DEM_Inlet::DettachElements ( ModelPart r_modelpart,
unsigned int max_Id 
)

DIMENSION

◆ GetInletModelPart()

ModelPart & Kratos::DEM_Inlet::GetInletModelPart ( )

◆ GetMaxRadius()

double Kratos::DEM_Inlet::GetMaxRadius ( ModelPart mp)
virtual

◆ GetPartialMassInjectedSoFar()

double Kratos::DEM_Inlet::GetPartialMassInjectedSoFar ( const int  i)

◆ GetPartialNumberOfParticlesInjectedSoFar()

int Kratos::DEM_Inlet::GetPartialNumberOfParticlesInjectedSoFar ( const int  i)

◆ GetTotalMassInjectedSoFar()

double Kratos::DEM_Inlet::GetTotalMassInjectedSoFar ( )

◆ GetTotalNumberOfParticlesInjectedSoFar()

int Kratos::DEM_Inlet::GetTotalNumberOfParticlesInjectedSoFar ( )

◆ InitializeDEM_Inlet()

void Kratos::DEM_Inlet::InitializeDEM_Inlet ( ModelPart r_modelpart,
ParticleCreatorDestructor creator,
const bool  using_strategy_for_continuum = false 
)
virtual

◆ InitializeStep()

void Kratos::DEM_Inlet::InitializeStep ( ModelPart r_modelpart)
virtual

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::DEM_Inlet::KRATOS_CLASS_POINTER_DEFINITION ( DEM_Inlet  )

◆ OneNeighbourInjectorIsInjecting()

bool Kratos::DEM_Inlet::OneNeighbourInjectorIsInjecting ( const Element::Pointer &  element)

◆ operator=()

DEM_Inlet& Kratos::DEM_Inlet::operator= ( const DEM_Inlet )
delete

◆ SetDistributionMeanRadius()

double Kratos::DEM_Inlet::SetDistributionMeanRadius ( ModelPart mp)
virtual

◆ SetMaxDistributionRadius()

double Kratos::DEM_Inlet::SetMaxDistributionRadius ( ModelPart mp)
virtual

◆ SetNormalizedMaxIndentationForNewParticleCreation()

void Kratos::DEM_Inlet::SetNormalizedMaxIndentationForNewParticleCreation ( const double  value)

◆ SetNormalizedMaxIndentationForRelease()

void Kratos::DEM_Inlet::SetNormalizedMaxIndentationForRelease ( const double  value)

The documentation for this class was generated from the following files: