SPH
|
Go to the source code of this file.
Classes | |
struct | QuantityMetadata |
Auxiliary information about quantity that aren't stored directly in Quantity. More... | |
Functions | |
QuantityMetadata | getMetadata (const QuantityId key) |
Returns the quantity information using quantity ID. More... | |
INLINE std::ostream & | operator<< (std::ostream &stream, const QuantityId key) |
Print full quantity name into the stream. More... | |
|
strong |
Unique IDs of basic quantities of SPH particles.
Values of quantity IDs cannot be changed in order to allow opening older binary files (using BinaryOutput)! New quantities can be added if they get a unique ID, quantities that are no longer used can be removed; removed IDs can then be reused again.
Enumerator | |
---|---|
Common quantities | |
POSITION | Positions (velocities, accelerations) of particles, always a vector quantity,. |
MASS | Paricles masses, always a scalar quantity. |
PRESSURE | Pressure, affected by yielding and fragmentation model, always a scalar quantity. |
DENSITY | Density, always a scalar quantity. |
ENERGY | Specific internal energy, always a scalar quantity. |
SOUND_SPEED | Sound speed, always a scalar quantity. |
DEVIATORIC_STRESS | Deviatoric stress tensor, always a traceless tensor. |
SPECIFIC_ENTROPY | Specific entropy, always a scalar quantity. |
TEMPERATURE | Temperature, always a scalar quantity. |
Density-independent SPH formulation | |
GENERALIZED_ENERGY | The "Y" quantity defined by [Hosono_2016], used to compute equation of motion and energy in DISPH. |
GENERALIZED_PRESSURE | |
Damage and fragmentation model(see Benz &Asphaug, 1994) | |
DAMAGE | Damage. |
EPS_MIN | Activation strait rate. |
M_ZERO | Coefficient M_0 of the stretched Weibull distribution. |
EXPLICIT_GROWTH | Explicit growth of fractures. |
N_FLAWS | Number of explicit flaws per particle. |
STRESS_REDUCING | Total stress reduction factor due to damage and yielding. Is always scalar. |
DISTENTION | Ratio of the solid and bulk density (parameter alpha in P-alpha and eps-alpha models). |
VIBRATIONAL_VELOCITY | Vibrational particle velocity, used by the block model of acoustic fluidization. |
BULK_DENSITY | Bulk density, may be lower than the material density. |
N-body &Solid sphere physics | |
AGGREGATE_ID | Index of the aggregate containing this particle. |
ANGULAR_FREQUENCY | Angular frequency of particles. Note that SPH particles in standard formulation have no angular frequency, this quantity is used by solid sphere solvers or by SPH modifications that include particle rotation. |
ANGULAR_MOMENTUM | Angular momentum of particles. Useful replacement of angular velocity quantity as angular momentum is always conserved. |
PHASE_ANGLE | Current rotation state of the particles. This is only needed for testing purposes, as SPH particles are spherically symmetric. |
MOMENT_OF_INERTIA | Moment of inertia of particles, analogy of particle masses for rotation. |
LOCAL_FRAME | Local coordinates of a particle; moment of inertia is typically expressed in these coordinates. |
Stress-strain analysis | |
DISPLACEMENT | Displacement vector, a solution of the stress analysis. |
Intermediate quantities | |
VELOCITY_GRADIENT | Velocity gradient. |
VELOCITY_DIVERGENCE | Velocity divergence. |
VELOCITY_ROTATION | Velocity rotation. |
STRAIN_RATE_CORRECTION_TENSOR | Correction tensor used to improve conservation of total angular momentum. |
ENERGY_LAPLACIAN | Laplacian of internal energy, used in heat diffusion equation. |
Artificial velocity | |
AV_ALPHA | Coefficient alpha of the artificial viscosity. Coefficient beta is always 2*alpha. |
AV_BALSARA | Balsara factor. |
AV_STRESS | Artificial stress by Monaghan [Monaghan_1999]. |
INTERPARTICLE_SPACING_KERNEL | Auxiliary quantity needed for evaluating artificial stress. |
SPH modifications &corrections | |
GRAD_H | Grad-h terms, appear in self-consistent derivation of SPH equatios due to non-uniform smoothing lenghts. |
XSPH_VELOCITIES | XSPH corrections to velocity. Only modifies evolution equation for particle position, velocity (as an input for velocity divergence, ...) is NOT affected. |
DELTASPH_DENSITY_GRADIENT | |
SPH statistics &auxiliary data | |
NEIGHBOUR_CNT | Number of neighbouring particles (in radius h * kernel.radius) |
SURFACE_NORMAL | Vector approximating surface normal. |
INITIAL_POSITION | Initial position of particles, kept constant during the run. |
SMOOTHING_LENGTH | Smoothing lengths of particles. Note that ordinarily the smoothing lenghts are stored as 4th component of position vectors, so this ID cannot be used to obtain smoothing lenghts from Storage object. It can be useful for other uses of quantities, like data output, visualization etc. |
Particle flags &Materials | |
FLAG | ID of original body, used to implement discontinuities between bodies in SPH. |
MATERIAL_ID | Index of material of the particle. Can be generally different than the flag value. |
PERSISTENT_INDEX | Persistent index of the particle that does not change when adding or removing particles in the storage. Useful when we need to track particle with given index; particle index in storage may change when some particles from the middle of the storage are removed. Indices of removed particles are made available again and can be reused by newly created particles. |
Miscellaneous | |
UVW | Texture mapping coordinates,. |
VELOCITY_LAPLACIAN | |
VELOCITY_GRADIENT_OF_DIVERGENCE | |
FRICTION |
Definition at line 19 of file QuantityIds.h.
QuantityMetadata getMetadata | ( | const QuantityId | key | ) |
Returns the quantity information using quantity ID.
Definition at line 27 of file QuantityIds.cpp.
INLINE std::ostream& operator<< | ( | std::ostream & | stream, |
const QuantityId | key | ||
) |
Print full quantity name into the stream.
Definition at line 281 of file QuantityIds.h.