FickianFourier.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) 2020-2023 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 
26 #include "FickianFourier.H"
27 
28 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
29 
30 namespace Foam
31 {
32 namespace laminarThermophysicalTransportModels
33 {
34 
35 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
36 
37 template<class laminarThermophysicalTransportModel>
40 (
41  const momentumTransportModel& momentumTransport,
42  const thermoModel& thermo
43 )
44 :
46  (
47  typeName,
48  momentumTransport,
49  thermo
50  )
51 {
52  read();
53  this->printCoeffs(typeName);
54 }
55 
56 
57 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
58 
59 template<class laminarThermophysicalTransportModel>
60 bool
62 {
63  return Fickian
64  <
66  >::read();
67 }
68 
69 
70 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
71 
72 } // End namespace laminarThermophysicalTransportModels
73 } // End namespace Foam
74 
75 // ************************************************************************* //
Templated abstract base class for laminar thermophysical transport models.
FickianFourier(const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Construct from a momentum transport model and a thermo model.
laminarThermophysicalTransportModel::thermoModel thermoModel
laminarThermophysicalTransportModel::momentumTransportModel momentumTransportModel
virtual bool read()
Read thermophysicalTransport dictionary.
unityLewisFourier's energy gradient heat flux model for laminar flow. Specie fluxes are computed assu...
Namespace for OpenFOAM.
bool read(const char *, int32_t &)
Definition: int32IO.C:85
fluidMulticomponentThermo & thermo
Definition: createFields.H:31