Loading...
Searching...
No Matches
forceList.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) 2020 OpenCFD Ltd.
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::regionModels::surfaceFilmModels::forceList
28
29Description
30 List container for film sources
31
32Usage
33 Example of the model specification:
34 \verbatim
35 {
36 // Mandatory entries
37 forces
38 (
39 <forceModel1>
40 <forceModel2>
41 ...
42 );
43
44 <forceModel1>Coeffs
45 {
46 ...
47 }
48
49 // Inherited entries
50 ...
51 }
52 \endverbatim
53
54 where the entries mean:
55 \table
56 Property | Description | Type | Reqd | Deflt
57 forces | List of force models | list | yes | -
58 \endtable
59
60SourceFiles
61 forceList.C
62
63\*---------------------------------------------------------------------------*/
64
65#ifndef forceList_H
66#define forceList_H
67
68#include "force.H"
69
70// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
71
72namespace Foam
73{
74namespace regionModels
75{
77{
78
79/*---------------------------------------------------------------------------*\
80 Class forceList Declaration
81\*---------------------------------------------------------------------------*/
82
83class forceList
84:
85 public PtrList<force>
86{
87public:
88
89 // Constructors
91 //- Construct null
93
94 //- Construct from type name, dictionary and surface film model
96 (
97 liquidFilmBase& film,
98 const dictionary& dict
99 );
100
101
102 //- Destructor
103 virtual ~forceList();
104
105
106 // Member Functions
107
108 //- Return (net) force system
110};
111
112
113// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
114
115} // End namespace areaSurfaceFilmModels
116} // End namespace regionModels
117} // End namespace Foam
118
119
120// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121
122#endif
123
124// ************************************************************************* //
constexpr PtrList() noexcept
Definition PtrListI.H:29
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition dictionary.H:133
forceList(liquidFilmBase &film)
Construct null.
Definition forceList.C:34
A class for managing temporary objects.
Definition tmp.H:75
U
Definition pEqn.H:72
thermo correct()
Namespace for OpenFOAM.
GeometricField< vector, faPatchField, areaMesh > areaVectorField
dictionary dict