GridSmokeSolver2.hpp
Go to the documentation of this file.
void ComputeExternalForces(double timeIntervalInSeconds) override
Computes the external force terms.
void SetBuoyancySmokeDensityFactor(double newValue)
Sets the buoyancy factor which will be multiplied to the smoke density.
double GetTemperatureDiffusionCoefficient() const
Returns temperature diffusion coefficient.
double GetBuoyancyTemperatureFactor() const
Returns the buoyancy factor which will be multiplied to the temperature.
~GridSmokeSolver2() override=default
Default virtual destructor.
Base class for grid-based fluid solver builder.
Definition: GridFluidSolver2.hpp:315
void SetSmokeDiffusionCoefficient(double newValue)
Sets smoke diffusion coefficient.
GridSmokeSolver2 & operator=(const GridSmokeSolver2 &)=delete
Deleted copy assignment operator.
double GetSmokeDecayFactor() const
Returns smoke decay factor.
void SetBuoyancyTemperatureFactor(double newValue)
Sets the buoyancy factor which will be multiplied to the temperature.
void SetSmokeDecayFactor(double newValue)
Sets the smoke decay factor.
Definition: Matrix.hpp:27
void SetTemperatureDecayFactor(double newValue)
Sets the temperature decay factor.
Definition: pybind11Utils.hpp:20
std::shared_ptr< ScalarGrid2 > ScalarGrid2Ptr
Shared pointer for the ScalarGrid2 type.
Definition: ScalarGrid.hpp:266
ScalarGrid2Ptr GetSmokeDensity() const
Returns smoke density field.
ScalarGrid2Ptr GetTemperature() const
Returns temperature field.
Front-end to create GridSmokeSolver2 objects step by step.
Definition: GridSmokeSolver2.hpp:203
static Builder GetBuilder()
Returns builder fox GridSmokeSolver2.
Abstract base class for grid-based 2-D fluid solver.
Definition: GridFluidSolver2.hpp:35
std::shared_ptr< GridSmokeSolver2 > GridSmokeSolver2Ptr
Shared pointer type for the GridSmokeSolver2.
Definition: GridSmokeSolver2.hpp:198
void OnEndAdvanceTimeStep(double timeIntervalInSeconds) override
Called at the end of a time-step.
void SetTemperatureDiffusionCoefficient(double newValue)
Sets temperature diffusion coefficient.
double GetTemperatureDecayFactor() const
Returns temperature decay factor.
double GetBuoyancySmokeDensityFactor() const
Returns the buoyancy factor which will be multiplied to the smoke density.
double GetSmokeDiffusionCoefficient() const
Returns smoke diffusion coefficient.