NoBreakup.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-2017 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 \*---------------------------------------------------------------------------*/
27 
28 #include "NoBreakup.H"
29 
30 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
31 
32 template<class CloudType>
34 (
35  const dictionary&,
36  CloudType& owner
37 )
38 :
40 {}
41 
42 
43 
44 template<class CloudType>
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  const scalar dt,
71  const vector& g,
72  scalar& d,
73  scalar& tc,
74  scalar& ms,
75  scalar& nParticle,
76  scalar& KHindex,
77  scalar& y,
78  scalar& yDot,
79  const scalar d0,
80  const scalar rho,
81  const scalar mu,
82  const scalar sigma,
83  const vector& U,
84  const scalar rhoc,
85  const scalar muc,
86  const vector& Urel,
87  const scalar Urmag,
88  const scalar tMom,
89  scalar& dChild,
90  scalar& massChild
91 )
92 {
93  return false;
94 }
95 
96 
97 // ************************************************************************* //
Foam::constant::physicoChemical::mu
const dimensionedScalar mu
Atomic mass unit.
Definition: createFieldRefs.H:4
Urel
Urel
Definition: pEqn.H:56
Foam::NoBreakup
Dummy breakup model for 'none'.
Definition: NoBreakup.H:50
rho
rho
Definition: readInitialConditions.H:88
Foam::NoBreakup::~NoBreakup
virtual ~NoBreakup()
Destructor.
Definition: NoBreakup.C:54
NoBreakup.H
Foam::NoBreakup::active
virtual bool active() const
Flag to indicate whether model activates break-up model.
Definition: NoBreakup.C:61
Foam::NoBreakup::update
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:69
Foam::DSMCCloud
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:71
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
g
const uniformDimensionedVectorField & g
Definition: createFluidFields.H:26
Foam::BreakupModel
Templated break-up model class.
Definition: SprayCloud.H:50
U
U
Definition: pEqn.H:72
Foam::Vector< scalar >
Foam::NoBreakup::NoBreakup
NoBreakup(const dictionary &, CloudType &)
Construct from dictionary.
Definition: NoBreakup.C:34
sigma
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
y
scalar y
Definition: LISASMDCalcMethod1.H:14