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 | Copyright (C) 2011-2013 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  // Do nothing
92  return false;
93 }
94 
95 
96 // ************************************************************************* //
Foam::constant::physicoChemical::mu
const dimensionedScalar mu
Atomic mass unit.
Definition: createFields.H:13
Foam::NoBreakup
Dummy breakup model for 'none'.
Definition: NoBreakup.H:45
g
const dimensionedVector & g
Definition: setRegionFluidFields.H:33
U
U
Definition: pEqn.H:46
Foam::NoBreakup::~NoBreakup
virtual ~NoBreakup()
Destructor.
Definition: NoBreakup.C:52
NoBreakup.H
Foam::NoBreakup::active
virtual bool active() const
Flag to indicate whether model activates break-up model.
Definition: NoBreakup.C:59
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:67
Foam::DSMCCloud
Templated base class for dsmc cloud.
Definition: DSMCCloud.H:68
Urel
Urel
Definition: pEqn.H:45
Foam::dictionary
A list of keyword definitions, which are a keyword followed by any number of values (e....
Definition: dictionary.H:137
Foam::BreakupModel< CloudType >
rho
rho
Definition: pEqn.H:3
Foam::Vector< scalar >
Foam::constant::physicoChemical::sigma
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
Foam::NoBreakup::NoBreakup
NoBreakup(const dictionary &, CloudType &)
Construct from dictionary.
Definition: NoBreakup.C:32
y
scalar y
Definition: LISASMDCalcMethod1.H:14