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 Member Functions | List of all members
Kratos::ParticleConvectUtily< TDim > Class Template Reference

#include <convect_particles_utilities.h>

Collaboration diagram for Kratos::ParticleConvectUtily< TDim >:

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (ParticleConvectUtily< TDim >)
 
 ParticleConvectUtily (typename BinBasedFastPointLocator< TDim >::Pointer pSearchStructure)
 
 ~ParticleConvectUtily ()
 
void MoveParticles_Substepping (ModelPart &rModelPart, unsigned int subdivisions)
 
void MoveParticles_RK4 (ModelPart &rModelPart)
 
void EraseOuterElements (ModelPart &rModelPart)
 

Constructor & Destructor Documentation

◆ ParticleConvectUtily()

template<std::size_t TDim>
Kratos::ParticleConvectUtily< TDim >::ParticleConvectUtily ( typename BinBasedFastPointLocator< TDim >::Pointer  pSearchStructure)
inline

◆ ~ParticleConvectUtily()

template<std::size_t TDim>
Kratos::ParticleConvectUtily< TDim >::~ParticleConvectUtily ( )
inline

Member Function Documentation

◆ EraseOuterElements()

template<std::size_t TDim>
void Kratos::ParticleConvectUtily< TDim >::EraseOuterElements ( ModelPart rModelPart)
inline

this function erases the elements and conditions which have at least one node marked for erase

Parameters
rModelPartthe model part on which we work

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<std::size_t TDim>
Kratos::ParticleConvectUtily< TDim >::KRATOS_CLASS_POINTER_DEFINITION ( ParticleConvectUtily< TDim >  )

◆ MoveParticles_RK4()

template<std::size_t TDim>
void Kratos::ParticleConvectUtily< TDim >::MoveParticles_RK4 ( ModelPart rModelPart)
inline

this function moves the mesh as xn+1 = xn + vn*dt and sets the mesh velocity to vn

Parameters
rModelPartthe model part on which we work

◆ MoveParticles_Substepping()

template<std::size_t TDim>
void Kratos::ParticleConvectUtily< TDim >::MoveParticles_Substepping ( ModelPart rModelPart,
unsigned int  subdivisions 
)
inline

this function moves all the nodes contained in rModelPart from their position at time tn to the one at time tn+1 by following the trajectories. This is done by performing "subdivions" forward euler steps within each time step

Parameters
rModelPartthe model part on which we work
subdivisionsnumber of forward euler substeps used in advancing in time

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