|
numerics
|
A single SPH fluid particle (float precision for performance) More...
#include <particle.hpp>
Public Attributes | |
| float | x |
| float | y |
| Position [m]. | |
| float | vx |
| float | vy |
| Velocity [m/s]. | |
| float | evx |
| float | evy |
| float | ax |
| float | ay |
| Acceleration [m/s^2] (updated each step) | |
| float | density |
| SPH density rho_i [kg/m^3]. | |
| float | pressure |
| Pressure p_i [Pa]. | |
| float | temperature |
| Temperature T_i [ degC]. | |
| float | dT_dt |
| Temperature rate [ degC/s] (updated each step) | |
A single SPH fluid particle (float precision for performance)
Definition at line 8 of file particle.hpp.
| float physics::Particle::ax |
Definition at line 13 of file particle.hpp.
Referenced by physics::backends::seq::compute_forces(), and physics::backends::omp::integrate().
| float physics::Particle::ay |
Acceleration [m/s^2] (updated each step)
Definition at line 13 of file particle.hpp.
Referenced by physics::backends::seq::compute_forces(), and physics::backends::omp::integrate().
| float physics::Particle::density |
SPH density rho_i [kg/m^3].
Definition at line 14 of file particle.hpp.
Referenced by physics::backends::omp::compute_forces(), physics::backends::seq::compute_forces(), physics::backends::omp::heat_compute(), and physics::backends::seq::heat_compute().
| float physics::Particle::dT_dt |
Temperature rate [ degC/s] (updated each step)
Definition at line 17 of file particle.hpp.
Referenced by physics::backends::omp::integrate().
| float physics::Particle::evx |
Definition at line 11 of file particle.hpp.
Referenced by physics::backends::omp::compute_forces(), physics::backends::seq::compute_forces(), and physics::backends::omp::integrate().
| float physics::Particle::evy |
Smoothed velocity ev = (ev + v)/2 each step – used for viscosity to damp high-frequency oscillations
Definition at line 11 of file particle.hpp.
Referenced by physics::backends::omp::compute_forces(), physics::backends::seq::compute_forces(), and physics::backends::omp::integrate().
| float physics::Particle::pressure |
Pressure p_i [Pa].
Definition at line 15 of file particle.hpp.
Referenced by physics::backends::omp::compute_forces(), and physics::backends::seq::compute_forces().
| float physics::Particle::temperature |
Temperature T_i [ degC].
Definition at line 16 of file particle.hpp.
Referenced by physics::backends::omp::heat_compute(), physics::backends::seq::heat_compute(), and physics::backends::omp::integrate().
| float physics::Particle::vx |
Definition at line 10 of file particle.hpp.
Referenced by physics::backends::omp::body_collisions(), physics::backends::omp::enforce_boundaries(), and physics::backends::omp::integrate().
| float physics::Particle::vy |
Velocity [m/s].
Definition at line 10 of file particle.hpp.
Referenced by physics::backends::omp::body_collisions(), physics::backends::omp::enforce_boundaries(), and physics::backends::omp::integrate().
| float physics::Particle::x |
Definition at line 9 of file particle.hpp.
Referenced by physics::FluidSolver::add_particle(), physics::backends::omp::body_collisions(), physics::backends::omp::compute_forces(), physics::backends::seq::compute_forces(), physics::backends::omp::enforce_boundaries(), physics::backends::omp::heat_compute(), physics::backends::seq::heat_compute(), and physics::backends::omp::integrate().
| float physics::Particle::y |
Position [m].
Definition at line 9 of file particle.hpp.
Referenced by physics::backends::omp::body_collisions(), physics::backends::omp::compute_forces(), physics::backends::seq::compute_forces(), physics::backends::omp::enforce_boundaries(), physics::backends::omp::heat_compute(), physics::backends::seq::heat_compute(), and physics::backends::omp::integrate().