NuTo
Numerics Tool
|
#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) |
NuTo::GeometryConcrete::GeometryConcrete | ( | ) |
|
virtual |
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
rGmshFile | path (without .geo) for the gmsh file |
rMeshSize | mesh size parameter |
rZSlice | 3D –> 2D at z=rZSlice |
rMinRadius | sliced radiuses smaller than rMinRadius are not exported |
void NuTo::GeometryConcrete::ExportGmshGeo3D | ( | std::string | rGmshFile, |
double | rMeshSize | ||
) |
exports the geometry to a 3D mesh file
...
rGmshFile | path (without .geo) for the gmsh file |
rMeshSize | mesh size parameter |
exports the geometry to a 3D mesh file
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
rParticleDistance | desired 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
rShrinkage | sphere 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
rGradingCurveEnum | enum |
rNumClasses | number of classes , beginning from the biggest particles, to consider |
void NuTo::GeometryConcrete::SetGradingCurve | ( | const Eigen::MatrixXd & | rGradingCurve | ) |
sets the grading curve - self defined
rGradingCurve | user 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 | ||
) |