NoAtomisation.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-2021 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 "NoAtomisation.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 NoAtomisation<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 0;
64 }
65 
66 
67 template<class CloudType>
69 {
70  return false;
71 }
72 
73 
74 template<class CloudType>
76 (
77  const scalar dt,
78  scalar& d,
79  scalar& liquidCore,
80  scalar& tc,
81  const scalar rho,
82  const scalar mu,
83  const scalar sigma,
84  const scalar volFlowRate,
85  const scalar rhoAv,
86  const scalar Urel,
87  const vector& pos,
88  const vector& injectionPos,
89  const scalar pAmbient,
90  const scalar chi,
91  Random& rndGen
92 ) const
93 {}
94 
95 
96 // ************************************************************************* //
Templated atomisation model class.
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:79
Dummy phase change model for 'none'.
Definition: NoAtomisation.H:48
virtual bool calcChi() const
Flag to indicate if chi needs to be calculated.
Definition: NoAtomisation.C:68
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: NoAtomisation.C:76
virtual ~NoAtomisation()
Destructor.
Definition: NoAtomisation.C:54
NoAtomisation(const dictionary &dict, CloudType &cloud)
Construct from dictionary.
Definition: NoAtomisation.C:32
virtual scalar initLiquidCore() const
Initial value of liquidCore.
Definition: NoAtomisation.C:61
Random number generator.
Definition: Random.H:58
A list of keyword definitions, which are a keyword followed by any number of values (e....
Definition: dictionary.H:160
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
const dimensionedScalar mu
Atomic mass unit.
dimensionedScalar pos(const dimensionedScalar &ds)
dictionary dict
Random rndGen(label(0))