Skip to content

Get/Set the acceleration of gravity

Peng Fei requested to merge (removed):master into master

vtkLagrangianBasicIntegrationModel implementation using article : "Matida, E. A., et al. "Improved numerical simulation of aerosol deposition in an idealized mouth-throat." Journal of Aerosol Science 35.1 (2004): 1-19."

The code strictly follows the particle equation of motion in this article, which uses a fixed scalar number (G = 9.8) for the z-component of gravity acceleration. However, some cases would like to replace the scalar with a 3D vector as two reasons below:

  1. The direction of gravity may not be the -z direction of the coordinate system
  2. There is simulation with zero gravity probably
Edited by Peng Fei

Merge request reports