NoSurfaceReaction.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2011-2017 OpenFOAM Foundation
9  Copyright (C) 2018-2019 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
12  This file is part of OpenFOAM.
13 
14  OpenFOAM is free software: you can redistribute it and/or modify it
15  under the terms of the GNU General Public License as published by
16  the Free Software Foundation, either version 3 of the License, or
17  (at your option) any later version.
18 
19  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  for more details.
23 
24  You should have received a copy of the GNU General Public License
25  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26 
27 \*---------------------------------------------------------------------------*/
28 
29 #include "NoSurfaceReaction.H"
30 
31 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
32 
33 template<class CloudType>
35 (
36  const dictionary&,
37  CloudType& owner
38 )
39 :
41 {}
42 
43 
44 template<class CloudType>
46 (
48 )
49 :
51 {}
52 
53 
54 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
55 
56 template<class CloudType>
58 {
59  return false;
60 }
61 
62 
63 template<class CloudType>
65 (
66  const scalar,
67  const scalar,
68  const scalar,
69  const label,
70  const scalar,
71  const scalar,
72  const scalar,
73  const scalar,
74  const scalar,
75  const scalar,
76  const scalarField&,
77  const scalarField&,
78  const scalarField&,
79  const scalarField&,
80  const scalar,
81  scalarField&,
82  scalarField&,
83  scalarField&,
85 ) const
86 {
87  return 0;
88 }
89 
90 
91 // ************************************************************************* //
Foam::SurfaceReactionModel
Templated surface reaction model class.
Definition: ReactingMultiphaseCloud.H:61
NoSurfaceReaction.H
Foam::Field< scalar >
Foam::NoSurfaceReaction::active
virtual bool active() const
Flag to indicate whether model activates devolatisation model.
Definition: NoSurfaceReaction.C:57
Foam::DSMCCloud
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:71
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
Foam::NoSurfaceReaction
Dummy surface reaction model for 'none'.
Definition: NoSurfaceReaction.H:51
Foam::NoSurfaceReaction::NoSurfaceReaction
NoSurfaceReaction(const dictionary &dict, CloudType &owner)
Construct from dictionary.
Definition: NoSurfaceReaction.C:35
Foam::NoSurfaceReaction::calculate
virtual scalar calculate(const scalar dt, const scalar Re, const scalar nu, const label celli, const scalar d, const scalar T, const scalar Tc, const scalar pc, const scalar rhoc, const scalar mass, const scalarField &YGas, const scalarField &YLiquid, const scalarField &YSolid, const scalarField &YMixture, const scalar N, scalarField &dMassGas, scalarField &dMassLiquid, scalarField &dMassSolid, scalarField &dMassSRCarrier) const
Update surface reactions.
Definition: NoSurfaceReaction.C:65