diffusiveMassTransferModel.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2015-2025 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
27 
28 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
29 
30 namespace Foam
31 {
34  (
36  0
37  );
39  (
41  0
42  );
44  (
46  0
47  );
49  (
51  0
52  );
54 }
55 
57 
58 
59 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
60 
62 (
63  const dictionary& dict,
64  const phaseInterface& interface
65 )
66 {}
67 
68 
69 // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
70 
72 {}
73 
74 
75 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
76 
79 {
80  return
81  evaluate
82  (
84  "K",
86  );
87 }
88 
89 
92 {
93  return modelInThe(phase).K();
94 }
95 
96 
99 (
100  const phaseModel& phase
101 ) const
102 {
103  return
104  evaluate<scalar, volMesh, const phaseModel&>
105  (
107  "K",
109  phase
110  );
111 }
112 
113 
114 // ************************************************************************* //
tmp< volScalarField > K() const
Return the mass transfer coefficient.
tmp< volScalarField > KinThe(const phaseModel &phase) const
Return the mass transfer coefficient.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Definition: dictionary.H:162
Model for diffusive mass transfer coefficients between two phases.
virtual tmp< volScalarField > K() const =0
The implicit mass transfer coefficient.
diffusiveMassTransferModel(const dictionary &dict, const phaseInterface &interface)
Construct from a dictionary and an interface.
static const dimensionSet dimK
Coefficient dimensions.
Dimension set for the base types.
Definition: dimensionSet.H:125
Class to represent an interface between phases. Derivations can further specify the configuration of ...
tmp< volScalarField > KinThe(const phaseModel &phase) const
Return the mass transfer coefficient.
A class for managing temporary objects.
Definition: tmp.H:55
Namespace for OpenFOAM.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineBlendedInterfacialModelTypeNameAndDebug(diffusiveMassTransferModel, 0)
void evaluate(GeometricField< Type, GeoMesh > &result, const Function1< Type > &func, const GeometricField< Type, GeoMesh > &x)
defineTypeNameAndDebug(combustionModel, 0)
defineSidedInterfacialModelTypeNameAndDebug(blendedDiffusiveMassTransferModel, 0)
dictionary dict