Loading...
Searching...
No Matches
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-------------------------------------------------------------------------------
11License
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
33template<class CloudType>
35(
36 const dictionary&,
39:
41{}
42
43
44template<class CloudType>
46(
48)
49:
54// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
55
56template<class CloudType>
58{
59 return false;
60}
61
62
63template<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,
85) const
86{
87 return 0;
88}
89
90
91// ************************************************************************* //
CloudType & owner_
Reference to the cloud.
const CloudType & owner() const
Return const access to the owner cloud.
Dummy surface reaction model for 'none'.
NoSurfaceReaction(const dictionary &dict, CloudType &owner)
Construct from dictionary.
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.
virtual bool active() const
Flag to indicate whether model activates devolatisation model.
SurfaceReactionModel(CloudType &owner)
Construct null from owner.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition dictionary.H:133
DSMCCloud< dsmcParcel > CloudType
Field< scalar > scalarField
Specialisation of Field<T> for scalar.