![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <vans_assemblers.h>
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 |
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.
| dim | An integer that denotes the number of spatial dimensions. |
| PropertiesIndex | Index of the properties used within the ParticleHandler. |
Definition at line 827 of file vans_assemblers.h.
|
inline |
Construct a VANSAssemblerBuoyancy object.
| [in] | p_gravity | The gravity acceleration vector applied to the particles. |
Definition at line 837 of file vans_assemblers.h.
References gravity.
|
overridevirtual |
Calculate the buoyancy force on particles.
| [in,out] | scratch_data | (see base class) |
Implements ParticleFluidAssemblerBase< dim, PropertiesIndex >.
Definition at line 2006 of file vans_assemblers.cc.
References NavierStokesScratchData< dim >::density_at_particle_location, PhysicalPropertiesManager::density_is_constant(), gravity, NavierStokesScratchData< dim >::pic, and NavierStokesScratchData< dim >::properties_manager.
| const Tensor<1, 3> VANSAssemblerBuoyancy< dim, PropertiesIndex >::gravity |
Gravity acceleration applied to the particles.
Definition at line 851 of file vans_assemblers.h.