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

Go to the source code of this file.

Namespaces

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

Enumerations

enum  GranOO3::DEM::PropUtil::ResistanceType { GranOO3::DEM::PropUtil::THERMAL , GranOO3::DEM::PropUtil::ELECTRICAL }
 An enumeration for representing the different kind of resistance. More...
 

Functions

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_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_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...