All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NoAtomization.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) 2011-2018 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 "NoAtomization.H"
27 
28 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
29 
30 template<class CloudType>
32 (
33  const dictionary& dict,
34  CloudType& owner
35 )
36 :
38 {}
39 
40 
41 template<class CloudType>
43 (
44  const NoAtomization<CloudType>& am
45 )
46 :
48 {}
49 
50 
51 // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
52 
53 template<class CloudType>
55 {}
56 
57 
58 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
59 
60 template<class CloudType>
62 {
63  return false;
64 }
65 
66 
67 template<class CloudType>
69 {
70  return 0.0;
71 }
72 
73 
74 template<class CloudType>
76 {
77  return false;
78 }
79 
80 
81 template<class CloudType>
83 (
84  const scalar dt,
85  scalar& d,
86  scalar& liquidCore,
87  scalar& tc,
88  const scalar rho,
89  const scalar mu,
90  const scalar sigma,
91  const scalar volFlowRate,
92  const scalar rhoAv,
93  const scalar Urel,
94  const vector& pos,
95  const vector& injectionPos,
96  const scalar pAmbient,
97  const scalar chi,
98  Random& rndGen
99 ) const
100 {}
101 
102 
103 // ************************************************************************* //
virtual scalar initLiquidCore() const
Initial value of liquidCore.
Definition: NoAtomization.C:68
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:158
virtual bool calcChi() const
Flag to indicate if chi needs to be calculated.
Definition: NoAtomization.C:75
virtual bool active() const
Flag to indicate whether model activates atomization model.
Definition: NoAtomization.C:61
Templated atomization model class.
Definition: SprayCloud.H:47
NoAtomization(const dictionary &dict, CloudType &cloud)
Construct from dictionary.
Definition: NoAtomization.C:32
virtual ~NoAtomization()
Destructor.
Definition: NoAtomization.C:54
Random number generator.
Definition: Random.H:57
Dummy phase change model for &#39;none&#39;.
Definition: NoAtomization.H:45
virtual void update(const scalar dt, scalar &d, scalar &liquidCore, scalar &tc, const scalar rho, const scalar mu, const scalar sigma, const scalar volFlowRate, const scalar rhoAv, const scalar Urel, const vector &pos, const vector &injectionPos, const scalar pAmbient, const scalar chi, Random &rndGen) const
Definition: NoAtomization.C:83
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:69