![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
Namespaces | |
| namespace | Lagrangian |
Typedefs | |
| using | PeriodicBoundaries |
Functions | |
| SizeOfSubsections | get_size_of_subsections (const std::string &file_name, const bool require_subsection_size=true) |
| const DeprecatedEnumNames< Verbosity > & | deprecated_verbosity_names () |
| const std::vector< Verbosity > & | quiet_or_verbose () |
| const DeprecatedEnumNames< FluidIndicator > & | deprecated_fluid_indicator_names () |
| const std::vector< FluidIndicator > & | single_fluid_indicators () |
| unsigned int | get_number_of_distribution_parameters (const QMOMDistributionType distribution_type) |
Drift velocity that is added to the tracer velocity to account for simplified multiphase simulations using drift-flux modeling.
The periodic boundary pairs of a simulation, keyed by the principal (first) boundary id of each pair.
CFD and DEM simulations declare their boundary conditions through different parameter classes (BoundaryConditions::BoundaryConditions<BoundaryType> and Parameters::Lagrangian::BCDEM respectively), but both describe periodicity with this container, so that a single routine, setup_periodic_boundary_conditions(), sets up the periodicity of the triangulation for either solver.
Definition at line 36 of file periodic_boundary.h.
|
strong |
| Enumerator | |
|---|---|
| none | |
| diffusive | |
| geometric | |
Definition at line 28 of file initial_conditions.h.
|
strong |
Defines the numerical coupling strategy used for drag force computation between fluid and particles.
This enumeration specifies how the drag interaction term is treated in time integration schemes for coupled CFD-DEM or multiphase simulations. The choice of coupling affects both stability and computational cost. The fully_implicit and fully_explicit schemes are named this way since explicit is a reserved keyword in C++. Thus, we use fully_implicit and fully_explicit to ensure a coherent terminology.
| Enumerator | |
|---|---|
| fully_implicit | Fully implicit drag coupling. |
| semi_implicit | Semi-implicit drag coupling. |
| fully_explicit | Explicit drag coupling. |
Definition at line 127 of file parameters_cfd_dem.h.
|
strong |
Drag force model for particle-fluid interaction in CFD-DEM.
| Enumerator | |
|---|---|
| difelice | Di Felice. |
| rong | Rong. |
| dallavalle | Dallavalle - Valid only for dilute flows. |
| kochhill | Koch-Hill. |
| beetstra | Beetstra. |
| gidaspow | Gidaspow. |
Definition at line 76 of file parameters_cfd_dem.h.
|
strong |
Type of electromagnetic scaling to apply to the solution of the time-harmonic Maxwell solver after solving the linear system. This is relevant when the user wants to recover the physical solution in dimensional units from the dimensionless solution.
| Enumerator | |
|---|---|
| none | |
| electric_field | |
| magnetic_field | |
| power | |
Definition at line 142 of file parameters_multiphysics.h.
|
strong |
| Enumerator | |
|---|---|
| automatic | |
| manual | |
Definition at line 92 of file parameters_multiphysics.h.
|
strong |
Verbosity options for the epsilon parameter.
| Enumerator | |
|---|---|
| quiet | Epsilon related information will not be displayed on terminal. |
| verbose | Epsilon value will be displayed on terminal for every steady and transient iteration. |
Definition at line 101 of file parameters_multiphysics.h.
|
strong |
Different phase indicator filtering types:
| Enumerator | |
|---|---|
| none | |
| clip | |
| tanh | |
Definition at line 85 of file parameters_multiphysics.h.
|
strong |
| Enumerator | |
|---|---|
| L2projection | |
| viscous | |
| nodal | |
| ramp | |
| average_velocity_profile | |
Definition at line 18 of file initial_conditions.h.
|
strong |
Class to account for different fluid indicators. This is used for multiphase simulations in PostProcessing, in CLS (see parameter_multiphysics.h), and in VelocitySource (phase change Carman-Kozeny permeability model).
| Enumerator | |
|---|---|
| fluid_0 | fluid 0 only |
| fluid_1 | fluid 1 only |
| both | both fluids |
Definition at line 74 of file parameters.h.
|
strong |
Filter kernel used by the Quadrature-Centered Method (QCM) to weigh particle contributions onto the mesh.
The characteristic length of the filter is taken from VoidFractionParameters::qcm_smoothing_length and VoidFractionParameters::qcm_sphere_equal_cell_volume, with the interpretation depending on the filter:
| Enumerator | |
|---|---|
| spherical | Spherical indicator (heaviside) filter (default, original QCM). |
| gaussian | Gaussian filter parametrised by a standard deviation sigma. |
Definition at line 54 of file parameters_cfd_dem.h.
|
strong |
Family of the particle size distribution from which the moments of the QMOM physics are computed. The raw moments of each family are computed analytically by QMOMKit:
| Enumerator | |
|---|---|
| none | |
| normal | |
| lognormal | |
| gamma | |
| weibull | |
| beta | |
| chi | |
| chi_squared | |
Definition at line 690 of file parameters_multiphysics.h.
|
strong |
Process simulated with the QMOM physics. A process other than generic imposes the scalars and the number of moments.
| Enumerator | |
|---|---|
| generic | |
| lipid_nanoparticle_production | |
Definition at line 573 of file parameters_multiphysics.h.
|
strong |
Operator splitting scheme between the physical-space transport (T) and the phase-space evolution (P) of the QMOM fields:
| Enumerator | |
|---|---|
| lie | |
| strang | |
Definition at line 563 of file parameters_multiphysics.h.
|
strong |
Different transformation function types for the signed distance:
piecewise_polynomial: 4th degree piecewise polynomial. The latter takes the following form:
if \(d < 0 \) \(\phi = 0.5 - 0.5(4d' + 6d'^2 + 4*d'^3 + d'^4)\)
else \(\phi = 0.5 - 0.5(4d' - 6d'^2 + 4*d'^3 - d'^4)\)
with \(d' = d/d_\mathrm{max}\), where \(\phi\) is the phase fraction, \(d\) the signed distance and \(d_\mathrm{max}\) the maximum redistanciation distance. This transformation clamps the phase fraction to 0 or 1 when \(d = \pm d_\mathrm{max}\).
| Enumerator | |
|---|---|
| tanh | |
| piecewise_polynomial | |
Definition at line 72 of file parameters_multiphysics.h.
|
strong |
Different interface reinitialization method types:
| Enumerator | |
|---|---|
| none | |
| projection_based_sharpening | |
| pde_based | |
| geometric | |
Definition at line 34 of file parameters_multiphysics.h.
|
strong |
Different projection-based interface sharpening types:
| Enumerator | |
|---|---|
| constant | |
| adaptive | |
Definition at line 49 of file parameters_multiphysics.h.
|
strong |
Thermal boundary condition type applied on a solid object surface.
| Enumerator | |
|---|---|
| adiabatic | No heat flux through the solid boundary. |
| isothermal | Fixed temperature imposed on the solid boundary. |
Definition at line 35 of file solid_objects_parameters.h.
|
strong |
Parameters for the time coupling strategy of the time-harmonic Maxwell solver with the other physics solvers.
| Enumerator | |
|---|---|
| none | |
| iteration | |
| time | |
| threshold | |
Definition at line 166 of file parameters_multiphysics.h.
|
strong |
Volume-Averaged Navier-Stokes (VANS) model formulation.
| Enumerator | |
|---|---|
| modelA | Model A: volume-averaged continuity and momentum equations. |
| modelB | Model B: alternative VANS formulation. |
Definition at line 141 of file parameters_cfd_dem.h.
|
strong |
| Enumerator | |
|---|---|
| quiet | |
| verbose | |
| extra_verbose | |
Definition at line 61 of file parameters.h.
|
strong |
Method used to compute the void fraction field.
| Enumerator | |
|---|---|
| function | Void fraction prescribed by an analytical function. |
| pcm | Particle centered method. |
| qcm | Quadrature centered method. |
| spm | Satellite point method (divided approach). |
Definition at line 28 of file parameters_cfd_dem.h.
|
strong |
Quadrature rule used for void fraction integration.
| Enumerator | |
|---|---|
| gauss | Gauss quadrature rule (default). |
| gauss_lobatto | Gauss-Lobatto quadrature rule. |
Definition at line 65 of file parameters_cfd_dem.h.
|
strong |
Types of waveguide port modes:
| Enumerator | |
|---|---|
| TE | Transverse Electric mode. |
| TM | Transverse Magnetic mode. |
Definition at line 117 of file parameters_multiphysics.h.
| const DeprecatedEnumNames< FluidIndicator > & Parameters::deprecated_fluid_indicator_names | ( | ) |
Return the deprecated strings of the parameters parsed into a FluidIndicator, which remain accepted in parameter files.
Definition at line 118 of file parameters.cc.
| const DeprecatedEnumNames< Verbosity > & Parameters::deprecated_verbosity_names | ( | ) |
Return the deprecated strings of the parameters parsed into a Verbosity, which remain accepted in parameter files.
Definition at line 102 of file parameters.cc.
References extra_verbose.
| unsigned int Parameters::get_number_of_distribution_parameters | ( | const QMOMDistributionType | distribution_type | ) |
Number of parameters of a particle size distribution family, not counting the number density.
| [in] | distribution_type | Family of the distribution. |
Definition at line 1167 of file parameters_multiphysics.cc.
References beta, chi, chi_squared, gamma, lognormal, none, normal, and weibull.
| SizeOfSubsections Parameters::get_size_of_subsections | ( | const std::string & | file_name, |
| const bool | require_subsection_size = true ) |
Extract the maximum number of all variable size sections within the parameter file.
| [in] | file_name | Name of the parameter file from which the sizes are parsed |
| [in] | require_subsection_size | If true, the parameter file must indicate the size of at least one variable size subsection, which is the case for every solver for which a "boundary conditions" subsection is mandatory. The DEM solvers, whose boundary conditions are declared in a "DEM boundary conditions" subsection with a "number of boundary conditions" entry, set this to false and consequently obtain a size of zero for parameter files that do not declare any manifold. |
//TODO make the size of the DEM boundary conditions parsed instead.
Definition at line 135 of file parameters.cc.
References Parameters::SizeOfSubsections::boundary_conditions, get_max_subsection_size(), and Parameters::SizeOfSubsections::manifolds.
| const std::vector< Verbosity > & Parameters::quiet_or_verbose | ( | ) |
Return the verbosity levels accepted by the parameters which do not support Verbosity::extra_verbose.
Definition at line 110 of file parameters.cc.
| const std::vector< FluidIndicator > & Parameters::single_fluid_indicators | ( | ) |
Return the fluid indicators accepted by the parameters which designate a single fluid.
Definition at line 127 of file parameters.cc.