OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

timeActivatedExplicitMulticomponentPointSourceNew Class Reference

Provides a mechanism to introduce point sources to a set of carrier fields. Carrier fields are supplied on consruction, and interrogated to provide the field indices of the sources. More...


Detailed Description

Provides a mechanism to introduce point sources to a set of carrier fields. Carrier fields are supplied on consruction, and interrogated to provide the field indices of the sources.

Source values are assumed to be in <quantity>/s, and divided through by the cell volumes before being returned, e.g. for a kg/s source

Properties are described in a <name>Properties dictionary

active true; // are sources active (true/false)

pointSources ( source1 // source name { timeStart 0.0; duration 1.0; location (0 0 0); fieldData ( (H2O 0.1) // kg/s (O2 0.05) // kg/s ); } source2 // source name { timeStart 0.5; duration 2.0; location (1 1 1); fieldData ( (NO 0.1) // kg/s (CO2 0.05) // kg/s (H2 0.001) // kg/s ); } );

Source files

The documentation for this class was generated from the following file:
Copyright © 2000-2009 OpenCFD Ltd