Loading...
Searching...
No Matches
laminar.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-2021 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::areaSurfaceFilmModels::laminar
28
29Description
30 Film laminar turbulence model.
31
32SourceFiles
33 laminar.C
34
35\*---------------------------------------------------------------------------*/
36
37#ifndef regionFaModels_surfaceFilmModels_laminar_H
38#define regionFaModels_surfaceFilmModels_laminar_H
39
40#include "filmTurbulenceModel.H"
41
42// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43
44namespace Foam
45{
46namespace regionModels
47{
49{
51/*---------------------------------------------------------------------------*\
52 Class laminar Declaration
53\*---------------------------------------------------------------------------*/
54
55class laminar
56:
57 public filmTurbulenceModel
58{
59 // Private Member Functions
60
61 //- No copy construct
62 laminar(const laminar&) = delete;
63
64 //- No copy assignment
65 void operator=(const laminar&) = delete;
66
67
68public:
69
70 //- Runtime type information
71 TypeName("laminar");
73
74 // Constructors
75
76 //- Construct from surface film model
77 laminar(liquidFilmBase& film, const dictionary& dict);
78
79
80 //- Destructor
81 virtual ~laminar() = default;
82
83
84 // Member Functions
85
86 // Turbulence
87
88 //- Wall friction
90
91 //- Return the film turbulence viscosity
92 virtual tmp<areaScalarField> mut() const;
93
94 //- Return the source for the film momentum equation
96
97
98 // Evaluation
99
100 //- Correct/update the model
101 virtual void correct();
102};
103
104
105// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106
107} // End namespace areaSurfaceFilmModels
108} // End namespace regionModels
109} // End namespace Foam
110
111// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
112
113#endif
114
115// ************************************************************************* //
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition dictionary.H:133
virtual void correct()
Correct/update the model.
Definition laminar.C:72
TypeName("laminar")
Runtime type information.
tmp< faVectorMatrix > wallFriction(areaVectorField &U) const
Wall friction.
Definition laminar.C:82
virtual tmp< areaScalarField > mut() const
Return the film turbulence viscosity.
Definition laminar.C:52
A class for managing temporary objects.
Definition tmp.H:75
U
Definition pEqn.H:72
zeroField Su
Definition alphaSuSp.H:1
Namespace for OpenFOAM.
GeometricField< vector, faPatchField, areaMesh > areaVectorField
dictionary dict
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition typeInfo.H:68