![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <particle_projector.h>
Public Member Functions | |
| ParticleProjector (parallel::DistributedTriangulationBase< dim > *triangulation, std::shared_ptr< Parameters::VoidFractionParameters< dim > > input_parameters, const Parameters::LinearSolver &linear_solver_parameters, Particles::ParticleHandler< dim > *particle_handler, const unsigned int fe_degree, const bool simplex, const ConditionalOStream &pcout) | |
| void | setup_dofs () override |
| void | enable_multigrid_level_dofs (const bool enabled=true) |
| void | setup_constraints (const BoundaryConditions::FluidDynamicsBoundaryConditions< dim > &boundary_conditions) |
| void | calculate_void_fraction (const double time) |
| void | calculate_particle_temperature_projection () |
| template<typename VectorType> | |
| void | calculate_particle_fluid_forces_projection (const Parameters::CFDDEM &cfd_dem_parameters, DoFHandler< dim > &fluid_dof_handler, const VectorType &present_velocity_pressure_solution, const std::vector< VectorType > &previous_velocity_pressure_solution, const Tensor< 1, 3 > &gravity, NavierStokesScratchData< dim > scratch_data) |
| void | solve () override |
| void | percolate_void_fraction () |
| void | initialize_void_fraction (const double time) |
| template<int property_start_index, int n_components> | |
| void | calculate_field_projection (ParticleFieldQCM< dim, property_start_index, n_components > &field_qcm) |
| void | zero_out_and_ghost_auxiliary_fields () |
| void | write_qcm_quadrature_points (const std::string &folder, const std::string &prefix, const unsigned int group_files) |
| template<int n_components, int property_start_index> | |
| void | calculate_field_projection (ParticleFieldQCM< dim, n_components, property_start_index > &field_qcm) |
| Public Member Functions inherited from PhysicsLinearSubequationsSolver | |
| PhysicsLinearSubequationsSolver (const ConditionalOStream &pcout) | |
| virtual | ~PhysicsLinearSubequationsSolver ()=default |
Public Attributes | |
| std::shared_ptr< DoFHandler< dim > > | dof_handler |
| std::shared_ptr< Mapping< dim > > | mapping |
| std::shared_ptr< Quadrature< dim > > | quadrature |
| std::shared_ptr< std::vector< GlobalVectorType > > | previous_void_fraction |
| std::shared_ptr< GlobalVectorType > | void_fraction_locally_relevant |
| GlobalVectorType | void_fraction_locally_owned |
| LinearAlgebra::distributed::Vector< double > | void_fraction_solution |
| std::vector< LinearAlgebra::distributed::Vector< double > > | void_fraction_previous_solution |
| std::shared_ptr< FiniteElement< dim > > | fe |
| IndexSet | locally_owned_dofs |
| IndexSet | locally_relevant_dofs |
| AffineConstraints< double > | void_fraction_constraints |
| ParticleFieldQCM< dim, 3, PropertiesIndex::v_x > | particle_velocity |
| ParticleFieldQCM< dim, 1, DEM::temperature_property_index< PropertiesIndex > > | particle_temperature |
| std::shared_ptr< GlobalVectorType > | particle_temperature_locally_relevant |
| ParticleFieldQCM< dim, 3, PropertiesIndex::fem_force_two_way_coupling_x > | fluid_force_on_particles_two_way_coupling |
| ParticleFieldQCM< dim, 3, PropertiesIndex::fem_drag_x > | fluid_drag_on_particles |
| ParticleFieldQCM< dim, 1, PropertiesIndex::momentum_transfer_coefficient > | momentum_transfer_coefficient |
Private Member Functions | |
| double | calculate_filter_length_from_cell_measure (const double cell_measure) |
| void | calculate_void_fraction_function (const double time) |
| void | calculate_void_fraction_particle_centered_method () |
| void | calculate_void_fraction_satellite_point_method () |
| void | calculate_void_fraction_quadrature_centered_method () |
| template<Parameters::QCMFilterType filter_type> | |
| void | calculate_void_fraction_qcm_impl () |
| template<Parameters::QCMFilterType filter_type, int n_components, int property_start_index> | |
| void | calculate_field_projection_impl (ParticleFieldQCM< dim, n_components, property_start_index > &field_qcm) |
| virtual void | solve_linear_system_and_update_solution () override |
| Tensor< 1, dim > | get_periodic_offset_distance (unsigned int boundary_id) const |
Static Private Member Functions | |
| static double | radius_sphere_equivalent_volume (const double volume) |
| static double | calculate_intersection_measure (double r_particle, double r_sphere, double distance_between_spheres) |
| template<Parameters::QCMFilterType filter_type> | |
| static double | evaluate_filter (const double r_particle, const double filter_length, const double distance) |
Private Attributes | |
| parallel::DistributedTriangulationBase< dim > * | triangulation |
| std::shared_ptr< Parameters::VoidFractionParameters< dim > > | void_fraction_parameters |
| const Parameters::LinearSolver | linear_solver_parameters |
| Particles::ParticleHandler< dim > * | particle_handler |
| std::shared_ptr< TrilinosWrappers::PreconditionILU > | ilu_preconditioner |
| TrilinosWrappers::SparseMatrix | system_matrix_void_fraction |
| GlobalVectorType | system_rhs_void_fraction |
| std::map< unsigned int, std::set< typename DoFHandler< dim >::active_cell_iterator > > | vertices_to_cell |
| bool | has_periodic_boundaries |
| std::map< types::boundary_id, Tensor< 1, dim > > | cfd_periodic_offsets |
| std::map< types::boundary_id, unsigned int > | cfd_periodic_directions |
| std::map< unsigned int, std::set< typename DoFHandler< dim >::active_cell_iterator > > | vertices_to_periodic_cell |
| const double | l2_smoothing_factor |
| bool | particle_have_been_projected |
| bool | multigrid_level_dofs_required = false |
Additional Inherited Members | |
| Protected Attributes inherited from PhysicsLinearSubequationsSolver | |
| const ConditionalOStream | pcout |
Particle information projection. This class manages the calculation of the projection of the particle fields onto a triangulation. Its main use is the calculation of the void fraction which is used as an auxiliary field for the solvers that solve the Volume-Averaged Navier-Stokes equations. The present architecture of the class support all of the different void fraction calculation methods within a single class instead of building a class hierarchy. This is because there are only a few void fraction calculation strategies.
Using QCM, this class is also capable of projecting arbitrary fields belonging to the particle back onto the mesh by instantiating @ParticleFieldQCM class.
| dim | An integer that denotes the number of spatial dimensions. |
| PropertiesIndex | Index of the properties used within the ParticleHandler. |
Definition at line 279 of file particle_projector.h.
|
inline |
Constructor for the void fraction calculator.
| triangulation | The triangulation on which the simulation is being done. |
| input_parameters | The parameters for the void fraction calculation. |
| linear_solver_parameters | The parameters for the linear solver. This is used to solve the L2 projection of the void fraction |
| particle_handler | The particle handler used to manage the particles in the simulation. This object must be provided even if the particles are not used to establish the void fraction. |
| fe_degree | The finite element degree used to interpolate the void fraction. |
| simplex | A flag to indicate if the simulations are being done with simplex elements. |
| pcout | The ConditionalOStream used to print the information. |
Definition at line 293 of file particle_projector.h.
References dof_handler, fe, fluid_drag_on_particles, fluid_force_on_particles_two_way_coupling, Parameters::gauss, Parameters::gauss_lobatto, DEM::has_thermal_properties, linear_solver_parameters, mapping, momentum_transfer_coefficient, particle_handler, particle_have_been_projected, particle_temperature, particle_temperature_locally_relevant, particle_velocity, PhysicsLinearSubequationsSolver::pcout, PhysicsLinearSubequationsSolver::PhysicsLinearSubequationsSolver(), previous_void_fraction, Parameters::qcm, quadrature, triangulation, void_fraction_locally_relevant, and void_fraction_parameters.
| void ParticleProjector< dim, PropertiesIndex >::calculate_field_projection | ( | ParticleFieldQCM< dim, n_components, property_start_index > & | field_qcm | ) |
Definition at line 1177 of file particle_projector.cc.
References calculate_field_projection_impl(), Parameters::gaussian, Parameters::spherical, and void_fraction_parameters.
| void ParticleProjector< dim, PropertiesIndex >::calculate_field_projection | ( | ParticleFieldQCM< dim, property_start_index, n_components > & | field_qcm | ) |
Calculates the projection of a particle field onto the mesh.
| property_start_index | An integer for the particle_property that will be projected |
| n_components | The number of components of the field. This should be either 1 (scalar) or dim (a Tensor<1,dim>). |
| field_qcm | The container for the field that will be projected. |
|
private |
Templated implementation of calculate_field_projection.
| filter_type | The QCM filter type used to weigh particle contributions. Selected at runtime by the public dispatcher. |
Definition at line 1205 of file particle_projector.cc.
References calculate_filter_length_from_cell_measure(), cfd_periodic_directions, cfd_periodic_offsets, ParticleFieldQCM< dim, n_components, property_start_index >::conservative_projection, ParticleFieldQCM< dim, n_components, property_start_index >::dof_handler, evaluate_filter(), ParticleFieldQCM< dim, n_components, property_start_index >::fe, LetheGridTools::find_cells_around_cell(), has_periodic_boundaries, ParticleFieldQCM< dim, n_components, property_start_index >::ilu_preconditioner, l2_smoothing_factor, linear_solver_parameters, mapping, ParticleFieldQCM< dim, n_components, property_start_index >::matrix_requires_assembly, ParticleFieldQCM< dim, n_components, property_start_index >::neumann_boundaries, ParticleFieldQCM< dim, n_components, property_start_index >::particle_field_constraints, ParticleFieldQCM< dim, n_components, property_start_index >::particle_field_solution, particle_handler, PhysicsLinearSubequationsSolver::pcout, quadrature, Parameters::quiet, ParticleFieldQCM< dim, n_components, property_start_index >::system_matrix, ParticleFieldQCM< dim, n_components, property_start_index >::system_rhs, triangulation, vertices_to_cell, vertices_to_periodic_cell, and void_fraction_parameters.
|
inlineprivate |
Calculate the characteristic length of the QCM filter from a cell measure.
The returned length is the averaging-sphere radius when the spherical filter is used, and the standard deviation sigma when the gaussian filter is used. The cell-measure-to-length mapping itself does not depend on the filter type.
| cell_measure | The measure of the cell in which QCM is calculated. |
Definition at line 636 of file particle_projector.h.
References radius_sphere_equivalent_volume(), and void_fraction_parameters.
|
inlinestaticprivate |
Calculate the intersection measure (volume in 3D and area in 2D) between a particle and an hypersphere. This is used when calculating the intersection volume between the averaging sphere and a particle in QCM. The calculation inherently assumes that the radius of the averaging sphere is larger than that of the particle.
| r_particle | The radius of the particle |
| r_sphere | The radius of the averaging sphere |
| distance_between_spheres | The distance between the centers of the spheres |
Definition at line 666 of file particle_projector.h.
References particle_circle_intersection_2d(), and particle_sphere_intersection_3d().
| template void ParticleProjector< dim, PropertiesIndex >::calculate_particle_fluid_forces_projection | ( | const Parameters::CFDDEM & | cfd_dem_parameters, |
| DoFHandler< dim > & | fluid_dof_handler, | ||
| const VectorType & | present_velocity_pressure_solution, | ||
| const std::vector< VectorType > & | previous_velocity_pressure_solution, | ||
| const Tensor< 1, 3 > & | gravity, | ||
| NavierStokesScratchData< dim > | scratch_data ) |
Calculate all the necessary information for the particle-fluid coupling. This means calculating the projection of the particle-fluid interaction forces as well as the solid velocity onto the CFD mesh.
Definition at line 1649 of file particle_projector.cc.
References Parameters::beetstra, Parameters::CFDDEM::buoyancy_force, calculate_field_projection(), NavierStokesScratchData< dim >::calculate_physical_properties(), Parameters::dallavalle, Parameters::difelice, dof_handler, Parameters::CFDDEM::drag_coupling, Parameters::CFDDEM::drag_force, Parameters::CFDDEM::drag_model, NavierStokesScratchData< dim >::enable_particle_fluid_interactions(), NavierStokesScratchData< dim >::enable_void_fraction(), fe, fluid_drag_on_particles, fluid_force_on_particles_two_way_coupling, Parameters::function, Parameters::gidaspow, Parameters::kochhill, Parameters::CFDDEM::magnus_lift_force, mapping, momentum_transfer_coefficient, particle_handler, particle_velocity, Parameters::CFDDEM::pressure_force, previous_void_fraction, Parameters::qcm, quadrature, NavierStokesScratchData< dim >::reinit_void_fraction(), Parameters::rong, Parameters::CFDDEM::rotational_viscous_torque, Parameters::CFDDEM::saffman_lift_force, Parameters::CFDDEM::shear_force, void_fraction_locally_relevant, void_fraction_parameters, void_fraction_solution, Parameters::CFDDEM::vortical_viscous_torque, and zero_out_and_ghost_auxiliary_fields().
| void ParticleProjector< dim, PropertiesIndex >::calculate_particle_temperature_projection | ( | ) |
Project the particle temperature onto the fluid mesh with the QCM, then copy it into particle_temperature_locally_relevant, the vector provided to the multiphysics interface.
Definition at line 329 of file particle_projector.cc.
References calculate_field_projection(), calculate_particle_temperature_projection(), convert_vector_dealii_to_trilinos(), DEM::has_thermal_properties, particle_temperature, and particle_temperature_locally_relevant.
| void ParticleProjector< dim, PropertiesIndex >::calculate_void_fraction | ( | const double | time | ) |
Calculate the void fraction.
| [in] | time | Current time for which the void fraction is to be calculated. |
Definition at line 288 of file particle_projector.cc.
References announce_string(), calculate_field_projection(), calculate_void_fraction_function(), calculate_void_fraction_particle_centered_method(), calculate_void_fraction_quadrature_centered_method(), calculate_void_fraction_satellite_point_method(), Parameters::function, particle_have_been_projected, particle_velocity, Parameters::pcm, PhysicsLinearSubequationsSolver::pcout, Parameters::qcm, solve_linear_system_and_update_solution(), Parameters::spm, and void_fraction_parameters.
|
private |
Calculate the void fraction using a function. This is a straightforward usage of VectorTools.
| [in] | time | Current time for which the void fraction is to be calculated. |
Definition at line 362 of file particle_projector.cc.
References convert_vector_trilinos_to_dealii(), dof_handler, mapping, void_fraction_locally_owned, void_fraction_locally_relevant, void_fraction_parameters, and void_fraction_solution.
|
private |
Calculate the void fraction using the particle centered method.
Definition at line 392 of file particle_projector.cc.
References dof_handler, fe, l2_smoothing_factor, mapping, particle_handler, quadrature, system_matrix_void_fraction, system_rhs_void_fraction, and void_fraction_constraints.
|
private |
Templated implementation of the Quadrature-Centered Method (QCM).
| filter_type | The QCM filter type used to weigh particle contributions. Selected at runtime by the public dispatcher. |
Definition at line 761 of file particle_projector.cc.
References calculate_filter_length_from_cell_measure(), cfd_periodic_directions, cfd_periodic_offsets, dof_handler, evaluate_filter(), fe, LetheGridTools::find_cells_around_cell(), l2_smoothing_factor, mapping, particle_handler, quadrature, system_matrix_void_fraction, system_rhs_void_fraction, vertices_to_cell, vertices_to_periodic_cell, void_fraction_constraints, and void_fraction_parameters.
|
private |
Calculate the void fraction using the Quadrature-Centered Method (QCM).
Thin dispatcher that selects the filter kernel at runtime and forwards to the templated implementation calculate_void_fraction_qcm_impl.
Definition at line 740 of file particle_projector.cc.
References calculate_void_fraction_qcm_impl(), Parameters::gaussian, Parameters::spherical, and void_fraction_parameters.
|
private |
Calculate the void fraction using the satellite point method.
Definition at line 490 of file particle_projector.cc.
References cfd_periodic_directions, cfd_periodic_offsets, dof_handler, fe, LetheGridTools::find_cells_around_cell(), l2_smoothing_factor, mapping, particle_handler, quadrature, system_matrix_void_fraction, system_rhs_void_fraction, vertices_to_cell, vertices_to_periodic_cell, void_fraction_constraints, and void_fraction_parameters.
|
inline |
Request that all DoFHandlers managed by this projector also distribute multigrid level DoFs the next time setup_dofs() is called. This is required by the local-smoothing multigrid (LSMG) preconditioner of the VANS matrix-free solver, which needs the auxiliary fields on every triangulation level. Must be called before setup_dofs().
| [in] | enabled | If true, distribute_mg_dofs() will be called on the void-fraction DoFHandler and on every ParticleFieldQCM DoFHandler. |
Definition at line 412 of file particle_projector.h.
References fluid_drag_on_particles, fluid_force_on_particles_two_way_coupling, momentum_transfer_coefficient, multigrid_level_dofs_required, and particle_velocity.
|
inlinestaticprivate |
Evaluate the QCM filter kernel selected at compile time.
Dispatches between the spherical indicator kernel (calculate_intersection_measure) and the Gaussian kernel (gaussian_filter_kernel) without runtime branching in the inner loop.
| filter_type | The QCM filter type to evaluate. |
| [in] | r_particle | Radius of the particle. |
| [in] | filter_length | Characteristic length of the filter (averaging sphere radius for spherical, standard deviation sigma for gaussian). |
| [in] | distance | Distance between the particle center and the evaluation point. |
Definition at line 716 of file particle_projector.h.
References calculate_intersection_measure(), Parameters::gaussian, gaussian_filter_kernel(), and Parameters::spherical.
|
inlineprivate |
Calculate and return the periodic offset distance vector of the domain which is needed for the periodic boundary conditions using the QCM or SPM for void fraction with the GLS VANS/CFD-DEM solver. The distance is based on one of the periodic boundaries. This periodic boundary is then used as the reference for all particle locations shifted by this offset vector.
| [in] | boundary_id | The ID of one of the periodic boundaries |
Definition at line 812 of file particle_projector.h.
References triangulation.
|
inline |
Initialize the void fraction at the beginning of a simulation.
| [in] | time | The current time. This is used for time-dependent functions. |
Definition at line 504 of file particle_projector.h.
References calculate_void_fraction(), previous_void_fraction, void_fraction_locally_relevant, void_fraction_previous_solution, and void_fraction_solution.
|
inline |
Percolate the time vector for the void fraction. This operation is called at the end of a time step. It percolates both the deal.II and the Trilinos vectors.
TODO - Refactor the ParticleProjector class to use deal.II vectors for everything instead of a blend of Trilinos and deal.II vector.
Definition at line 484 of file particle_projector.h.
References previous_void_fraction, void_fraction_locally_relevant, void_fraction_previous_solution, and void_fraction_solution.
|
inlinestaticprivate |
Calculate the characteristic radius of a sphere with a given volume (area in 2D): R = (2*dim*V/pi)^(1/dim) / 2.
| volume | value for which the equivalent radius of a sphere is calculated. |
Definition at line 617 of file particle_projector.h.
| void ParticleProjector< dim, PropertiesIndex >::setup_constraints | ( | const BoundaryConditions::FluidDynamicsBoundaryConditions< dim > & | boundary_conditions | ) |
Establish the constraints of the void fraction systems.
| [in] | boundary_conditions | The boundary conditions of fluid dynamics. This is used to establish periodic boundary conditions for the void fraction. |
Definition at line 212 of file particle_projector.cc.
References cfd_periodic_directions, cfd_periodic_offsets, dof_handler, get_periodic_offset_distance(), has_periodic_boundaries, DEM::has_thermal_properties, locally_relevant_dofs, BoundaryConditions::periodic, BoundaryConditions::BoundaryConditions< BoundaryType >::periodic_boundaries, Parameters::qcm, Parameters::spm, BoundaryConditions::BoundaryConditions< BoundaryType >::type, void_fraction_constraints, and void_fraction_parameters.
|
overridevirtual |
Setup the degrees of freedom.
Implements PhysicsSubequationsSolverBase.
Definition at line 103 of file particle_projector.cc.
References dof_handler, fe, fluid_drag_on_particles, fluid_force_on_particles_two_way_coupling, DEM::has_thermal_properties, locally_owned_dofs, locally_relevant_dofs, maximum_number_of_previous_solutions(), momentum_transfer_coefficient, multigrid_level_dofs_required, particle_temperature, particle_temperature_locally_relevant, particle_velocity, previous_void_fraction, system_matrix_void_fraction, system_rhs_void_fraction, triangulation, LetheGridTools::vertices_cell_mapping(), vertices_to_cell, void_fraction_constraints, void_fraction_locally_owned, void_fraction_locally_relevant, void_fraction_previous_solution, and void_fraction_solution.
|
inlineoverridevirtual |
Assemble and solve the system.
Implements PhysicsSubequationsSolverBase.
Definition at line 473 of file particle_projector.h.
|
overrideprivatevirtual |
Solve the linear system resulting from the assemblies.
Implements PhysicsLinearSubequationsSolver.
Definition at line 1959 of file particle_projector.cc.
References convert_vector_trilinos_to_dealii(), dof_handler, ilu_preconditioner, linear_solver_parameters, locally_owned_dofs, PhysicsLinearSubequationsSolver::pcout, Parameters::quiet, solve_linear_system_and_update_solution(), system_matrix_void_fraction, system_rhs_void_fraction, triangulation, void_fraction_constraints, void_fraction_locally_relevant, and void_fraction_solution.
| void ParticleProjector< dim, PropertiesIndex >::write_qcm_quadrature_points | ( | const std::string & | folder, |
| const std::string & | prefix, | ||
| const unsigned int | group_files ) |
Write the location of the QCM quadrature points and the radius of the filter centered at each of them for visualization.
| [in] | folder | Output folder. |
| [in] | prefix | Prefix for the output files. |
| [in] | group_files | Number of files the output is grouped into. |
Definition at line 2049 of file particle_projector.cc.
References QuadraturePointsDataOut< dim >::build_patches(), calculate_filter_length_from_cell_measure(), dof_handler, mapping, quadrature, triangulation, void_fraction_parameters, and write_vtu_and_pvd().
|
inline |
Zeros out and update the ghost values of the auxiliary fields. This is necessary when the void fraction calculation mode does not rely on particles.
Definition at line 537 of file particle_projector.h.
References fluid_drag_on_particles, fluid_force_on_particles_two_way_coupling, momentum_transfer_coefficient, and particle_velocity.
|
private |
Map of directions associated with periodic boundary conditions.
Definition at line 900 of file particle_projector.h.
|
private |
Map of offsets for periodic boundary conditions.
Definition at line 897 of file particle_projector.h.
| std::shared_ptr<DoFHandler<dim> > ParticleProjector< dim, PropertiesIndex >::dof_handler |
DoFHandler that manages the void fraction, it is a shared pointer because it is used by the multiphysics interface
Definition at line 565 of file particle_projector.h.
| std::shared_ptr<FiniteElement<dim> > ParticleProjector< dim, PropertiesIndex >::fe |
Finite element for the void fraction.
Definition at line 593 of file particle_projector.h.
| ParticleFieldQCM<dim, 3, PropertiesIndex::fem_drag_x> ParticleProjector< dim, PropertiesIndex >::fluid_drag_on_particles |
Projector used to store the drag force. The drag is stored as a separate field since we may want to make implicit calculations of it. This field is volumetric. The integral of this field over the entire domain will result in the sum of the drag force over all the particles.
Definition at line 956 of file particle_projector.h.
| ParticleFieldQCM<dim, 3, PropertiesIndex::fem_force_two_way_coupling_x> ParticleProjector< dim, PropertiesIndex >::fluid_force_on_particles_two_way_coupling |
Projector used to save the forces used in the two-way coupling scheme, without drag. This field is volumetric. The integral of this field over the entire domain will result in the sum of the force (without drag) over all of the particles.
Definition at line 950 of file particle_projector.h.
|
private |
Boolean to indicate if the mesh has periodic boundaries.
Definition at line 894 of file particle_projector.h.
|
private |
Preconditioner used for the solution of the smoothed L2 projection of the void fraction
Definition at line 877 of file particle_projector.h.
|
private |
Smoothing length factor for the void fraction calculation.
Definition at line 909 of file particle_projector.h.
|
private |
Linear solvers for the calculation of the void fraction.
Definition at line 869 of file particle_projector.h.
| IndexSet ParticleProjector< dim, PropertiesIndex >::locally_owned_dofs |
Index set for the locally owned degree of freedoms.
Definition at line 596 of file particle_projector.h.
| IndexSet ParticleProjector< dim, PropertiesIndex >::locally_relevant_dofs |
Index set for the locally relevant degree of freedoms.
Definition at line 599 of file particle_projector.h.
| std::shared_ptr<Mapping<dim> > ParticleProjector< dim, PropertiesIndex >::mapping |
Mapping for the void fraction.
Definition at line 568 of file particle_projector.h.
| ParticleFieldQCM<dim, 1, PropertiesIndex::momentum_transfer_coefficient> ParticleProjector< dim, PropertiesIndex >::momentum_transfer_coefficient |
Projector used to save the momentum transfer coefficient (beta). This field is volumetric. The integral of this field over the entire domain will result in the sum of the momentum transfer coefficient over all particles.
Definition at line 963 of file particle_projector.h.
|
private |
When set, setup_dofs() will additionally call distribute_mg_dofs() on the void-fraction DoFHandler. This is required by local-smoothing multigrid (LSMG) of the VANS matrix-free solver. The flag is propagated to every ParticleFieldQCM by enable_multigrid_level_dofs().
Definition at line 921 of file particle_projector.h.
|
private |
Particle handler used when the void fraction depends on particles.
Definition at line 872 of file particle_projector.h.
|
private |
Boolean indicator used to check if the particles have at least been projected once. This is mainly used for assertions and sanity checking purposes
Definition at line 915 of file particle_projector.h.
| ParticleFieldQCM<dim, 1, DEM::temperature_property_index<PropertiesIndex> > ParticleProjector< dim, PropertiesIndex >::particle_temperature |
Projector used to save the particle temperature field onto the mesh This field is not volumetric, meaning that the integral over the entire domain of this field will not yield the sum of the particle temperature over all the particles. The particle temperature is only projected if the particle properties have thermal properties (for dem_mp simulations). Otherwise, its index is set to -1 and the field is not projected.
Definition at line 938 of file particle_projector.h.
| std::shared_ptr<GlobalVectorType> ParticleProjector< dim, PropertiesIndex >::particle_temperature_locally_relevant |
Copy of the projected particle temperature, including the locally relevant ghost values, in the vector type of the multiphysics interface. It is a shared pointer because it is used by the multiphysics interface.
Definition at line 943 of file particle_projector.h.
| ParticleFieldQCM<dim, 3, PropertiesIndex::v_x> ParticleProjector< dim, PropertiesIndex >::particle_velocity |
Projector used to save the particle velocity field onto the mesh This field is not volumetric, meaning that the integral over the entire domain of this field will not yield the sum of the particle velocity over all the particles.
Definition at line 928 of file particle_projector.h.
| std::shared_ptr<std::vector<GlobalVectorType> > ParticleProjector< dim, PropertiesIndex >::previous_void_fraction |
The solutions are made public instead of using getters Solution of the void fraction at previous time steps, it is a shared pointer because it is used by the multiphysics interface
Definition at line 576 of file particle_projector.h.
| std::shared_ptr<Quadrature<dim> > ParticleProjector< dim, PropertiesIndex >::quadrature |
Quadrature for the void fraction.
Definition at line 571 of file particle_projector.h.
|
private |
System matrix used to assemble the smoothed L2 projection of the void fraction
Definition at line 881 of file particle_projector.h.
|
private |
Right-hand side used to assemble the smoothed L2 projection of the void fraction
Definition at line 885 of file particle_projector.h.
|
private |
Triangulation.
Definition at line 859 of file particle_projector.h.
|
private |
Vertices to cell map, this is used in the QCM and the satellite point method to access the neighboring cells of a cell.
Definition at line 891 of file particle_projector.h.
|
private |
Vertices to periodic cell map, this is used in the QCM and the satellite point method to access the neighboring cells of a cell.
Definition at line 906 of file particle_projector.h.
| AffineConstraints<double> ParticleProjector< dim, PropertiesIndex >::void_fraction_constraints |
Constraints used for the boundary conditions of the void fraction. Currently, this is only used to establish periodic void fractions. This object has to be made public because the boundary conditions are set outside of the object for now.
Definition at line 605 of file particle_projector.h.
| GlobalVectorType ParticleProjector< dim, PropertiesIndex >::void_fraction_locally_owned |
Locally owned solution of the void fraction.
Definition at line 583 of file particle_projector.h.
| std::shared_ptr<GlobalVectorType> ParticleProjector< dim, PropertiesIndex >::void_fraction_locally_relevant |
Fully distributed (including locally relevant) solution, it is a shared pointer because it is used by the multiphysics interface
Definition at line 580 of file particle_projector.h.
|
private |
Parameters for the calculation of the void fraction Right now this is used for the VANS matrix-free solver to directly calculate the void fraction from the function itself. The function will be removed back to private in a future PR.
Definition at line 866 of file particle_projector.h.
| std::vector<LinearAlgebra::distributed::Vector<double> > ParticleProjector< dim, PropertiesIndex >::void_fraction_previous_solution |
deal.II vector the previous void fraction
Definition at line 590 of file particle_projector.h.
| LinearAlgebra::distributed::Vector<double> ParticleProjector< dim, PropertiesIndex >::void_fraction_solution |
deal.II vector for the void fraction
Definition at line 586 of file particle_projector.h.