12 &boundary_cells_information,
13 const Particles::ParticleHandler<dim> &particle_handler,
15 &particle_wall_contact_candidates)
18 particle_wall_contact_candidates.clear();
25 for (
auto boundary_cells_information_iterator =
26 boundary_cells_information.begin();
27 boundary_cells_information_iterator != boundary_cells_information.end();
28 ++boundary_cells_information_iterator)
30 auto boundary_cells_content = boundary_cells_information_iterator->second;
31 auto cell = boundary_cells_content.cell;
35 typename Particles::ParticleHandler<dim>::particle_iterator_range
36 particles_in_cell = particle_handler.particles_in_cell(cell);
38 const bool particles_exist_in_main_cell = !particles_in_cell.empty();
41 if (particles_exist_in_main_cell)
43 for (
typename Particles::ParticleHandler<dim>::
44 particle_iterator_range::iterator particle_in_cell_iterator =
45 particles_in_cell.begin();
46 particle_in_cell_iterator != particles_in_cell.end();
47 ++particle_in_cell_iterator)
51 boundary_cells_content,
52 particle_wall_contact_candidates);
61 const std::unordered_map<
62 types::global_dof_index,
63 std::set<
typename Triangulation<dim>::active_cell_iterator>>
64 &boundary_cells_for_floating_walls,
65 const Particles::ParticleHandler<dim> &particle_handler,
67 const double simulation_time,
69 &particle_floating_wall_candidates)
72 particle_floating_wall_candidates.clear();
80 for (
auto fw_boundary_cells_information_iterator =
81 boundary_cells_for_floating_walls.begin();
82 fw_boundary_cells_information_iterator !=
83 boundary_cells_for_floating_walls.end();
84 ++fw_boundary_cells_information_iterator)
86 auto floating_wall_id = fw_boundary_cells_information_iterator->first;
89 if (simulation_time >=
90 floating_wall_properties.
time_start[floating_wall_id] &&
92 floating_wall_properties.
time_end[floating_wall_id])
94 auto boundary_cells_content =
95 fw_boundary_cells_information_iterator->second;
97 for (
auto cell = boundary_cells_content.begin();
98 cell != boundary_cells_content.end();
102 typename Particles::ParticleHandler<dim>::particle_iterator_range
103 particles_in_cell = particle_handler.particles_in_cell(*cell);
105 const bool particles_exist_in_main_cell =
106 !particles_in_cell.empty();
109 if (particles_exist_in_main_cell)
111 for (
typename Particles::ParticleHandler<
112 dim>::particle_iterator_range::iterator
113 particle_in_cell_iterator = particles_in_cell.begin();
114 particle_in_cell_iterator != particles_in_cell.end();
115 ++particle_in_cell_iterator)
119 particle_floating_wall_candidates);
131 &solid_surfaces_mesh_information,
132 const Particles::ParticleHandler<dim> &particle_handler,
134 &particle_floating_mesh_contact_candidates,
136 &cells_total_neighbor_list)
139 particle_floating_mesh_contact_candidates.clear();
140 particle_floating_mesh_contact_candidates.resize(
141 solid_surfaces_mesh_information.size());
143 for (
unsigned int solid_counter = 0;
144 solid_counter < solid_surfaces_mesh_information.size();
148 particle_floating_mesh_contact_candidates[solid_counter];
158 auto &solid_iterator = solid_surfaces_mesh_information[solid_counter];
162 for (
auto floating_mesh_iterator = solid_iterator.begin();
163 floating_mesh_iterator != solid_iterator.end();
164 ++floating_mesh_iterator)
167 auto background_cell = floating_mesh_iterator->first;
169 if (background_cell->is_locally_owned() ||
170 background_cell->is_ghost())
173 auto cut_cells = floating_mesh_iterator->second;
176 const auto &cell_list = cells_total_neighbor_list.at(
177 background_cell->global_active_cell_index());
180 for (
auto &cell_iterator : cell_list)
183 typename Particles::ParticleHandler<
184 dim>::particle_iterator_range particles_in_cell =
185 particle_handler.particles_in_cell(cell_iterator);
187 const bool particles_exist_in_cell =
188 !particles_in_cell.empty();
191 if (particles_exist_in_cell)
194 auto &cut_cell_candidates = candidates[cut_cells];
198 for (
typename Particles::ParticleHandler<
199 dim>::particle_iterator_range::iterator
200 particle_in_cell_iterator =
201 particles_in_cell.begin();
202 particle_in_cell_iterator != particles_in_cell.end();
203 ++particle_in_cell_iterator)
205 cut_cell_candidates.insert(
206 {particle_in_cell_iterator->get_id(),
207 particle_in_cell_iterator});
216template <
int dim,
typename PropertiesIndex>
220 &boundary_cells_information,
221 const Particles::ParticleHandler<dim> &particle_handler,
223 &particle_wall_contact_candidates,
227 particle_wall_contact_candidates.clear();
234 for (
auto boundary_cells_information_iterator =
235 boundary_cells_information.begin();
236 boundary_cells_information_iterator != boundary_cells_information.end();
237 ++boundary_cells_information_iterator)
239 auto boundary_cells_content = boundary_cells_information_iterator->second;
240 auto cell = boundary_cells_content.cell;
245 unsigned int main_cell_mobility_status =
247 if (main_cell_mobility_status !=
252 typename Particles::ParticleHandler<dim>::particle_iterator_range
253 particles_in_cell = particle_handler.particles_in_cell(cell);
255 for (
typename Particles::ParticleHandler<
256 dim>::particle_iterator_range::iterator particle_in_cell_iterator =
257 particles_in_cell.begin();
258 particle_in_cell_iterator != particles_in_cell.end();
259 ++particle_in_cell_iterator)
263 boundary_cells_content,
264 particle_wall_contact_candidates);
269template <
int dim,
typename PropertiesIndex>
272 const std::unordered_map<
273 types::global_dof_index,
274 std::set<
typename Triangulation<dim>::active_cell_iterator>>
275 &boundary_cells_for_floating_walls,
276 const Particles::ParticleHandler<dim> &particle_handler,
278 const double simulation_time,
280 &particle_floating_wall_candidates,
284 particle_floating_wall_candidates.clear();
292 for (
auto fw_boundary_cells_information_iterator =
293 boundary_cells_for_floating_walls.begin();
294 fw_boundary_cells_information_iterator !=
295 boundary_cells_for_floating_walls.end();
296 ++fw_boundary_cells_information_iterator)
298 auto floating_wall_id = fw_boundary_cells_information_iterator->first;
301 if (simulation_time >=
302 floating_wall_properties.
time_start[floating_wall_id] &&
304 floating_wall_properties.
time_end[floating_wall_id])
306 auto boundary_cells_content =
307 fw_boundary_cells_information_iterator->second;
309 for (
auto cell = boundary_cells_content.begin();
310 cell != boundary_cells_content.end();
316 unsigned int main_cell_mobility_status =
318 if (main_cell_mobility_status !=
323 typename Particles::ParticleHandler<dim>::particle_iterator_range
324 particles_in_cell = particle_handler.particles_in_cell(*cell);
326 for (
typename Particles::ParticleHandler<
327 dim>::particle_iterator_range::iterator
328 particle_in_cell_iterator = particles_in_cell.begin();
329 particle_in_cell_iterator != particles_in_cell.end();
330 ++particle_in_cell_iterator)
334 particle_floating_wall_candidates);
341template <
int dim,
typename PropertiesIndex>
345 &solid_surfaces_mesh_information,
346 const Particles::ParticleHandler<dim> &particle_handler,
348 &particle_floating_mesh_contact_candidates,
350 &cells_total_neighbor_list,
354 particle_floating_mesh_contact_candidates.clear();
355 particle_floating_mesh_contact_candidates.resize(
356 solid_surfaces_mesh_information.size());
358 for (
unsigned int solid_counter = 0;
359 solid_counter < solid_surfaces_mesh_information.size();
363 particle_floating_mesh_contact_candidates[solid_counter];
369 auto &solid_iterator = solid_surfaces_mesh_information[solid_counter];
373 for (
auto floating_mesh_iterator = solid_iterator.begin();
374 floating_mesh_iterator != solid_iterator.end();
375 ++floating_mesh_iterator)
378 auto background_cell = floating_mesh_iterator->first;
380 if (background_cell->is_locally_owned() ||
381 background_cell->is_ghost())
384 auto cut_cells = floating_mesh_iterator->second;
387 const auto &cell_list = cells_total_neighbor_list.at(
388 background_cell->global_active_cell_index());
391 for (
auto &cell_iterator : cell_list)
397 unsigned int main_cell_mobility_status =
399 if (main_cell_mobility_status !=
404 typename Particles::ParticleHandler<
405 dim>::particle_iterator_range particles_in_cell =
406 particle_handler.particles_in_cell(cell_iterator);
409 auto &cut_cell_candidates = candidates[cut_cells];
413 for (
auto particle_in_cell_iterator =
414 particles_in_cell.begin();
415 particle_in_cell_iterator != particles_in_cell.end();
416 ++particle_in_cell_iterator)
418 cut_cell_candidates.insert(
419 {particle_in_cell_iterator->get_id(),
420 particle_in_cell_iterator});
431 const typename Particles::ParticleHandler<
432 dim>::particle_iterator_range::iterator &particle_iterator,
435 &contact_pair_candidates)
438 const types::particle_index particle_id = particle_iterator->get_id();
439 auto candidates_container_it = contact_pair_candidates.find(particle_id);
443 if (candidates_container_it == contact_pair_candidates.end())
445 auto pair_it_bool = contact_pair_candidates.emplace(
448 Particles::ParticleIterator<dim>>());
450 candidates_container_it = pair_it_bool.first;
454 candidates_container_it->second.emplace(floating_wall_id, particle_iterator);
462 &boundary_cells_information,
463 const Particles::ParticleHandler<2> &particle_handler,
465 &particle_wall_contact_candidates);
470 &boundary_cells_information,
471 const Particles::ParticleHandler<3> &particle_handler,
473 &particle_wall_contact_candidates);
478 &boundary_cells_information,
479 const Particles::ParticleHandler<2> &particle_handler,
481 &particle_wall_contact_candidates,
483 &sparse_contacts_object);
488 &boundary_cells_information,
489 const Particles::ParticleHandler<3> &particle_handler,
491 &particle_wall_contact_candidates,
493 &sparse_contacts_object);
498 &boundary_cells_information,
499 const Particles::ParticleHandler<2> &particle_handler,
501 &particle_wall_contact_candidates,
503 &sparse_contacts_object);
508 &boundary_cells_information,
509 const Particles::ParticleHandler<3> &particle_handler,
511 &particle_wall_contact_candidates,
513 &sparse_contacts_object);
518 &boundary_cells_information,
519 const Particles::ParticleHandler<2> &particle_handler,
521 &particle_wall_contact_candidates,
523 &sparse_contacts_object);
528 &boundary_cells_information,
529 const Particles::ParticleHandler<2> &particle_handler,
531 &particle_wall_contact_candidates,
533 &sparse_contacts_object);
538 &boundary_cells_information,
539 const Particles::ParticleHandler<3> &particle_handler,
541 &particle_wall_contact_candidates,
543 &sparse_contacts_object);
548 &boundary_cells_information,
549 const Particles::ParticleHandler<3> &particle_handler,
551 &particle_wall_contact_candidates,
553 &sparse_contacts_object);
557 const std::unordered_map<
558 types::global_dof_index,
559 std::set<
typename Triangulation<2>::active_cell_iterator>>
560 &boundary_cells_for_floating_walls,
561 const Particles::ParticleHandler<2> &particle_handler,
563 const double simulation_time,
565 &particle_floating_wall_candidates);
569 const std::unordered_map<
570 types::global_dof_index,
571 std::set<
typename Triangulation<3>::active_cell_iterator>>
572 &boundary_cells_for_floating_walls,
573 const Particles::ParticleHandler<3> &particle_handler,
575 const double simulation_time,
577 &particle_floating_wall_candidates);
582 const std::unordered_map<
583 types::global_dof_index,
584 std::set<typename Triangulation<2>::active_cell_iterator>>
585 &boundary_cells_for_floating_walls,
586 const Particles::ParticleHandler<2> &particle_handler,
588 const double simulation_time,
590 &particle_floating_wall_candidates,
592 &sparse_contacts_object);
597 const std::unordered_map<
598 types::global_dof_index,
599 std::set<typename Triangulation<3>::active_cell_iterator>>
600 &boundary_cells_for_floating_walls,
601 const Particles::ParticleHandler<3> &particle_handler,
603 const double simulation_time,
605 &particle_floating_wall_candidates,
607 &sparse_contacts_object);
613 const std::unordered_map<
614 types::global_dof_index,
615 std::set<typename Triangulation<2>::active_cell_iterator>>
616 &boundary_cells_for_floating_walls,
617 const Particles::ParticleHandler<2> &particle_handler,
619 const double simulation_time,
621 &particle_floating_wall_candidates,
623 &sparse_contacts_object);
629 const std::unordered_map<
630 types::global_dof_index,
631 std::set<typename Triangulation<3>::active_cell_iterator>>
632 &boundary_cells_for_floating_walls,
633 const Particles::ParticleHandler<3> &particle_handler,
635 const double simulation_time,
637 &particle_floating_wall_candidates,
639 &sparse_contacts_object);
645 const std::unordered_map<
646 types::global_dof_index,
647 std::set<typename Triangulation<2>::active_cell_iterator>>
648 &boundary_cells_for_floating_walls,
649 const Particles::ParticleHandler<2> &particle_handler,
651 const double simulation_time,
653 &particle_floating_wall_candidates,
655 &sparse_contacts_object);
661 const std::unordered_map<
662 types::global_dof_index,
663 std::set<typename Triangulation<2>::active_cell_iterator>>
664 &boundary_cells_for_floating_walls,
665 const Particles::ParticleHandler<2> &particle_handler,
667 const double simulation_time,
669 &particle_floating_wall_candidates,
671 &sparse_contacts_object);
677 const std::unordered_map<
678 types::global_dof_index,
679 std::set<typename Triangulation<3>::active_cell_iterator>>
680 &boundary_cells_for_floating_walls,
681 const Particles::ParticleHandler<3> &particle_handler,
683 const double simulation_time,
685 &particle_floating_wall_candidates,
687 &sparse_contacts_object);
693 const std::unordered_map<
694 types::global_dof_index,
695 std::set<typename Triangulation<3>::active_cell_iterator>>
696 &boundary_cells_for_floating_walls,
697 const Particles::ParticleHandler<3> &particle_handler,
699 const double simulation_time,
701 &particle_floating_wall_candidates,
703 &sparse_contacts_object);
708 &solid_surfaces_mesh_information,
709 const Particles::ParticleHandler<2> &particle_handler,
711 &particle_floating_mesh_contact_candidates,
713 &cells_total_neighbor_list);
718 &solid_surfaces_mesh_information,
719 const Particles::ParticleHandler<3> &particle_handler,
721 &particle_floating_mesh_contact_candidates,
723 &cells_total_neighbor_list);
728 &solid_surfaces_mesh_information,
729 const Particles::ParticleHandler<2> &particle_handler,
731 &particle_floating_mesh_contact_candidates,
733 &cells_total_neighbor_list,
735 &sparse_contacts_object);
740 &solid_surfaces_mesh_information,
741 const Particles::ParticleHandler<3> &particle_handler,
743 &particle_floating_mesh_contact_candidates,
745 &cells_total_neighbor_list,
747 &sparse_contacts_object);
753 &solid_surfaces_mesh_information,
754 const Particles::ParticleHandler<2> &particle_handler,
756 &particle_floating_mesh_contact_candidates,
758 &cells_total_neighbor_list,
760 &sparse_contacts_object);
766 &solid_surfaces_mesh_information,
767 const Particles::ParticleHandler<3> &particle_handler,
769 &particle_floating_mesh_contact_candidates,
771 &cells_total_neighbor_list,
773 &sparse_contacts_object);
779 &solid_surfaces_mesh_information,
780 const Particles::ParticleHandler<2> &particle_handler,
782 &particle_floating_mesh_contact_candidates,
784 &cells_total_neighbor_list,
786 &sparse_contacts_object);
793 &solid_surfaces_mesh_information,
794 const Particles::ParticleHandler<2> &particle_handler,
796 &particle_floating_mesh_contact_candidates,
798 &cells_total_neighbor_list,
800 &sparse_contacts_object);
806 &solid_surfaces_mesh_information,
807 const Particles::ParticleHandler<3> &particle_handler,
809 &particle_floating_mesh_contact_candidates,
811 &cells_total_neighbor_list,
813 &sparse_contacts_object);
820 &solid_surfaces_mesh_information,
821 const Particles::ParticleHandler<3> &particle_handler,
823 &particle_floating_mesh_contact_candidates,
825 &cells_total_neighbor_list,
827 &sparse_contacts_object);
Parameters for floating walls in DEM simulations.
std::vector< double > time_end
Deactivation time of each floating wall.
std::vector< double > time_start
Activation time of each floating wall.
PropertiesIndex
Particle property indices for CFD-DEM multiphysics simulations.
PropertiesIndex
Particle property indices for CFD-DEM simulations.
PropertiesIndex
Particle property indices for DEM multiphysics simulations.
PropertiesIndex
Particle property indices for pure DEM simulations.
unsigned int global_face_id
Defined global face id as a type to ensure that we know what the structures use as index....
template void particle_solid_surfaces_contact_search< 2 >(const DEM::dem_data_structures< 2 >::solid_surfaces_mesh_information &solid_surfaces_mesh_information, const Particles::ParticleHandler< 2 > &particle_handler, DEM::dem_data_structures< 2 >::particle_floating_mesh_candidates &particle_floating_mesh_contact_candidates, DEM::dem_data_structures< 2 >::cells_total_neighbor_list &cells_total_neighbor_list)
void find_particle_wall_contact_pairs(const std::map< int, boundary_cells_info_struct< dim > > &boundary_cells_information, const Particles::ParticleHandler< dim > &particle_handler, typename DEM::dem_data_structures< dim >::particle_wall_candidates &particle_wall_contact_candidates)
Finds unordered map of tuples (tuple of particle located in boundary cells, normal vector of the boun...
template void find_particle_wall_contact_pairs< 2, DEM::CFDDEMProperties::PropertiesIndex >(const std::map< int, boundary_cells_info_struct< 2 > > &boundary_cells_information, const Particles::ParticleHandler< 2 > &particle_handler, DEM::dem_data_structures< 2 >::particle_wall_candidates &particle_wall_contact_candidates, const AdaptiveSparseContacts< 2, DEM::CFDDEMProperties::PropertiesIndex > &sparse_contacts_object)
template void find_particle_wall_contact_pairs< 2, DEM::CFDDEMMPProperties::PropertiesIndex >(const std::map< int, boundary_cells_info_struct< 2 > > &boundary_cells_information, const Particles::ParticleHandler< 2 > &particle_handler, DEM::dem_data_structures< 2 >::particle_wall_candidates &particle_wall_contact_candidates, const AdaptiveSparseContacts< 2, DEM::CFDDEMMPProperties::PropertiesIndex > &sparse_contacts_object)
void find_particle_floating_wall_contact_pairs(const std::unordered_map< types::global_dof_index, std::set< typename Triangulation< dim >::active_cell_iterator > > &boundary_cells_for_floating_walls, const Particles::ParticleHandler< dim > &particle_handler, const Parameters::Lagrangian::FloatingWalls< dim > &floating_wall_properties, const double simulation_time, typename DEM::dem_data_structures< dim >::particle_floating_wall_candidates &particle_floating_wall_candidates)
Find a two-layered unordered map of particle iterators which shows the candidate particle-floating wa...
template void find_particle_floating_wall_contact_pairs< 2 >(const std::unordered_map< types::global_dof_index, std::set< typename Triangulation< 2 >::active_cell_iterator > > &boundary_cells_for_floating_walls, const Particles::ParticleHandler< 2 > &particle_handler, const Parameters::Lagrangian::FloatingWalls< 2 > &floating_wall_properties, const double simulation_time, DEM::dem_data_structures< 2 >::particle_floating_wall_candidates &particle_floating_wall_candidates)
template void find_particle_wall_contact_pairs< 3, DEM::DEMMPProperties::PropertiesIndex >(const std::map< int, boundary_cells_info_struct< 3 > > &boundary_cells_information, const Particles::ParticleHandler< 3 > &particle_handler, DEM::dem_data_structures< 3 >::particle_wall_candidates &particle_wall_contact_candidates, const AdaptiveSparseContacts< 3, DEM::DEMMPProperties::PropertiesIndex > &sparse_contacts_object)
template void find_particle_wall_contact_pairs< 3, DEM::CFDDEMMPProperties::PropertiesIndex >(const std::map< int, boundary_cells_info_struct< 3 > > &boundary_cells_information, const Particles::ParticleHandler< 3 > &particle_handler, DEM::dem_data_structures< 3 >::particle_wall_candidates &particle_wall_contact_candidates, const AdaptiveSparseContacts< 3, DEM::CFDDEMMPProperties::PropertiesIndex > &sparse_contacts_object)
template void find_particle_wall_contact_pairs< 2 >(const std::map< int, boundary_cells_info_struct< 2 > > &boundary_cells_information, const Particles::ParticleHandler< 2 > &particle_handler, DEM::dem_data_structures< 2 >::particle_wall_candidates &particle_wall_contact_candidates)
template void find_particle_wall_contact_pairs< 2, DEM::DEMProperties::PropertiesIndex >(const std::map< int, boundary_cells_info_struct< 2 > > &boundary_cells_information, const Particles::ParticleHandler< 2 > &particle_handler, DEM::dem_data_structures< 2 >::particle_wall_candidates &particle_wall_contact_candidates, const AdaptiveSparseContacts< 2, DEM::DEMProperties::PropertiesIndex > &sparse_contacts_object)
void particle_solid_surfaces_contact_search(const typename DEM::dem_data_structures< dim >::solid_surfaces_mesh_information &solid_surfaces_mesh_information, const Particles::ParticleHandler< dim > &particle_handler, typename DEM::dem_data_structures< dim >::particle_floating_mesh_candidates &particle_floating_mesh_contact_candidates, typename DEM::dem_data_structures< dim >::cells_total_neighbor_list &cells_total_neighbor_list)
Find a two-layered unordered map (particle_floating_mesh_contact_candidates) of particle iterators th...
template void particle_solid_surfaces_contact_search< 2, DEM::DEMProperties::PropertiesIndex >(const DEM::dem_data_structures< 2 >::solid_surfaces_mesh_information &solid_surfaces_mesh_information, const Particles::ParticleHandler< 2 > &particle_handler, DEM::dem_data_structures< 2 >::particle_floating_mesh_candidates &particle_floating_mesh_contact_candidates, DEM::dem_data_structures< 2 >::cells_total_neighbor_list &cells_total_neighbor_list, const AdaptiveSparseContacts< 2, DEM::DEMProperties::PropertiesIndex > &sparse_contacts_object)
template void find_particle_wall_contact_pairs< 2, DEM::DEMMPProperties::PropertiesIndex >(const std::map< int, boundary_cells_info_struct< 2 > > &boundary_cells_information, const Particles::ParticleHandler< 2 > &particle_handler, DEM::dem_data_structures< 2 >::particle_wall_candidates &particle_wall_contact_candidates, const AdaptiveSparseContacts< 2, DEM::DEMMPProperties::PropertiesIndex > &sparse_contacts_object)
template void find_particle_wall_contact_pairs< 3, DEM::DEMProperties::PropertiesIndex >(const std::map< int, boundary_cells_info_struct< 3 > > &boundary_cells_information, const Particles::ParticleHandler< 3 > &particle_handler, DEM::dem_data_structures< 3 >::particle_wall_candidates &particle_wall_contact_candidates, const AdaptiveSparseContacts< 3, DEM::DEMProperties::PropertiesIndex > &sparse_contacts_object)
template void find_particle_floating_wall_contact_pairs< 3 >(const std::unordered_map< types::global_dof_index, std::set< typename Triangulation< 3 >::active_cell_iterator > > &boundary_cells_for_floating_walls, const Particles::ParticleHandler< 3 > &particle_handler, const Parameters::Lagrangian::FloatingWalls< 3 > &floating_wall_properties, const double simulation_time, DEM::dem_data_structures< 3 >::particle_floating_wall_candidates &particle_floating_wall_candidates)
template void particle_solid_surfaces_contact_search< 3, DEM::DEMProperties::PropertiesIndex >(const DEM::dem_data_structures< 3 >::solid_surfaces_mesh_information &solid_surfaces_mesh_information, const Particles::ParticleHandler< 3 > &particle_handler, DEM::dem_data_structures< 3 >::particle_floating_mesh_candidates &particle_floating_mesh_contact_candidates, DEM::dem_data_structures< 3 >::cells_total_neighbor_list &cells_total_neighbor_list, const AdaptiveSparseContacts< 3, DEM::DEMProperties::PropertiesIndex > &sparse_contacts_object)
template void find_particle_wall_contact_pairs< 3, DEM::CFDDEMProperties::PropertiesIndex >(const std::map< int, boundary_cells_info_struct< 3 > > &boundary_cells_information, const Particles::ParticleHandler< 3 > &particle_handler, DEM::dem_data_structures< 3 >::particle_wall_candidates &particle_wall_contact_candidates, const AdaptiveSparseContacts< 3, DEM::CFDDEMProperties::PropertiesIndex > &sparse_contacts_object)
template void particle_solid_surfaces_contact_search< 3 >(const DEM::dem_data_structures< 3 >::solid_surfaces_mesh_information &solid_surfaces_mesh_information, const Particles::ParticleHandler< 3 > &particle_handler, DEM::dem_data_structures< 3 >::particle_floating_mesh_candidates &particle_floating_mesh_contact_candidates, DEM::dem_data_structures< 3 >::cells_total_neighbor_list &cells_total_neighbor_list)
void store_candidates(const typename Particles::ParticleHandler< dim >::particle_iterator_range::iterator &particle_iterator, const DEM::global_face_id &floating_wall_id, typename DEM::dem_data_structures< dim >::particle_floating_wall_candidates &contact_pair_candidates)
Store the candidate particle-floating wall contact pairs.
template void find_particle_wall_contact_pairs< 3 >(const std::map< int, boundary_cells_info_struct< 3 > > &boundary_cells_information, const Particles::ParticleHandler< 3 > &particle_handler, DEM::dem_data_structures< 3 >::particle_wall_candidates &particle_wall_contact_candidates)
void find_particle_floating_wall_contact_pairs(const std::unordered_map< types::global_dof_index, std::set< typename Triangulation< dim >::active_cell_iterator > > &boundary_cells_for_floating_walls, const Particles::ParticleHandler< dim > &particle_handler, const Parameters::Lagrangian::FloatingWalls< dim > &floating_wall_properties, const double simulation_time, typename DEM::dem_data_structures< dim >::particle_floating_wall_candidates &particle_floating_wall_candidates)
Find a two-layered unordered map of particle iterators which shows the candidate particle-floating wa...
void particle_solid_surfaces_contact_search(const typename DEM::dem_data_structures< dim >::solid_surfaces_mesh_information &solid_surfaces_mesh_information, const Particles::ParticleHandler< dim > &particle_handler, typename DEM::dem_data_structures< dim >::particle_floating_mesh_candidates &particle_floating_mesh_contact_candidates, typename DEM::dem_data_structures< dim >::cells_total_neighbor_list &cells_total_neighbor_list)
Find a two-layered unordered map (particle_floating_mesh_contact_candidates) of particle iterators th...
ankerl::unordered_dense::map< types::particle_index, std::unordered_map< global_face_id, Particles::ParticleIterator< dim > > > particle_floating_wall_candidates
std::vector< std::vector< std::pair< typename Triangulation< dim >::active_cell_iterator, typename Triangulation< dim - 1, dim >::active_cell_iterator > > > solid_surfaces_mesh_information
ankerl::unordered_dense::map< types::global_cell_index, std::vector< typename Triangulation< dim >::active_cell_iterator > > cells_total_neighbor_list
std::vector< particle_floating_wall_from_mesh_candidates > particle_floating_mesh_candidates
ankerl::unordered_dense::map< types::particle_index, ankerl::unordered_dense::map< global_face_id, std::tuple< Particles::ParticleIterator< dim >, Tensor< 1, dim >, Point< dim >, global_face_id > > > particle_wall_candidates
Handle the information related to the boundary cells which will be used for particle-wall contact det...