NoPhaseChange.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-2016 OpenFOAM Foundation
9  Copyright (C) 2020 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 "NoPhaseChange.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 (
47  const NoPhaseChange<CloudType>& pcm
48 )
49 :
51 {}
52 
53 
54 // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
55 
56 template<class CloudType>
58 {}
59 
60 
61 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
62 
63 template<class CloudType>
65 {
66  return false;
67 }
68 
69 
70 template<class CloudType>
72 (
73  const scalar dt,
74  const label celli,
75  const scalar Re,
76  const scalar Pr,
77  const scalar d,
78  const scalar nu,
79  const scalar rho,
80  const scalar T,
81  const scalar Ts,
82  const scalar pc,
83  const scalar Tc,
84  const scalarField& X,
85  const scalarField& solMass,
86  const scalarField& liqMass,
87  scalarField& dMassPC
88 ) const
89 {
90  // Nothing to do...
91 }
92 
93 
94 // ************************************************************************* //
dimensionedScalar Pr("Pr", dimless, laminarTransport)
virtual bool active() const
Flag to indicate whether model activates phase change model.
Definition: NoPhaseChange.C:57
Templated phase change model class.
Definition: ReactingCloud.H:57
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Definition: dictionary.H:129
virtual ~NoPhaseChange()
Destructor.
Definition: NoPhaseChange.C:50
NoPhaseChange(const dictionary &, CloudType &)
Construct from dictionary.
Definition: NoPhaseChange.C:28
const volScalarField & T
scalarField Re(const UList< complex > &cmplx)
Extract real component.
Definition: complexField.C:207
virtual void calculate(const scalar dt, const label celli, const scalar Re, const scalar Pr, const scalar d, const scalar nu, const scalar rho, const scalar T, const scalar Ts, const scalar pc, const scalar Tc, const scalarField &X, const scalarField &solMass, const scalarField &liqMass, scalarField &dMassPC) const
Update model.
Definition: NoPhaseChange.C:65
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:67
volScalarField & nu
Dummy phase change model for &#39;none&#39;.
Definition: NoPhaseChange.H:45