![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <parameters.h>
Public Member Functions | |
| void | declare_parameters (ParameterHandler &prm, const unsigned int max_number_of_constraints) |
| void | parse_parameters (ParameterHandler &prm) |
| void | parse_constraint_parameters (const ParameterHandler &prm, const unsigned int constraint_id) |
Static Public Member Functions | |
| static void | declare_default_entries (ParameterHandler &prm) |
Public Attributes | |
| bool | enable = false |
| unsigned int | number_of_constraints = 0 |
| std::vector< unsigned int > | fluid_ids |
| std::vector< double > | filtered_phase_indicator_tolerance |
| std::vector< double > | temperature_min_values |
| std::vector< double > | temperature_max_values |
| bool | enable_domain_restriction_with_plane = false |
| Point< dim > | restriction_plane_point |
| Tensor< 1, dim > | restriction_plane_normal_vector |
Set of parameters constraining a certain portion of a fluid domain to null velocity and pressure fields to mimic a solid subdomain.
| dim | Number of dimensions of the problem (2D or 3D). |
Definition at line 910 of file parameters.h.
|
static |
Declare the default parameters for each constraint.
| [in,out] | prm | ParameterHandler object. |
Definition at line 860 of file parameters.cc.
| void Parameters::ConstrainSolidDomain< dim >::declare_parameters | ( | ParameterHandler & | prm, |
| const unsigned int | max_number_of_constraints ) |
Declare the parameters.
| [in,out] | prm | ParameterHandler object. |
| [in] | max_number_of_constraints | Maximum number of zero velocity constraints applied to the domain. |
Definition at line 799 of file parameters.cc.
References declare_default_entries(), enable, enable_domain_restriction_with_plane, filtered_phase_indicator_tolerance, fluid_ids, number_of_constraints, restriction_plane_normal_vector, restriction_plane_point, temperature_max_values, and temperature_min_values.
| void Parameters::ConstrainSolidDomain< dim >::parse_constraint_parameters | ( | const ParameterHandler & | prm, |
| const unsigned int | constraint_id ) |
Parse parameters for each constraint.
| [in] | prm | ParameterHandler object. |
| [in] | constraint_id | Identifiers of the constraint (1 per fluid). The numbering starts at 0. |
Definition at line 924 of file parameters.cc.
References filtered_phase_indicator_tolerance, fluid_ids, temperature_max_values, and temperature_min_values.
| void Parameters::ConstrainSolidDomain< dim >::parse_parameters | ( | ParameterHandler & | prm | ) |
Parse the parameters.
| [in] | prm | ParameterHandler object. |
Definition at line 887 of file parameters.cc.
References enable, enable_domain_restriction_with_plane, filtered_phase_indicator_tolerance, fluid_ids, number_of_constraints, parse_constraint_parameters(), restriction_plane_normal_vector, restriction_plane_point, temperature_max_values, temperature_min_values, and value_string_to_tensor().
| bool Parameters::ConstrainSolidDomain< dim >::enable = false |
Enable/disable (true/false) the solid domain constraining feature.
Definition at line 913 of file parameters.h.
| bool Parameters::ConstrainSolidDomain< dim >::enable_domain_restriction_with_plane = false |
Enable/disable (true/false) the definition of a plane for geometrical restrictions on the domain where the stasis constraint is applied.
Definition at line 933 of file parameters.h.
| std::vector<double> Parameters::ConstrainSolidDomain< dim >::filtered_phase_indicator_tolerance |
Absolute tolerance applied on filtered phase indicator for constrained cell selection
Definition at line 923 of file parameters.h.
| std::vector<unsigned int> Parameters::ConstrainSolidDomain< dim >::fluid_ids |
Identifiers of fluids that are constrained.
Definition at line 919 of file parameters.h.
| unsigned int Parameters::ConstrainSolidDomain< dim >::number_of_constraints = 0 |
Total number of constraints (maximum of 1 per fluid).
Definition at line 916 of file parameters.h.
| Tensor<1, dim> Parameters::ConstrainSolidDomain< dim >::restriction_plane_normal_vector |
Outward-pointing normal vector from the restricted domain to define the restriction plane for the stasis constraint application domain
Definition at line 941 of file parameters.h.
| Point<dim> Parameters::ConstrainSolidDomain< dim >::restriction_plane_point |
Coordinates of a point on the restriction plane for the stasis constraint application domain
Definition at line 937 of file parameters.h.
| std::vector<double> Parameters::ConstrainSolidDomain< dim >::temperature_max_values |
Upper threshold values of the constraining field (temperature).
Definition at line 929 of file parameters.h.
| std::vector<double> Parameters::ConstrainSolidDomain< dim >::temperature_min_values |
Lower threshold values of the constraining field (temperature).
Definition at line 926 of file parameters.h.