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-2023 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 :
37  BreakupModel<CloudType>(owner)
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  const scalar dt,
62  const vector& g,
63  scalar& d,
64  scalar& tc,
65  scalar& ms,
66  scalar& nParticle,
67  scalar& KHindex,
68  scalar& y,
69  scalar& yDot,
70  const scalar d0,
71  const scalar rho,
72  const scalar mu,
73  const scalar sigma,
74  const vector& U,
75  const scalar rhoc,
76  const scalar muc,
77  const vector& Urel,
78  const scalar Urmag,
79  const scalar tMom,
80  const label injectori,
81  scalar& dChild,
82  scalar& massChild
83 )
84 {
85  return false;
86 }
87 
88 
89 // ************************************************************************* //
scalar y
Templated break-up model class.
Definition: BreakupModel.H:55
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:79
Dummy breakup model for 'none'.
Definition: NoBreakup.H:48
virtual ~NoBreakup()
Destructor.
Definition: NoBreakup.C:52
NoBreakup(const dictionary &, CloudType &)
Construct from dictionary.
Definition: NoBreakup.C:32
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, const label injectori, scalar &dChild, scalar &massChild)
Update the parcel properties.
Definition: NoBreakup.C:60
A list of keyword definitions, which are a keyword followed by any number of values (e....
Definition: dictionary.H:160
U
Definition: pEqn.H:72
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
const dimensionedScalar mu
Atomic mass unit.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59