Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
postprocessing_cfd_dem.h File Reference
Include dependency graph for postprocessing_cfd_dem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<int dim, typename VectorType>
std::pair< double, double > calculate_fluid_and_particle_volumes (const DoFHandler< dim > &void_fraction_dof_handler, const VectorType &present_void_fraction_solution, const Quadrature< dim > &quadrature_formula, const Mapping< dim > &mapping)

Function Documentation

◆ calculate_fluid_and_particle_volumes()

template<int dim, typename VectorType>
std::pair< double, double > calculate_fluid_and_particle_volumes ( const DoFHandler< dim > & void_fraction_dof_handler,
const VectorType & present_void_fraction_solution,
const Quadrature< dim > & quadrature_formula,
const Mapping< dim > & mapping )

This function calculates total volume of fluid and total volume of particles in cfd-dem simulation.

\(V_{fluid} = \int \varepsilon d \Omega \), \(V_{particles} = \int (1- \varepsilon) d \Omega \) where \( \varepsilon \) is the void fraction and \( d \Omega \) is the volume of the cell.

Parameters
void_fraction_dof_handlerUsed to calculate the void fraction at quadrature points
present_void_fraction_solutionVoid fraction solution vector
quadrature_formulaQuadrature formula.
mappingThe mapping of the simulation

Definition at line 18 of file postprocessing_cfd_dem.cc.

References void_fraction.