Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
particle_handler_conversion.cc
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) 2020-2026 The Lethe Authors
2// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
3
5
7
8// The DEM particle handlers are converted into CFD-DEM ones when a CFD-DEM
9// simulation is started from the results of a DEM simulation. The multiphysics
10// solvers are converted to one another so that the temperature of the
11// particles is carried over.
12template void
16 const parallel::distributed::Triangulation<2> &triangulation,
17 const Particles::ParticleHandler<2> &ph_in,
18 Particles::ParticleHandler<2> &ph_out);
19
20template void
24 const parallel::distributed::Triangulation<3> &triangulation,
25 const Particles::ParticleHandler<3> &ph_in,
26 Particles::ParticleHandler<3> &ph_out);
27
28template void
32 const parallel::distributed::Triangulation<2> &triangulation,
33 const Particles::ParticleHandler<2> &ph_in,
34 Particles::ParticleHandler<2> &ph_out);
35
36template void
40 const parallel::distributed::Triangulation<3> &triangulation,
41 const Particles::ParticleHandler<3> &ph_in,
42 Particles::ParticleHandler<3> &ph_out);
DEM particle property definitions and output name management.
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.
void convert_particle_handler(const parallel::distributed::Triangulation< dim > &triangulation, const Particles::ParticleHandler< dim > &ph_in, Particles::ParticleHandler< dim > &ph_out)
Converts an input particle handler with a given set of input properties into an output particle handl...