Loading...
Searching...
No Matches
NoAtomization.H
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-2016 OpenFOAM Foundation
9-------------------------------------------------------------------------------
10License
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
26Class
27 Foam::NoAtomization
28
29Group
30 grpLagrangianIntermediateAtomizationSubModels
31
32Description
33 Dummy phase change model for 'none'
34
35\*---------------------------------------------------------------------------*/
36
37#ifndef NoAtomization_H
38#define NoAtomization_H
39
40#include "AtomizationModel.H"
41
42// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43
44namespace Foam
45{
46/*---------------------------------------------------------------------------*\
47 Class NoAtomization Declaration
48\*---------------------------------------------------------------------------*/
49
50template<class CloudType>
51class NoAtomization
52:
53 public AtomizationModel<CloudType>
54{
55public:
56
57 //- Runtime type information
58 TypeName("none");
59
60
61 // Constructors
62
63 //- Construct from dictionary
65
66 //- Construct copy
68
69 //- Construct and return a clone
71 {
73 (
75 );
76 }
77
78
79 //- Destructor
80 virtual ~NoAtomization();
81
82
83 // Member Functions
84
85 //- Flag to indicate whether model activates atomization model
86 virtual bool active() const;
87
88 //- Initial value of liquidCore
89 virtual scalar initLiquidCore() const;
90
91 //- Flag to indicate if chi needs to be calculated
92 virtual bool calcChi() const;
93
94 virtual void update
95 (
96 const scalar dt,
97 scalar& d,
98 scalar& liquidCore,
99 scalar& tc,
100 const scalar rho,
101 const scalar mu,
102 const scalar sigma,
103 const scalar volFlowRate,
104 const scalar rhoAv,
105 const scalar Urel,
106 const vector& pos,
107 const vector& injectionPos,
108 const scalar pAmbient,
109 const scalar chi,
111 ) const;
112};
113
114
115// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
116
117} // End namespace Foam
118
119// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120
121#ifdef NoRepository
122 #include "NoAtomization.C"
123#endif
124
125// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
126
127#endif
128
129// ************************************************************************* //
AtomizationModel(CloudType &owner)
Construct null from owner.
virtual autoPtr< AtomizationModel< CloudType > > clone() const
Construct and return a clone.
NoAtomization(const dictionary &dict, CloudType &cloud)
Construct from dictionary.
virtual ~NoAtomization()
Destructor.
virtual bool calcChi() const
Flag to indicate if chi needs to be calculated.
TypeName("none")
Runtime type information.
virtual scalar initLiquidCore() const
Initial value of liquidCore.
virtual bool active() const
Flag to indicate whether model activates atomization model.
Random number generator.
Definition Random.H:56
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition autoPtr.H:65
A cloud is a registry collection of lagrangian particles.
Definition cloud.H:56
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition dictionary.H:133
const dictionary & dict() const
Return const access to the cloud dictionary.
mesh update()
Urel
Definition pEqn.H:56
Namespace for OpenFOAM.
dimensionedScalar pos(const dimensionedScalar &ds)
DSMCCloud< dsmcParcel > CloudType
Vector< scalar > vector
Definition vector.H:57
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition typeInfo.H:68
Random rndGen