SimulationPowderParticles< dim, number > Class Template Reference
|
Developer Documentation
|
#include <powder_particles.hpp>
Public Member Functions | |
| SimulationPowderParticles (std::string parameter_file, const MPI_Comm mpi_communicator) | |
| bool | add_case_specific_parameters (dealii::ParameterHandler &prm) override |
| Add simulation-specific parameters (can be overridden). | |
| void | create_spatial_discretization () override |
| Pure virtual function to create the spatial discretization. | |
| void | set_boundary_conditions () override |
| Pure virtual function to set the boundary conditions. | |
| void | set_field_conditions () override |
| Pure virtual function to set the field conditions. | |
Public Member Functions inherited from MeltPoolDG::LevelSet::ReinitializationCase< dim, number > | |
| ReinitializationCase (const std::string ¶meter_file_in, MPI_Comm mpi_communicator_in) | |
Public Member Functions inherited from MeltPoolDG::SimulationCaseBase< dim, number, spacedim > | |
| virtual | ~SimulationCaseBase ()=default |
| SimulationCaseBase (const std::string ¶meter_file_in, MPI_Comm mpi_communicator_in) | |
| void | create () |
| Main setup function to initialize the simulation. | |
| std::map< dealii::types::boundary_id, std::shared_ptr< dealii::Function< dim > > > | get_boundary_condition (const std::string &type, const std::string &operation_name, const bool is_optional=true) const |
| Retrieve boundary conditions of a specific type for an operation. | |
| std::shared_ptr< BoundaryConditionManager< dim, number > > | get_boundary_condition_manager (const std::string &operation_name, const bool is_optional=true) const |
| Retrieve the boundary condition object for a specific operation. | |
| std::string | get_boundary_condition_type (dealii::types::boundary_id boundary_id, const std::string &operation_name) const |
| Retrieve the type of a boundary condition for a specific boundary ID and operation. | |
| void | set_time_boundary_conditions (const number time) |
| Update the time for all boundary conditions. | |
| std::shared_ptr< dealii::Function< dim > > | get_field_function (const std::string &type, const std::string &operation_name, const bool is_optional=false) |
| std::shared_ptr< dealii::Function< dim > > | get_initial_condition (const std::string &operation_name, const bool is_optional=false) |
| Retrieve the initial condition for a given operation. | |
| const PeriodicBoundaryConditions< dim > & | get_periodic_bc () const |
| Get the periodic boundary condition manager. | |
| virtual void | do_postprocessing (const GenericDataOut< dim, number > &generic_data_out) const |
| Perform specific postprocessing (can be overridden by derived classes). | |
Private Attributes | |
| number | domain_x_min = 0 |
| domain specific | |
| number | domain_x_max = 0 |
| number | domain_y_min = 0 |
| number | domain_y_max = 0 |
| number | domain_z_min = 0 |
| number | domain_z_max = 0 |
| std::vector< unsigned int > | cell_repetitions |
| ParticleCase | particle_case = ParticleCase::two_particles |
| case of particle distribution | |
| number | two_partile_radius = 15e-6 |
| two_particle specific parameters | |
| number | two_partile_distance = 40e-6 |
| MeltPool::PowderBedData< number > | powder_bed_data |
| powder_bed specific parameters | |
| LevelSet::LevelSetType | level_set_type = LevelSet::LevelSetType::tanh |
Additional Inherited Members | |
Public Attributes inherited from MeltPoolDG::LevelSet::ReinitializationCase< dim, number > | |
| ReinitializationCaseParameters< number > | parameters |
Public Attributes inherited from MeltPoolDG::SimulationCaseBase< dim, number, spacedim > | |
| std::shared_ptr< dealii::Triangulation< dim, spacedim > > | triangulation |
| const std::string | parameter_file |
| const MPI_Comm | mpi_communicator |
Protected Member Functions inherited from MeltPoolDG::SimulationCaseBase< dim, number, spacedim > | |
| void | attach_field_function (std::shared_ptr< dealii::Function< dim > > function, const std::string &type, const std::string &operation_name) |
| void | attach_initial_condition (std::shared_ptr< dealii::Function< dim > > initial_function, const std::string &operation_name) |
| void | attach_boundary_condition (std::pair< const dealii::types::boundary_id, const std::shared_ptr< dealii::Function< dim > > > id_and_function, const std::string &type, const std::string &operation_name) |
| Attach a boundary condition for a specific operation. | |
| void | attach_boundary_condition (const dealii::types::boundary_id id, const std::string &type, const std::string &operation_name) |
| Attach a boundary condition with a dummy function for a specific operation. | |
| void | attach_periodic_boundary_condition (const dealii::types::boundary_id id_in, const dealii::types::boundary_id id_out, const int direction) |
Constructor & Destructor Documentation
◆ SimulationPowderParticles()
| MeltPoolDG::Simulation::PowderParticles::SimulationPowderParticles< dim, number >::SimulationPowderParticles | ( | std::string | parameter_file, |
| const MPI_Comm | mpi_communicator | ||
| ) |
Member Function Documentation
◆ add_case_specific_parameters()
|
overridevirtual |
Add simulation-specific parameters (can be overridden).
This function can be overridden in derived classes to add custom simulation parameters to the handler. The return value can be used to print the parameters to the terminal output.
- Parameters
-
prm ParameterHandler object to which parameters can be added.
Reimplemented from MeltPoolDG::SimulationCaseBase< dim, number, spacedim >.
◆ create_spatial_discretization()
|
overridevirtual |
Pure virtual function to create the spatial discretization.
Derived classes must implement this function to define how the spatial discretization is created.
Implements MeltPoolDG::SimulationCaseBase< dim, number, spacedim >.
◆ set_boundary_conditions()
|
overridevirtual |
Pure virtual function to set the boundary conditions.
Derived classes must implement this function to define how boundary conditions are set.
Implements MeltPoolDG::SimulationCaseBase< dim, number, spacedim >.
◆ set_field_conditions()
|
overridevirtual |
Pure virtual function to set the field conditions.
Derived classes must implement this function to define how field conditions are set.
Implements MeltPoolDG::SimulationCaseBase< dim, number, spacedim >.
Member Data Documentation
◆ cell_repetitions
|
private |
◆ domain_x_max
|
private |
◆ domain_x_min
|
private |
domain specific
◆ domain_y_max
|
private |
◆ domain_y_min
|
private |
◆ domain_z_max
|
private |
◆ domain_z_min
|
private |
◆ level_set_type
|
private |
◆ particle_case
|
private |
case of particle distribution
◆ powder_bed_data
|
private |
powder_bed specific parameters
◆ two_partile_distance
|
private |
◆ two_partile_radius
|
private |
two_particle specific parameters
The documentation for this class was generated from the following files:
- applications/mp-reinit/cases/powder_particles/powder_particles.hpp
- applications/mp-reinit/cases/powder_particles/powder_particles.cpp
Generated by
Public Member Functions inherited from