NuTo
Numerics Tool
Public Types | Public Member Functions | List of all members
NuTo::GeometryConcrete Class Reference

#include <GeometryConcrete.h>

Public Types

enum  eGradingCurve { A16, B16, C16 }
 

Public Member Functions

 GeometryConcrete ()
 
virtual ~GeometryConcrete ()
 
void MaximizeParticleDistance (double rParticleDistance)
 runs a RSA simulation with the desired phi afterwards, runs a EDMD simulation to maximize the particle distance More...
 
void MaximizeParticleVolumeFraction (double rShrinkage)
 runs a RSA simulation with smaller spheres afterwards, runs a EDMD simulation to reach the original sphere size More...
 
void ExportGmshGeo2D (std::string rGmshFile, double rMeshSize, double rZSlice, double rMinRadius)
 exports the geometry to a 2D mesh file More...
 
void ExportGmshGeo3D (std::string rGmshFile, double rMeshSize)
 exports the geometry to a 3D mesh file More...
 
void SetSpecimenBox (double rXs, double rXe, double rYs, double rYe, double rZs, double rZe)
 
void SetSpecimenCylinder (double rXs, double rXe, double rYs, double rYe, double rZs, double rZe)
 
void SetSpecimenCylinder (double radius, double height)
 
void SetGradingCurve (eGradingCurve rGradingCurveEnum, int rNumClasses)
 sets the grading curve - DIN More...
 
void SetGradingCurve (const Eigen::MatrixXd &rGradingCurve)
 sets the grading curve - self defined More...
 
Eigen::MatrixXd GetParticles (bool rBeforeEDMD)
 
void SetParticles (Eigen::MatrixXd)
 
void SetAbsoluteGrowthRate (double rAbsoluteGrowthRate)
 sets the absolute grow rate, removes the relative growth rate More...
 
void SetRelativeGrowthRate (double rRelativeGrowthRate)
 sets the relative grow rate, removes the absolute growth rate More...
 
void SetGmshBinary (const std::string &rGmshBinary)
 
void SetInitialTimeBarrier (double rInitialTimeBarrier)
 
void SetNumEventsMax (double rNumEventsMax)
 
void SetParticleVolumeFraction (double rParticleVolumeFraction)
 
void SetRandomVelocityRange (double rRandomVelocityRange)
 
void SetSecondsPrint (double rSecondsPrint)
 
void SetSecondsWallTimeMax (double rSecondsWallTimeMax)
 
void SetSeed (double rSeed)
 
bool ContinueOnException () const
 
void SetContinueOnException (bool rContinueOnException)
 

Member Enumeration Documentation

Enumerator
A16 
B16 
C16 

Constructor & Destructor Documentation

NuTo::GeometryConcrete::GeometryConcrete ( )
NuTo::GeometryConcrete::~GeometryConcrete ( )
virtual

Member Function Documentation

bool NuTo::GeometryConcrete::ContinueOnException ( ) const
void NuTo::GeometryConcrete::ExportGmshGeo2D ( std::string  rGmshFile,
double  rMeshSize,
double  rZSlice,
double  rMinRadius 
)

exports the geometry to a 2D mesh file

Parameters
rGmshFilepath (without .geo) for the gmsh file
rMeshSizemesh size parameter
rZSlice3D –> 2D at z=rZSlice
rMinRadiussliced radiuses smaller than rMinRadius are not exported
void NuTo::GeometryConcrete::ExportGmshGeo3D ( std::string  rGmshFile,
double  rMeshSize 
)

exports the geometry to a 3D mesh file

...

Parameters
rGmshFilepath (without .geo) for the gmsh file
rMeshSizemesh size parameter

exports the geometry to a 3D mesh file

Parameters
rGmshFile... path (without .geo) for the gmsh file
rMeshSize... mesh size parameter
Eigen::MatrixXd NuTo::GeometryConcrete::GetParticles ( bool  rBeforeEDMD)
void NuTo::GeometryConcrete::MaximizeParticleDistance ( double  rParticleDistance)

runs a RSA simulation with the desired phi afterwards, runs a EDMD simulation to maximize the particle distance

Parameters
rParticleDistancedesired particle distance
void NuTo::GeometryConcrete::MaximizeParticleVolumeFraction ( double  rShrinkage)

runs a RSA simulation with smaller spheres afterwards, runs a EDMD simulation to reach the original sphere size

Parameters
rShrinkagesphere distribution gets multiplied by (1-rShrinkage)
void NuTo::GeometryConcrete::SetAbsoluteGrowthRate ( double  rAbsoluteGrowthRate)

sets the absolute grow rate, removes the relative growth rate

void NuTo::GeometryConcrete::SetContinueOnException ( bool  rContinueOnException)
void NuTo::GeometryConcrete::SetGmshBinary ( const std::string &  rGmshBinary)
void NuTo::GeometryConcrete::SetGradingCurve ( eGradingCurve  rGradingCurveEnum,
int  rNumClasses 
)

sets the grading curve - DIN

Parameters
rGradingCurveEnumenum
rNumClassesnumber of classes , beginning from the biggest particles, to consider
void NuTo::GeometryConcrete::SetGradingCurve ( const Eigen::MatrixXd &  rGradingCurve)

sets the grading curve - self defined

Parameters
rGradingCurveuser defined grading curve
void NuTo::GeometryConcrete::SetInitialTimeBarrier ( double  rInitialTimeBarrier)
void NuTo::GeometryConcrete::SetNumEventsMax ( double  rNumEventsMax)
void NuTo::GeometryConcrete::SetParticles ( Eigen::MatrixXd  rParticles)
void NuTo::GeometryConcrete::SetParticleVolumeFraction ( double  rParticleVolumeFraction)
void NuTo::GeometryConcrete::SetRandomVelocityRange ( double  rRandomVelocityRange)
void NuTo::GeometryConcrete::SetRelativeGrowthRate ( double  rRelativeGrowthRate)

sets the relative grow rate, removes the absolute growth rate

void NuTo::GeometryConcrete::SetSecondsPrint ( double  rSecondsPrint)
void NuTo::GeometryConcrete::SetSecondsWallTimeMax ( double  rSecondsWallTimeMax)
void NuTo::GeometryConcrete::SetSeed ( double  rSeed)
void NuTo::GeometryConcrete::SetSpecimenBox ( double  rXs,
double  rXe,
double  rYs,
double  rYe,
double  rZs,
double  rZe 
)
void NuTo::GeometryConcrete::SetSpecimenCylinder ( double  rXs,
double  rXe,
double  rYs,
double  rYe,
double  rZs,
double  rZe 
)
void NuTo::GeometryConcrete::SetSpecimenCylinder ( double  radius,
double  height 
)

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