MultiphaseOperationScratchData< dim, number > Struct Template Reference
|
Developer Documentation
|
Scratch data structure for compressible multiphase flow solvers. More...
#include <operation_scratch_data.hpp>
Public Types | |
| using | VectorType = dealii::LinearAlgebra::distributed::Vector< number > |
Public Member Functions | |
| MultiphaseOperationScratchData (const OperationData< number > &flow_data_in, const MaterialPhaseData< number > &material_data_gas_in, const MaterialPhaseData< number > &material_data_liquid_in, const Multiphase::PhaseChangeData< number > &phase_change_data_in, const CutSolverData< number > &cut_data_in, const Multiphase::CompressibleFlowPhaseCouplingData< number > &phase_coupling_data_in, const Flow::DarcyDampingData< number > &darcy_damping_data_in, const ScratchData< dim, dim, number > &scratch_data_in, const unsigned int dof_idx_in, const unsigned int quad_idx_in) | |
| Constructor. | |
| void | reinit (const unsigned solution_history_size) |
| Set up the internal data structures. | |
Public Attributes | |
| const OperationData< number > | flow_data |
| General parameters for the compressible Navier-Stokes operators. | |
| const ScratchData< dim, dim, number > & | scratch_data |
| Mapping-, finite-element-, and quadrature-related parameters. | |
| const Material< dim, number > | material_gas |
| Material parameters and thermodynamic relations for the gas phase. | |
| const Material< dim, number > | material_liquid |
| Material parameters and thermodynamic relations for the liquid phase. | |
| const Multiphase::PhaseChangeData< number > | phase_change |
| Parameters related to liquid-gas and solid-liquid phase transitions. | |
| const CutSolverData< number > | cut |
| Cut-related parameters. | |
| const Multiphase::CompressibleFlowPhaseCouplingData< number > | phase_coupling |
| Parameters for the coupling of two compressible (or nearly incompressible) phases. | |
| const Flow::DarcyDampingData< number > | darcy_damping |
| Parameters for darcy damping in the solid domain and mushy zone. | |
| const unsigned int | dof_idx = 0 |
| DoF index within the matrix-free object. | |
| const unsigned int | quad_idx = 0 |
| Quadrature index within the matrix-free object. | |
| bool | is_viscous = false |
| Boolean variable indicating whether viscosity is present. | |
| BoundaryConditions< dim, number > | boundary_conditions |
| Object taking care of all boundary condition related computations. | |
| dealii::AlignedVector< dealii::VectorizedArray< number > > | interior_penalty_parameter |
| Penalty parameter for the Symmetric Interior Penalty Galerkin (SIPG) method. | |
| TimeIntegration::SolutionHistory< VectorType > | solution_history |
| Solution history object. | |
| std::unique_ptr< dealii::Function< dim > > | body_force |
| Pointer to the body force function. | |
Detailed Description
struct MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >
Scratch data structure for compressible multiphase flow solvers.
This struct encapsulates all data necessary for the evaluation of local integrals in compressible multiphase flow simulations.
Member Typedef Documentation
◆ VectorType
| using MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::VectorType = dealii::LinearAlgebra::distributed::Vector<number> |
Constructor & Destructor Documentation
◆ MultiphaseOperationScratchData()
|
inlineexplicit |
Constructor.
- Parameters
-
flow_data_in Reference to the flow data object. material_data_gas_in Reference to the material data object for the gas phase. material_data_liquid_in Reference to the material data object for the liquid phase. phase_change_data_in Reference to the phase change data object for liquid-gas and solid-liquid phase transitions cut_data_in Pointer to the cut data object. darcy_damping_data_in Reference to the data object for darcy damping parameters. phase_coupling_data_in Reference to the data object for phase coupling parameters. scratch_data_in Reference to the scratch data object. dof_idx_in Relevant dof index of the flow solver in the scratch data object. quad_idx_in Relevant quadrature index of the flow solver in the scratch data object.
Member Function Documentation
◆ reinit()
|
inline |
Set up the internal data structures.
Allocate memory for the solution history object and precompute the penalty parameter for the symmetric interior penalty method.
- Parameters
-
solution_history_size Size of the solution history object, i.e. the number of vectors at different concrete times n for which the solution history is responsible.
Member Data Documentation
◆ body_force
| std::unique_ptr<dealii::Function<dim> > MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::body_force |
Pointer to the body force function.
◆ boundary_conditions
| BoundaryConditions<dim, number> MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::boundary_conditions |
Object taking care of all boundary condition related computations.
◆ cut
| const CutSolverData<number> MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::cut |
Cut-related parameters.
◆ darcy_damping
| const Flow::DarcyDampingData<number> MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::darcy_damping |
Parameters for darcy damping in the solid domain and mushy zone.
◆ dof_idx
| const unsigned int MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::dof_idx = 0 |
DoF index within the matrix-free object.
◆ flow_data
| const OperationData<number> MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::flow_data |
General parameters for the compressible Navier-Stokes operators.
◆ interior_penalty_parameter
| dealii::AlignedVector<dealii::VectorizedArray<number> > MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::interior_penalty_parameter |
Penalty parameter for the Symmetric Interior Penalty Galerkin (SIPG) method.
◆ is_viscous
| bool MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::is_viscous = false |
Boolean variable indicating whether viscosity is present.
◆ material_gas
| const Material<dim, number> MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::material_gas |
Material parameters and thermodynamic relations for the gas phase.
◆ material_liquid
| const Material<dim, number> MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::material_liquid |
Material parameters and thermodynamic relations for the liquid phase.
◆ phase_change
| const Multiphase::PhaseChangeData<number> MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::phase_change |
Parameters related to liquid-gas and solid-liquid phase transitions.
◆ phase_coupling
| const Multiphase::CompressibleFlowPhaseCouplingData<number> MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::phase_coupling |
Parameters for the coupling of two compressible (or nearly incompressible) phases.
◆ quad_idx
| const unsigned int MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::quad_idx = 0 |
Quadrature index within the matrix-free object.
◆ scratch_data
| const ScratchData<dim, dim, number>& MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::scratch_data |
Mapping-, finite-element-, and quadrature-related parameters.
◆ solution_history
| TimeIntegration::SolutionHistory<VectorType> MeltPoolDG::CompressibleFlow::MultiphaseOperationScratchData< dim, number >::solution_history |
Solution history object.
The documentation for this struct was generated from the following file:
- include/meltpooldg/compressible_flow/operation_scratch_data.hpp
Generated by