Fluid Dynamics Library
Public Member Functions | Protected Member Functions | Protected Attributes
fdl::INSSmoke< scalar_t > Class Template Reference

Incompressible Navier-Stokes solver. More...

#include <inssmoke.hpp>

Inheritance diagram for fdl::INSSmoke< scalar_t >:
fdl::INSBase< scalar_t > fdl::Drawable

List of all members.

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 $\nabla \mathbf{u}$ 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.

Detailed Description

template<typename scalar_t>
class fdl::INSSmoke< scalar_t >

Incompressible Navier-Stokes solver.

Definition at line 34 of file inssmoke.hpp.


Constructor & Destructor Documentation

template<typename scalar_t>
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.

Parameters:
gridInitialized MAC grid with smoke source.
fieldField defining external forces.
rhoDensity coefficient in Navier-Stokes equation.
dtInitial time step; adaptive routines will adjust this.
stepODE stepping algorithm for advection step.
tempSourceScalar field defining temperature source term.
smokeSourceScalar field defining smoke (density) source term.

Definition at line 53 of file inssmoke.hpp.


The documentation for this class was generated from the following file: