MaterialVariablesPostProcessor< dim, number, View > Class Template Reference
|
Developer Documentation
|
#include <output_post_processor.hpp>
Public Member Functions | |
| MaterialVariablesPostProcessor (const std::function< View(typename View::state_type &)> &view_creator) | |
| std::vector< std::string > | get_names () const override |
| std::vector< dealii::DataComponentInterpretation::DataComponentInterpretation > | get_data_component_interpretation () const override |
| dealii::UpdateFlags | get_needed_update_flags () const override |
| void | evaluate_vector_field (const dealii::DataPostprocessorInputs::Vector< dim > &inputs, std::vector< dealii::Vector< number > > &computed_quantities) const override |
Public Attributes | |
| const std::function< View(typename View::state_type &)> | view_creator |
Private Types | |
| enum class | MaterialVariablesIndex : unsigned int { dynamic_viscosity = 0 , specific_gas_constant , heat_capacity_ratio , heat_capacity_at_constant_pressure , thermal_conductivity } |
Static Private Attributes | |
| static constexpr unsigned int | n_material_variables = 5 |
Detailed Description
requires requires { typename View::state_type; }
class MeltPoolDG::CompressibleFlow::MaterialVariablesPostProcessor< dim, number, View >
Post-processor for computing material variables such as dynamic viscosity, specific gas constant, heat capacity ratio, specific isobaric heat, and thermal conductivity. The computation of these variables is defined by the provided view and might involve computations based on the conserved variables in the solution vector. The post-processor can directly interact with the deal.II data post-processing framework and can be attached to a GenericDataOut object for output generation.
Member Enumeration Documentation
◆ MaterialVariablesIndex
|
strongprivate |
Constructor & Destructor Documentation
◆ MaterialVariablesPostProcessor()
|
inline |
Constructor for the material variables post-processor.
- Parameters
-
view_creator A function that defines how to construct the view for computing the material variables based on the solution values at a specified node. The function should take a reference to the state type defined by the view and return an instance of the view.
Member Function Documentation
◆ evaluate_vector_field()
|
inlineoverride |
Based on the provided solution values, compute the material variables and store them in the computed_quantities vector. The computation of the material variables is defined by the provided view.
- Parameters
-
inputs The input data containing solution values at the evaluation points. computed_quantities The vector where the computed material variables will be stored. Each entry corresponds to an evaluation point and should be filled with the material variable values in the order defined by get_names().
◆ get_data_component_interpretation()
|
inlineoverride |
◆ get_names()
|
inlineoverride |
◆ get_needed_update_flags()
|
inlineoverride |
Member Data Documentation
◆ n_material_variables
|
staticconstexprprivate |
◆ view_creator
| const std::function<View(typename View::state_type &)> MeltPoolDG::CompressibleFlow::MaterialVariablesPostProcessor< dim, number, View >::view_creator |
Function defining how to construct the view for computing the material variables based on the solution values at a specified node.
The documentation for this class was generated from the following file:
- include/meltpooldg/compressible_flow/output_post_processor.hpp
Generated by