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-------------------------------------------------------------------------------
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 "NoPhaseChange.H"
30
31// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
32
33template<class CloudType>
35(
36 const dictionary&,
37 CloudType& owner
38)
39:
41{}
42
43
44template<class CloudType>
46(
48)
49:
50 PhaseChangeModel<CloudType>(pcm.owner_)
51{}
52
53
54// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
55
56template<class CloudType>
58{}
59
60
61// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
62
63template<class CloudType>
65{
66 return false;
67}
68
69
70template<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// ************************************************************************* //
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:75
Dummy phase change model for 'none'.
Definition: NoPhaseChange.H:54
virtual ~NoPhaseChange()
Destructor.
Definition: NoPhaseChange.C:57
virtual bool active() const
Flag to indicate whether model activates phase change model.
Definition: NoPhaseChange.C:64
Templated phase change model class.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
const volScalarField & T
scalarField Re(const UList< complex > &cf)
Extract real component.
Definition: complexField.C:159
volScalarField & nu
dimensionedScalar Pr("Pr", dimless, laminarTransport)