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.
|
#include <binbased_DEM_fluid_coupled_mapping.h>
Public Member Functions | |
Life Cycle | |
BinBasedDEMFluidCoupledMapping (Parameters &rParameters, SpatialSearch::Pointer pSpSearch=NULL) | |
Default constructor. More... | |
virtual | ~BinBasedDEMFluidCoupledMapping () |
Destructor. More... | |
Operations | |
template<class TDataType > | |
void | AddDEMCouplingVariable (Variable< TDataType > const &r_variable) |
template<class TDataType > | |
void | AddFluidCouplingVariable (Variable< TDataType > const &r_variable) |
template<class TDataType > | |
void | AddDEMVariablesToImpose (Variable< TDataType > const &r_variable) |
template<class TDataType > | |
void | AddFluidVariableToBeTimeFiltered (Variable< TDataType > const &r_variable, const double time_constant) |
template<class TDataType > | |
void | AddCouplingVariable (Variable< TDataType > const &r_variable, std::string variable_list_identifier, std::string coupling_variable_description) |
void | InterpolateFromFluidMesh (ModelPart &r_fluid_model_part, ModelPart &r_dem_model_part, Parameters ¶meters, BinBasedFastPointLocator< TDim > &bin_of_objects_fluid, const double alpha) |
Interpolate fluid data onto the DEM model part. More... | |
void | ImposeFlowOnDEMFromField (FluidFieldUtility &r_flow, ModelPart &r_dem_model_part) |
void | ImposeVelocityOnDEMFromFieldToAuxVelocity (FluidFieldUtility &r_flow, ModelPart &r_dem_model_part) |
void | InterpolateVelocityOnAuxVelocity (ModelPart &r_fluid_model_part, ModelPart &r_dem_model_part, BinBasedFastPointLocator< TDim > &bin_of_objects_fluid, const double alpha) |
void | UpdateOldVelocity (ModelPart &r_dem_model_part) |
void | UpdateOldAdditionalForce (ModelPart &r_dem_model_part) |
void | InterpolateFromDEMMesh (ModelPart &r_dem_model_part, ModelPart &r_fluid_model_part, BinBasedFastPointLocator< TDim > &bin_of_objects_fluid) |
void | VariingRadiusHomogenizeFromDEMMesh (ModelPart &r_dem_model_part, ModelPart &r_fluid_model_part, const double &search_radius, const double &shape_factor, bool must_search=true, bool use_drew_model=false) |
void | HomogenizeFromDEMMesh (ModelPart &r_dem_model_part, ModelPart &r_fluid_model_part, const double &search_radius, const double &shape_factor, bool must_search=true, bool use_drew_model=false) |
void | ComputePostProcessResults (ModelPart &r_dem_model_part, ModelPart &r_fluid_model_part, ModelPart &rfem_dem_model_part, BinBasedFastPointLocator< TDim > &bin_of_objects_fluid, const ProcessInfo &r_current_process_info) |
Input and output | |
virtual std::string | Info () const |
Turn back information as a stemplate<class T, std::size_t dim> tring. More... | |
virtual void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
virtual void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
Friends | |
DenseVector< unsigned int > & | GetElementPartition () |
DenseVector< unsigned int > & | GetNodePartition () |
ElementsArrayType::iterator | GetElementPartitionBegin (ModelPart &r_model_part, unsigned int k) |
ElementsArrayType::iterator | GetElementPartitionEnd (ModelPart &r_model_part, unsigned int k) |
NodesArrayType::iterator | GetNodePartitionBegin (ModelPart &r_model_part, unsigned int k) |
NodesArrayType::iterator | GetNodePartitionEnd (ModelPart &r_model_part, unsigned int k) |
Protected Attributes | |
DenseVector< unsigned int > | mElementsPartition |
DenseVector< unsigned int > | mNodesPartition |
typedef BinBasedDEMFluidCoupledMapping<TDim, TBaseTypeOfSwimmingParticle> Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::BinBasedDEMFluidCoupledMapping_TDim_TBaseTypeOfSwimmingParticle |
Pointer definition of BinBasedDEMFluidCoupledMapping.
typedef SpatialSearch::DistanceType Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::DistanceType |
typedef ModelPart::ElementsContainerType::iterator Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::ElementIteratorType |
typedef ModelPart::ElementsContainerType Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::ElementsArrayType |
typedef std::size_t Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::ListIndexType |
typedef std::vector<Node::Pointer> Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::NodalPointersContainerType |
typedef ModelPart::NodesContainerType::iterator Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::NodeIteratorType |
typedef ModelPart::NodesContainerType Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::NodesArrayType |
typedef SwimmingParticle<TBaseTypeOfSwimmingParticle> Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::ParticleType |
typedef ElementsArrayType::ContainerType Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::ResultElementsContainerType |
typedef NodesArrayType::ContainerType Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::ResultNodesContainerType |
typedef SpatialSearch::VectorDistanceType Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::VectorDistanceType |
typedef std::vector<ResultElementsContainerType> Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::VectorResultElementsContainerType |
typedef std::vector<ResultNodesContainerType> Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::VectorResultNodesContainerType |
|
inline |
Default constructor.
|
inlinevirtual |
Destructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::ComputePostProcessResults | ( | ModelPart & | r_dem_model_part, |
ModelPart & | r_fluid_model_part, | ||
ModelPart & | rfem_dem_model_part, | ||
BinBasedFastPointLocator< TDim > & | bin_of_objects_fluid, | ||
const ProcessInfo & | r_current_process_info | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::HomogenizeFromDEMMesh | ( | ModelPart & | r_dem_model_part, |
ModelPart & | r_fluid_model_part, | ||
const double & | search_radius, | ||
const double & | shape_factor, | ||
bool | must_search = true , |
||
bool | use_drew_model = false |
||
) |
void Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::ImposeFlowOnDEMFromField | ( | FluidFieldUtility & | r_flow, |
ModelPart & | r_dem_model_part | ||
) |
void Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::ImposeVelocityOnDEMFromFieldToAuxVelocity | ( | FluidFieldUtility & | r_flow, |
ModelPart & | r_dem_model_part | ||
) |
|
inlinevirtual |
Turn back information as a stemplate<class T, std::size_t dim> tring.
void Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::InterpolateFromDEMMesh | ( | ModelPart & | r_dem_model_part, |
ModelPart & | r_fluid_model_part, | ||
BinBasedFastPointLocator< TDim > & | bin_of_objects_fluid | ||
) |
void Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::InterpolateFromFluidMesh | ( | ModelPart & | r_fluid_model_part, |
ModelPart & | r_dem_model_part, | ||
Parameters & | parameters, | ||
BinBasedFastPointLocator< TDim > & | bin_of_objects_fluid, | ||
const double | alpha | ||
) |
Interpolate fluid data onto the DEM model part.
r_fluid_model_part | the origin model part from which to project |
r_dem_model_part | the destination model part of which we want to interpolate its nodal values |
bin_of_objects_fluid | pre-assembled bin of objects (elements of the fluid mesh). It is to be constructed separately |
void Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::InterpolateVelocityOnAuxVelocity | ( | ModelPart & | r_fluid_model_part, |
ModelPart & | r_dem_model_part, | ||
BinBasedFastPointLocator< TDim > & | bin_of_objects_fluid, | ||
const double | alpha | ||
) |
Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::KRATOS_CLASS_POINTER_DEFINITION | ( | BinBasedDEMFluidCoupledMapping_TDim_TBaseTypeOfSwimmingParticle | ) |
|
inlinevirtual |
Print object's data.
|
inlinevirtual |
Print information about this object.
void Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::UpdateOldAdditionalForce | ( | ModelPart & | r_dem_model_part | ) |
void Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::UpdateOldVelocity | ( | ModelPart & | r_dem_model_part | ) |
void Kratos::BinBasedDEMFluidCoupledMapping< TDim, TBaseTypeOfSwimmingParticle >::VariingRadiusHomogenizeFromDEMMesh | ( | ModelPart & | r_dem_model_part, |
ModelPart & | r_fluid_model_part, | ||
const double & | search_radius, | ||
const double & | shape_factor, | ||
bool | must_search = true , |
||
bool | use_drew_model = false |
||
) |
|
protected |
|
protected |