OpenFOAM
dev
The OpenFOAM Foundation
daughterSizeDistribution.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) 2017-2025 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 "
daughterSizeDistribution.H
"
27
28
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
29
30
Foam::populationBalance::breakupModels::daughterSizeDistribution::
31
daughterSizeDistribution
32
(
33
const
populationBalanceModel
& popBal,
34
const
dictionary
&
dict
35
)
36
:
37
breakupModel
(popBal,
dict
),
38
dsdPtr_(
daughterSizeDistributionModel
::
New
(*this,
dict
))
39
{}
40
41
42
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
43
44
void
Foam::populationBalance::breakupModels::daughterSizeDistribution::
45
precompute
()
46
{
47
dsdPtr_->precompute();
48
}
49
50
51
// ************************************************************************* //
Foam::dictionary
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Definition:
dictionary.H:162
Foam::populationBalanceModel
Model for tracking the evolution of a dispersed phase size distribution due to coalescence (synonymou...
Definition:
populationBalanceModel.H:253
Foam::populationBalance::breakupModel
Base class for breakup models which provide a total breakup rate and a separate daughter size distrib...
Definition:
breakupModel.H:56
Foam::populationBalance::breakupModels::daughterSizeDistribution::precompute
virtual void precompute()
Pre-compute diameter independent expressions.
Definition:
daughterSizeDistribution.C:45
Foam::populationBalance::breakupModels::daughterSizeDistribution::daughterSizeDistribution
daughterSizeDistribution(const populationBalanceModel &popBal, const dictionary &dict)
Definition:
daughterSizeDistribution.C:32
Foam::populationBalance::daughterSizeDistributionModel
Base class for daughter size distribution models. Currently only supports field-independent formulati...
Definition:
daughterSizeDistributionModel.H:59
daughterSizeDistribution.H
Foam::New
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
Definition:
DimensionedFieldReuseFunctions.H:40
dict
dictionary dict
Definition:
searchingEngine.H:14
applications
modules
multiphaseEuler
populationBalance
breakupModels
daughterSizeDistribution
daughterSizeDistribution.C
Generated by
1.9.1