Loading...
Searching...
No Matches
GridSmokeSolver2.hpp
Go to the documentation of this file.
Abstract base class for grid-based 2-D fluid solver.
Definition GridFluidSolver2.hpp:36
Base class for grid-based fluid solver builder.
Definition GridFluidSolver2.hpp:316
Front-end to create GridSmokeSolver2 objects step by step.
Definition GridSmokeSolver2.hpp:205
GridSmokeSolver2Ptr MakeShared() const
Builds shared pointer of GridSmokeSolver2 instance.
void SetTemperatureDecayFactor(double newValue)
Sets the temperature decay factor.
double GetSmokeDiffusionCoefficient() const
Returns smoke diffusion coefficient.
void ComputeExternalForces(double timeIntervalInSeconds) override
Computes the external force terms.
double GetTemperatureDecayFactor() const
Returns temperature decay factor.
double GetBuoyancyTemperatureFactor() const
Returns the buoyancy factor which will be multiplied to the temperature.
GridSmokeSolver2(GridSmokeSolver2 &&) noexcept=delete
Deleted move constructor.
GridSmokeSolver2(const GridSmokeSolver2 &)=delete
Deleted copy constructor.
GridSmokeSolver2(const Vector2UZ &resolution, const Vector2D &gridSpacing, const Vector2D &gridOrigin)
Constructs solver with initial grid size.
static Builder GetBuilder()
Returns builder fox GridSmokeSolver2.
double GetTemperatureDiffusionCoefficient() const
Returns temperature diffusion coefficient.
ScalarGrid2Ptr GetSmokeDensity() const
Returns smoke density field.
void SetSmokeDecayFactor(double newValue)
Sets the smoke decay factor.
double GetSmokeDecayFactor() const
Returns smoke decay factor.
double GetBuoyancySmokeDensityFactor() const
Returns the buoyancy factor which will be multiplied to the smoke density.
ScalarGrid2Ptr GetTemperature() const
Returns temperature field.
void OnEndAdvanceTimeStep(double timeIntervalInSeconds) override
Called at the end of a time-step.
void SetTemperatureDiffusionCoefficient(double newValue)
Sets temperature diffusion coefficient.
void SetBuoyancySmokeDensityFactor(double newValue)
Sets the buoyancy factor which will be multiplied to the smoke density.
void SetBuoyancyTemperatureFactor(double newValue)
Sets the buoyancy factor which will be multiplied to the temperature.
void SetSmokeDiffusionCoefficient(double newValue)
Sets smoke diffusion coefficient.
Definition Matrix.hpp:30
Definition pybind11Utils.hpp:21
std::shared_ptr< GridSmokeSolver2 > GridSmokeSolver2Ptr
Shared pointer type for the GridSmokeSolver2.
Definition GridSmokeSolver2.hpp:198
std::shared_ptr< ScalarGrid2 > ScalarGrid2Ptr
Shared pointer for the ScalarGrid2 type.
Definition ScalarGrid.hpp:266
1.9.8