NoBreakup.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 "NoBreakup.H"
27 
28 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
29 
30 template<class CloudType>
32 (
33  const dictionary&,
34  CloudType& owner
35 )
36 :
38 {}
39 
40 
41 
42 template<class CloudType>
44 :
46 {}
47 
48 
49 // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
50 
51 template<class CloudType>
53 {}
54 
55 
56 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
57 
58 template<class CloudType>
60 {
61  return false;
62 }
63 
64 
65 template<class CloudType>
67 (
68  const scalar dt,
69  const vector& g,
70  scalar& d,
71  scalar& tc,
72  scalar& ms,
73  scalar& nParticle,
74  scalar& KHindex,
75  scalar& y,
76  scalar& yDot,
77  const scalar d0,
78  const scalar rho,
79  const scalar mu,
80  const scalar sigma,
81  const vector& U,
82  const scalar rhoc,
83  const scalar muc,
84  const vector& Urel,
85  const scalar Urmag,
86  const scalar tMom,
87  scalar& dChild,
88  scalar& massChild
89 )
90 {
91  return false;
92 }
93 
94 
95 // ************************************************************************* //
NoBreakup(const dictionary &, CloudType &)
Construct from dictionary.
Definition: NoBreakup.C:32
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
virtual bool active() const
Flag to indicate whether model activates break-up model.
Definition: NoBreakup.C:59
virtual ~NoBreakup()
Destructor.
Definition: NoBreakup.C:52
virtual bool update(const scalar dt, const vector &g, scalar &d, scalar &tc, scalar &ms, scalar &nParticle, scalar &KHindex, scalar &y, scalar &yDot, const scalar d0, const scalar rho, const scalar mu, const scalar sigma, const vector &U, const scalar rhoc, const scalar muc, const vector &Urel, const scalar Urmag, const scalar tMom, scalar &dChild, scalar &massChild)
Update the parcel properties.
Definition: NoBreakup.C:67
Templated break-up model class.
Definition: SprayCloud.H:50
Dummy breakup model for &#39;none&#39;.
Definition: NoBreakup.H:45
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:69