compressibleInterPhaseThermophysicalTransportModel.H
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) 2022-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 Class
25  Foam::compressibleInterPhaseThermophysicalTransportModel
26 
27 Description
28  Compressible two-phase VoF thermophysicalTransportModel
29 
30  Provides the mixture thermal conductivity and diffusivity for
31  Fourier's temperature gradient heat flux model.
32 
33 SourceFiles
34  compressibleInterPhaseThermophysicalTransportModel.C
35 
36 \*---------------------------------------------------------------------------*/
37 
38 #ifndef compressibleInterPhaseThermophysicalTransportModel_H
39 #define compressibleInterPhaseThermophysicalTransportModel_H
40 
42 
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 
45 namespace Foam
46 {
47 
48 class compressibleInterPhaseTransportModel;
49 
50 /*---------------------------------------------------------------------------*\
51  Class compressibleInterPhaseThermophysicalTransportModel Declaration
52 \*---------------------------------------------------------------------------*/
53 
55 :
57 {
58  // Private Data
59 
60  //- compressibleInterPhaseTransportModel
61  const compressibleInterPhaseTransportModel& momentumTransport_;
62 
63 
64 public:
65 
66  // Constructors
67 
68  //- Construct from components
70  (
71  const compressibleInterPhaseTransportModel& momentumTransport
72  );
73 
74  //- Disallow default bitwise copy construction
76  (
78  ) = delete;
79 
80 
81  // Member Functions
82 
83  //- Read model coefficients if they have changed
84  virtual bool read();
85 
86  //- Const access to the coefficients dictionary
87  virtual const dictionary& coeffDict() const;
88 
89  //- Effective thermal turbulent conductivity
90  // of mixture [W/m/K]
91  virtual tmp<volScalarField> kappaEff() const ;
92 
93  //- Effective thermal turbulent conductivity
94  // of mixture for patch [W/m/K]
95  virtual tmp<scalarField> kappaEff(const label patchi) const;
96 
97  //- Return the effective temperature transport coefficient
98  // derived from the phase internal energy equations i.e. <kappa/Cv>
100 
101  //- Return the heat flux [W/m^2]
102  virtual tmp<surfaceScalarField> q() const;
103 
104  //- Return the patch heat flux correction [W/m^2]
105  // For isotropic or patch-aligned thermal conductivity qCorr is null
106  virtual tmp<scalarField> qCorr(const label patchi) const;
107 
108  //- Return the source term for the energy equation
109  virtual tmp<fvScalarMatrix> divq(volScalarField& he) const;
110 
111  //- Predict the transport coefficients if possible
112  // without solving thermophysical transport model equations
113  virtual void predict();
114 
115  //- Solve the thermophysical transport model equations
116  // and correct the transport coefficients
117  virtual void correct();
118 
119 
120  // Member Operators
121 
122  //- Disallow default bitwise assignment
123  void operator=
124  (
126  ) = delete;
127 };
128 
129 
130 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
131 
132 } // End namespace Foam
133 
134 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
135 
136 #endif
137 
138 // ************************************************************************* //
Generic GeometricField class.
virtual void correct()
Solve the thermophysical transport model equations.
virtual tmp< scalarField > qCorr(const label patchi) const
Return the patch heat flux correction [W/m^2].
virtual void predict()
Predict the transport coefficients if possible.
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
tmp< volScalarField > alphaEff() const
Return the effective temperature transport coefficient.
compressibleInterPhaseThermophysicalTransportModel(const compressibleInterPhaseTransportModel &momentumTransport)
Construct from components.
virtual tmp< surfaceScalarField > q() const
Return the heat flux [W/m^2].
virtual tmp< volScalarField > kappaEff() const
Effective thermal turbulent conductivity.
virtual tmp< fvScalarMatrix > divq(volScalarField &he) const
Return the source term for the energy equation.
Transport model selection class for the compressibleInterFoam family of solvers.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Definition: dictionary.H:160
Abstract base class for all fluid and solid thermophysical transport models.
A class for managing temporary objects.
Definition: tmp.H:55
label patchi
Namespace for OpenFOAM.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
thermo he()