Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
VANSAssemblerBuoyancy< dim, PropertiesIndex > Class Template Reference

#include <vans_assemblers.h>

Inheritance diagram for VANSAssemblerBuoyancy< dim, PropertiesIndex >:
[legend]

Public Member Functions

 VANSAssemblerBuoyancy (const Tensor< 1, 3 > &p_gravity)
virtual void calculate_particle_fluid_interactions (NavierStokesScratchData< dim > &scratch_data) override
Public Member Functions inherited from ParticleFluidAssemblerBase< dim, PropertiesIndex >
virtual ~ParticleFluidAssemblerBase ()=default

Public Attributes

const Tensor< 1, 3 > gravity

Detailed Description

template<int dim, typename PropertiesIndex>
class VANSAssemblerBuoyancy< dim, PropertiesIndex >

Assembler for the buoyancy force on particles in the VANS equations.

The buoyancy force applied to each particle is computed as:

\[\mathbf{F}_b = -\rho_f \mathbf{g} \frac{\pi}{6} d_p^3 \]

which is equivalent to \( -\rho_f \mathbf{g} V_p \), where \( V_p = \frac{4}{3}\pi\left(\frac{d_p}{2}\right)^3 \) is the particle volume, \( \rho_f \) is the fluid density, \( \mathbf{g} \) is the gravitational acceleration, and \( d_p \) is the particle diameter.

Note
The buoyancy force is stored as a one-way coupling force on the particle and does not generate a reaction force on the fluid.
Template Parameters
dimAn integer that denotes the number of spatial dimensions.
PropertiesIndexIndex of the properties used within the ParticleHandler.

Definition at line 827 of file vans_assemblers.h.

Constructor & Destructor Documentation

◆ VANSAssemblerBuoyancy()

template<int dim, typename PropertiesIndex>
VANSAssemblerBuoyancy< dim, PropertiesIndex >::VANSAssemblerBuoyancy ( const Tensor< 1, 3 > & p_gravity)
inline

Construct a VANSAssemblerBuoyancy object.

Parameters
[in]p_gravityThe gravity acceleration vector applied to the particles.

Definition at line 837 of file vans_assemblers.h.

References gravity.

Member Function Documentation

◆ calculate_particle_fluid_interactions()

template<int dim, typename PropertiesIndex>
void VANSAssemblerBuoyancy< dim, PropertiesIndex >::calculate_particle_fluid_interactions ( NavierStokesScratchData< dim > & scratch_data)
overridevirtual

Member Data Documentation

◆ gravity

template<int dim, typename PropertiesIndex>
const Tensor<1, 3> VANSAssemblerBuoyancy< dim, PropertiesIndex >::gravity

Gravity acceleration applied to the particles.

Definition at line 851 of file vans_assemblers.h.


The documentation for this class was generated from the following files: