Loading...
Searching...
No Matches
SPHSolver3.hpp
Go to the documentation of this file.
Definition Matrix.hpp:30
Basic 3-D particle system solver.
Definition ParticleSystemSolver3.hpp:37
Front-end to create SPHSolver3 objects step by step.
Definition SPHSolver3.hpp:253
SPHSolver3Ptr MakeShared() const
Builds shared pointer of SPHSolver3 instance.
double GetEosExponent() const
Returns the exponent part of the equation-of-state.
void ComputePseudoViscosity(double timeStepInSeconds)
Computes pseudo viscosity.
SPHSolver3(double targetDensity, double targetSpacing, double relativeKernelRadius)
void AccumulateViscosityForce()
double GetViscosityCoefficient() const
Returns the viscosity coefficient.
virtual void AccumulatePressureForce(double timeStepInSeconds)
void SetNegativePressureScale(double newNegativePressureScale)
Sets the negative pressure scale.
double GetPseudoViscosityCoefficient() const
Returns the pseudo viscosity coefficient.
void SetEosExponent(double newEosExponent)
Sets the exponent part of the equation-of-state.
double GetTimeStepLimitScale() const
Multiplier that scales the max allowed time-step.
void SetPseudoViscosityCoefficient(double newPseudoViscosityCoefficient)
Sets the pseudo viscosity coefficient.
void SetSpeedOfSound(double newSpeedOfSound)
Sets the speed of sound.
unsigned int GetNumberOfSubTimeSteps(double timeIntervalInSeconds) const override
Returns the number of sub-time-steps.
void OnBeginAdvanceTimeStep(double timeStepInSeconds) override
Performs pre-processing step before the simulation.
void OnEndAdvanceTimeStep(double timeStepInSeconds) override
Performs post-processing step before the simulation.
void AccumulateForces(double timeStepInSeconds) override
Accumulates the force to the forces array in the particle system.
void SetViscosityCoefficient(double newViscosityCoefficient)
Sets the viscosity coefficient.
SPHSystemData3Ptr GetSPHSystemData() const
Returns the SPH system data.
void SetTimeStepLimitScale(double newScale)
Sets the multiplier that scales the max allowed time-step.
double GetNegativePressureScale() const
Returns the negative pressure scale.
virtual void AccumulateNonPressureForces(double timeStepInSeconds)
Base class for SPH-based fluid solver builder.
Definition SPHSolver3.hpp:209
DerivedBuilder & WithTargetDensity(double targetDensity)
Returns builder with target density.
Definition SPHSolver3.hpp:228
DerivedBuilder & WithRelativeKernelRadius(double relativeKernelRadius)
Returns builder with relative kernel radius.
Definition SPHSolver3.hpp:242
DerivedBuilder & WithTargetSpacing(double targetSpacing)
Returns builder with target spacing.
Definition SPHSolver3.hpp:235
Definition pybind11Utils.hpp:21
std::shared_ptr< SPHSystemData3 > SPHSystemData3Ptr
Shared pointer for the SPHSystemData3 type.
Definition SPHSystemData.hpp:256
std::shared_ptr< SPHSolver3 > SPHSolver3Ptr
Shared pointer type for the SPHSolver3.
Definition SPHSolver3.hpp:202
1.9.8