|
Fluid Dynamics Library
|
Incompressible Navier-Stokes solver. More...
#include <inssmoke.hpp>
Public Member Functions | |
| INSSmoke (MACSmoke< scalar_t > *grid, FieldBase< scalar_t > *field, scalar_t rho, scalar_t dt, ScalarBase< scalar_t > *tempSrc, ScalarBase< scalar_t > *smokeSrc) | |
| Legacy constructor. | |
| INSSmoke (TiXmlNode *node, FieldBase< scalar_t > *field, ScalarBase< scalar_t > *tempSrc, ScalarBase< scalar_t > *smokeSrc) | |
| Constructor from XML data. | |
| virtual void | advect () |
ODE forward step of velocity gradient in the velocity field. | |
| virtual void | addsources () |
Protected Member Functions | |
| void | initINSSmoke () |
| Initializer called by all constructors. | |
Protected Attributes | |
| ScalarBase< scalar_t > * | tempSource |
| Source field for temperature. | |
| ScalarBase< scalar_t > * | smokeSource |
| Source field for smoke density. | |
Incompressible Navier-Stokes solver.
Definition at line 34 of file inssmoke.hpp.
| fdl::INSSmoke< scalar_t >::INSSmoke | ( | MACSmoke< scalar_t > * | grid, |
| FieldBase< scalar_t > * | field, | ||
| scalar_t | rho, | ||
| scalar_t | dt, | ||
| ScalarBase< scalar_t > * | tempSrc, | ||
| ScalarBase< scalar_t > * | smokeSrc | ||
| ) | [inline] |
Legacy constructor.
| grid | Initialized MAC grid with smoke source. |
| field | Field defining external forces. |
| rho | Density coefficient in Navier-Stokes equation. |
| dt | Initial time step; adaptive routines will adjust this. |
| step | ODE stepping algorithm for advection step. |
| tempSource | Scalar field defining temperature source term. |
| smokeSource | Scalar field defining smoke (density) source term. |
Definition at line 53 of file inssmoke.hpp.
1.7.4