MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
|
Contain the configuration variables that defines an specific simulation. More...
Enumerations | |
enum | StressUpdateScheme { USF , USL , MUSL } |
Defines the type of scheme used to update the stress. More... | |
enum | DampingType { UNDAMPED , LOCAL , KINETIC_DYNAMIC_RELAXATION , UNDAMPED , LOCAL , KINETIC_DYNAMIC_RELAXATION } |
Defines the type of damping. More... | |
enum | DampingType { UNDAMPED , LOCAL , KINETIC_DYNAMIC_RELAXATION , UNDAMPED , LOCAL , KINETIC_DYNAMIC_RELAXATION } |
enum | OperationalSystem { WINDOWS , LINUX } |
Defines the current operational system. More... | |
enum | InterpolationFunctionType { LINEAR , GIMP } |
Defines the type of interpolation function. More... | |
enum class | HydroMechanicalCouplingType { NONE , ONE_WAY } |
Defines the type of hydro-mechanical coupling. More... | |
Functions | |
bool | getWindowsSystem () |
Return true is the system is Windows. | |
bool | getLinuxSystem () |
Return true is the system is Linux. | |
bool | getLoadState () |
Return true is load state is activated. | |
void | setLoadState (bool load_state_activated) |
Set load state activated. | |
bool | getSaveState () |
Return true is save state is activated. | |
void | setSaveState (bool save_state_activated) |
Set save state activated. | |
unsigned | getContributionNodesNum () |
Return the number of nodes that a particle contributes. | |
double | getTimeStep () |
Return the time step. | |
void | setTimeStep (double time_step) |
Configure the time step. | |
double | getTime () |
Return the simulation time. | |
void | setTime (double simulation_time) |
Configure the simulation time. | |
unsigned | getResultNum () |
Return the total results to be written. | |
void | setResultNum (unsigned total_results) |
Configure the total results to be written. | |
unsigned | getResultSteps () |
Return the every how many steps the results will be written. | |
double | getCriticalTimeStepMultiplier () |
Return the critical sime step multiplier. | |
void | setCriticalTimeStepMultiplier (double critical_time_step_multiplier) |
Configures the fraction of critical time step. | |
unsigned | getThreads () |
Return the number of threads in the simulation. | |
void | setThreads (unsigned n_threads) |
Configures the number of threads. | |
bool | getContactActive () |
Return if contact method is activated. | |
void | setContactActive (bool is_contact_activated) |
Configure if contact method is activated. | |
bool | getGravityActive () |
Return if gravity is active. | |
void | setGravityActive (bool is_gravity_activated) |
Configure if gravity is active. | |
const Vector3d & | getGravity () |
Return the gravity vector. | |
void | setGravity (const Vector3d &gravity) |
Configure the gravity vector. | |
bool | getAxisymetricActive () |
Return if axisymetric analisys is active. | |
void | setAxisymetricActive (bool if_axysimentric_active) |
Configure if axisymetric analisys is active. | |
bool | getJanumannActive () |
Return if Jaumann rate is active. | |
void | setJanumannActive (bool if_jaumann_active) |
Configure if Jaumann rate is active. | |
string | getInputFile () |
Return the input file name. | |
void | setInputFile (string file_name) |
Configure the input file name. | |
ModelSetup::StressUpdateScheme | getUpdateStressScheme () |
Return the scheme for updating the stress. | |
void | setUpdateStressScheme (ModelSetup::StressUpdateScheme stress_sheme_update) |
Configure the scheme for updating the stress. | |
ModelSetup::DampingType | getDamping () |
Return the damping type. | |
double | getDampingLocal () |
Return the local damping value. | |
void | setDampingLocalValue (double alpha) |
Configure the local damping value. | |
void | setDampingType (ModelSetup::DampingType dampingType) |
Configure the damping type. | |
ModelSetup::DampingType | getDampingType () |
Return the damping type. | |
ModelSetup::InterpolationFunctionType | getInterpolationFunction () |
Return the interpolation functions type. | |
void | setInterpolationFunction (ModelSetup::InterpolationFunctionType interpolation_functions_type) |
Configure the interpolation functions type. | |
void | setNumThreads (unsigned nThreads) |
Configure the number of threads in the model. | |
bool | getSeismicAnalysisActive () |
Return true if seismic analysis is active. | |
void | setSeismicAnalysisActive (bool seismic_analysis_active) |
Configure if seismic analysis is active. | |
bool | getTwoPhaseActive () |
Return if two-phase calculation is active. | |
void | setTwoPhaseActive (bool two_phase_calculation_active) |
Configure if two-phase calculation is active. | |
void | setInitialSimulationTime (std::chrono::system_clock::time_point initialTime) |
Set initial simulation time. | |
std::chrono::system_clock::time_point | getInitialSimulationTime () |
Get initial simulation time. | |
std::string | getSeismicFileName () |
Return the seismic file name. | |
double | getCurrentTime () |
Get current simulation time. | |
void | setCurrentTime (double currentTime) |
Set current simulation time. | |
bool | getTerrainContactActive () |
Return if terrain contact is active. | |
void | setTerrainContactActive (bool) |
Set terrain contact active. | |
HydroMechanicalCouplingType | getHydroMechanicalCouplingType () |
return the hydro-mechanical coupling type | |
void | setHydroMechanicalCouplingType (HydroMechanicalCouplingType type) |
Set hydro-mechanical coupling type. | |
bool | getHydroMechOneWayEnabled () |
Return if one way hydro-mechanical coupling is enabled. | |
int | getLoopCounter () |
Get the current loop counter. | |
void | setLoopCounter (int a) |
Set the current loop counter. | |
int | incrementLoopCounter () |
Increment the loop counter by one. | |
Contain the configuration variables that defines an specific simulation.
Defines the type of damping.
Defines the type of damping used in the simulation.
This enumeration specifies the damping scheme applied during the analysis. The damping configuration is defined in the input file.
"local"
is specified in the input. "value"
. "kinetic"
is specified in the input.
|
strong |
bool ModelSetup::getAxisymetricActive | ( | ) |
Return if axisymetric analisys is active.
bool ModelSetup::getContactActive | ( | ) |
Return if contact method is activated.
unsigned ModelSetup::getContributionNodesNum | ( | ) |
Return the number of nodes that a particle contributes.
double ModelSetup::getCriticalTimeStepMultiplier | ( | ) |
Return the critical sime step multiplier.
double ModelSetup::getCurrentTime | ( | ) |
Get current simulation time.
ModelSetup::DampingType ModelSetup::getDamping | ( | ) |
Return the damping type.
double ModelSetup::getDampingLocal | ( | ) |
Return the local damping value.
ModelSetup::DampingType ModelSetup::getDampingType | ( | ) |
Return the damping type.
const Vector3d & ModelSetup::getGravity | ( | ) |
Return the gravity vector.
bool ModelSetup::getGravityActive | ( | ) |
Return if gravity is active.
HydroMechanicalCouplingType ModelSetup::getHydroMechanicalCouplingType | ( | ) |
return the hydro-mechanical coupling type
bool ModelSetup::getHydroMechOneWayEnabled | ( | ) |
Return if one way hydro-mechanical coupling is enabled.
std::chrono::system_clock::time_point ModelSetup::getInitialSimulationTime | ( | ) |
Get initial simulation time.
string ModelSetup::getInputFile | ( | ) |
Return the input file name.
ModelSetup::InterpolationFunctionType ModelSetup::getInterpolationFunction | ( | ) |
Return the interpolation functions type.
bool ModelSetup::getJanumannActive | ( | ) |
Return if Jaumann rate is active.
bool ModelSetup::getLinuxSystem | ( | ) |
Return true is the system is Linux.
bool ModelSetup::getLoadState | ( | ) |
Return true is load state is activated.
int ModelSetup::getLoopCounter | ( | ) |
Get the current loop counter.
unsigned ModelSetup::getResultNum | ( | ) |
Return the total results to be written.
unsigned ModelSetup::getResultSteps | ( | ) |
Return the every how many steps the results will be written.
bool ModelSetup::getSaveState | ( | ) |
Return true is save state is activated.
bool ModelSetup::getSeismicAnalysisActive | ( | ) |
Return true if seismic analysis is active.
std::string ModelSetup::getSeismicFileName | ( | ) |
Return the seismic file name.
bool ModelSetup::getTerrainContactActive | ( | ) |
Return if terrain contact is active.
unsigned ModelSetup::getThreads | ( | ) |
Return the number of threads in the simulation.
double ModelSetup::getTime | ( | ) |
Return the simulation time.
double ModelSetup::getTimeStep | ( | ) |
Return the time step.
bool ModelSetup::getTwoPhaseActive | ( | ) |
Return if two-phase calculation is active.
ModelSetup::StressUpdateScheme ModelSetup::getUpdateStressScheme | ( | ) |
Return the scheme for updating the stress.
bool ModelSetup::getWindowsSystem | ( | ) |
Return true is the system is Windows.
int ModelSetup::incrementLoopCounter | ( | ) |
Increment the loop counter by one.
void ModelSetup::setAxisymetricActive | ( | bool | if_axysimentric_active | ) |
Configure if axisymetric analisys is active.
[in] | if_axysimentric_active | Axisymetric active value |
void ModelSetup::setContactActive | ( | bool | is_contact_activated | ) |
Configure if contact method is activated.
[in] | is_contact_activated | Contact active |
void ModelSetup::setCriticalTimeStepMultiplier | ( | double | critical_time_step_multiplier | ) |
Configures the fraction of critical time step.
[in] | critical_time_step_multiplier | Critical time step multiplier |
void ModelSetup::setCurrentTime | ( | double | currentTime | ) |
Set current simulation time.
[in] | currentTime |
void ModelSetup::setDampingLocalValue | ( | double | alpha | ) |
Configure the local damping value.
[in] | alpha | Local damping value |
void ModelSetup::setDampingType | ( | ModelSetup::DampingType | dampingType | ) |
Configure the damping type.
[in] | dampingType | Damping type ModelSetup::DampingType |
void ModelSetup::setGravity | ( | const Vector3d & | gravity | ) |
Configure the gravity vector.
[in] | gravity | A vector containing the gravity acceleration in each direction |
void ModelSetup::setGravityActive | ( | bool | is_gravity_activated | ) |
Configure if gravity is active.
[in] | is_gravity_activated | Gravity active |
void ModelSetup::setHydroMechanicalCouplingType | ( | HydroMechanicalCouplingType | type | ) |
Set hydro-mechanical coupling type.
[in] | type | HydroMechanicalCouplingType |
void ModelSetup::setInitialSimulationTime | ( | std::chrono::system_clock::time_point | initialTime | ) |
Set initial simulation time.
[in] | initialTime |
void ModelSetup::setInputFile | ( | string | file_name | ) |
Configure the input file name.
[in] | file_name | File name |
void ModelSetup::setInterpolationFunction | ( | ModelSetup::InterpolationFunctionType | interpolation_functions_type | ) |
Configure the interpolation functions type.
[in] | interpolation_functions_type | Interpolation functions type ModelSetup::InterpolationFunctionType |
void ModelSetup::setJanumannActive | ( | bool | if_jaumann_active | ) |
Configure if Jaumann rate is active.
[in] | if_jaumann_active | Jaumann active value |
void ModelSetup::setLoadState | ( | bool | load_state_activated | ) |
Set load state activated.
[in] | load_state_activated | Flag to load an state |
void ModelSetup::setLoopCounter | ( | int | a | ) |
Set the current loop counter.
[in] | a | The loop counter value |
void ModelSetup::setNumThreads | ( | unsigned | nThreads | ) |
Configure the number of threads in the model.
[in] | nThreads | Number of threads |
void ModelSetup::setResultNum | ( | unsigned | total_results | ) |
Configure the total results to be written.
[in] | total_results | Number of results |
void ModelSetup::setSaveState | ( | bool | save_state_activated | ) |
Set save state activated.
[in] | save_state_activated | Flag to save an state |
void ModelSetup::setSeismicAnalysisActive | ( | bool | seismic_analysis_active | ) |
Configure if seismic analysis is active.
[in] | seismic_analysis_active |
void ModelSetup::setTerrainContactActive | ( | bool | ) |
Set terrain contact active.
void ModelSetup::setThreads | ( | unsigned | n_threads | ) |
Configures the number of threads.
[in] | n_threads | Number of threads |
void ModelSetup::setTime | ( | double | simulation_time | ) |
Configure the simulation time.
[in] | simulation_time | Simulation time |
void ModelSetup::setTimeStep | ( | double | time_step | ) |
Configure the time step.
[in] | time_step | Time step |
void ModelSetup::setTwoPhaseActive | ( | bool | two_phase_calculation_active | ) |
Configure if two-phase calculation is active.
[in] | two_phase_calculation_active |
void ModelSetup::setUpdateStressScheme | ( | ModelSetup::StressUpdateScheme | stress_sheme_update | ) |
Configure the scheme for updating the stress.
[in] | stress_sheme_update | Stress scheme update ModelSetup::StressUpdateScheme |