GranOO  3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
Namespaces | Functions
Util.cpp File Reference
#include "GranOO3/DEM/DiscreteElement.hpp"
#include "GranOO3/DEM/Prop/Electrical.hpp"
#include "GranOO3/DEM/Prop/Thermal.hpp"
#include "GranOO3/DEM/Prop/Util.hpp"

Namespaces

 GranOO3
 
 GranOO3::DEM
 This namespace group the entire DEM library.
 
 GranOO3::DEM::PropUtil
 

Functions

double GranOO3::DEM::PropUtil::get_local_resistance_between (ResistanceType resType, const DEM::Element &DE1, const DEM::Element &DE2)
 Computes the local resistance between two discrete elements. This resistance can be either thermal or electrical, and depends on the eccentricity of both discrete elements (see the get_eccentricity() method). More...
 
double GranOO3::DEM::PropUtil::get_eccentricity (const DEM::Element &de)
 this function computes the eccentricity of an element taking into account its neighbor
More...
 
double GranOO3::DEM::PropUtil::get_eccentricity_factor (unsigned int criterion, double eccentricity)
 this function computes the eccentricity factor based on the eccentricity value (computed using get_eccentricity() method) and on a criterion, which should be defined as 0. More...
 
double GranOO3::DEM::PropUtil::get_surface_transmission (size_t NeighboursCount, double DERadius)
 Computes the transmission surface available for a given discrete element. This surface is used to conduct temperature or electrical current, and depends on the number of neighbours surrounding a given discete elements. Please refer to [1] for more information on the computation method. More...
 
double GranOO3::DEM::PropUtil::get_volume_fraction (size_t NeighboursCount)
 Similarly to the get_surface_transmission() method, computes the volume fraction of a discrete element surrounded by a given number of neighbours. More...