MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / zoneCombustion

Class zoneCombustion

src/combustionModels/zoneCombustion/zoneCombustion.H:53–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52template<class Type>
53class zoneCombustion
54:
55 public Type
56{
57 // Private data
58
59 //- The combustion model to be zone-filtered
60 autoPtr<Type> combustionModelPtr_;
61
62 //- List of zone names in which the reactions are active
63 wordList zoneNames_;
64
65
66 // Private Member Functions
67
68 //- Filter the reaction-rate matrix on the cellZones
69 tmp<fvScalarMatrix> filter(const tmp<fvScalarMatrix>& tR) const;
70
71 //- Filter the given field on the cellZones
72 tmp<volScalarField> filter(const tmp<volScalarField>& tS) const;
73
74 //- Disallow copy construct
75 zoneCombustion(const zoneCombustion&);
76
77 //- Disallow default bitwise assignment
78 void operator=(const zoneCombustion&);
79
80
81public:
82
83 //- Runtime type information
84 TypeName("zoneCombustion");
85
86
87 // Constructors
88
89 //- Construct from components
90 zoneCombustion
91 (
92 const word& modelType,
93 const fvMesh& mesh,
94 const word& combustionProperties,
95 const word& phaseName
96 );
97
98
99 //- Destructor
100 virtual ~zoneCombustion();
101
102
103 // Member Functions
104
105 //- Return access to the thermo package
106 virtual typename Type::ReactionThermo& thermo();
107
108 //- Return const access to the thermo package
109 virtual const typename Type::ReactionThermo& thermo() const;
110

Callers 1

zoneCombustion.CFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected