MPS-Basic
|
Struct for settings of calculation. More...
#include <settings.hpp>
Public Attributes | |
int | dim {} |
Dimension of the simulation. | |
double | particleDistance {} |
Initial distance between particles. | |
double | dt {} |
Time step. | |
double | endTime {} |
End time of the simulation. | |
double | outputPeriod {} |
Output period of the simulation. | |
double | cflCondition {} |
CFL condition. | |
int | numPhysicalCores {} |
Number of cores to calculate. | |
Domain | domain {} |
domain of the simulation | |
double | kinematicViscosity {} |
Kinematic viscosity. | |
double | defaultDensity {} |
default density for fluid and wall particles. | |
Eigen::Vector3d | gravity |
Gravity. | |
double | surfaceDetection_numberDensity_threshold {} |
threshold ratio of number density for free surface detection | |
bool | surfaceDetection_particleDistribution {} |
flag for free surface detection based on particle distribution | |
double | surfaceDetection_particleDistribution_threshold {} |
std::string | pressureCalculationMethod {} |
Method for pressure calculation. | |
double | compressibility {} |
Compressibility of the fluid for Implicit method. | |
double | relaxationCoefficientForPressure {} |
Relaxation coefficient for pressure for Implicit method. | |
double | soundSpeed {} |
Speed of sound for Explicit method. | |
double | collisionDistance {} |
Distance for collision detection. | |
double | coefficientOfRestitution {} |
Coefficient of restitution. | |
double | re_forNumberDensity {} |
Effective radius for number density. | |
double | re_forGradient {} |
Effective radius for gradient. | |
double | re_forLaplacian {} |
Effective radius for Laplacian. | |
double | reMax {} |
Maximum of effective radius. | |
std::filesystem::path | particlesPath |
Path for input particle file. | |
bool | outputVtkInBinary {} |
Flag for saving VTK file in binary format. | |
Struct for settings of calculation.
This struct contains the settings for the simulation. It is used to load the settings from the input file.
Definition at line 15 of file settings.hpp.
int Settings::dim {} |
double Settings::particleDistance {} |
double Settings::dt {} |
double Settings::endTime {} |
double Settings::outputPeriod {} |
double Settings::cflCondition {} |
int Settings::numPhysicalCores {} |
Domain Settings::domain {} |
double Settings::kinematicViscosity {} |
double Settings::defaultDensity {} |
Eigen::Vector3d Settings::gravity |
Gravity.
Definition at line 32 of file settings.hpp.
double Settings::surfaceDetection_numberDensity_threshold {} |
threshold ratio of number density for free surface detection
Definition at line 36 of file settings.hpp.
bool Settings::surfaceDetection_particleDistribution {} |
flag for free surface detection based on particle distribution
Definition at line 38 of file settings.hpp.
double Settings::surfaceDetection_particleDistribution_threshold {} |
Definition at line 39 of file settings.hpp.
std::string Settings::pressureCalculationMethod {} |
double Settings::compressibility {} |
double Settings::relaxationCoefficientForPressure {} |
Relaxation coefficient for pressure for Implicit method.
Definition at line 45 of file settings.hpp.
double Settings::soundSpeed {} |
double Settings::collisionDistance {} |
double Settings::coefficientOfRestitution {} |
double Settings::re_forNumberDensity {} |
double Settings::re_forGradient {} |
double Settings::re_forLaplacian {} |
double Settings::reMax {} |
std::filesystem::path Settings::particlesPath |
Path for input particle file.
Definition at line 60 of file settings.hpp.
bool Settings::outputVtkInBinary {} |