sigmaRadial.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 OpenFOAM Foundation
9 Copyright (C) 2019 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27Class
28 Foam::extrudeModels::sigmaRadial
29
30Description
31 Extrudes into sphere with grading according to pressure (atmospherics)
32
33 The sigmaRadialCoeffs dictionary entries
34 \table
35 Property | Description | Required | Default
36 RTbyg | | yes |
37 pRef | | yes |
38 pStrat | | yes |
39 \endtable
40
41\*---------------------------------------------------------------------------*/
42
43#ifndef sigmaRadial_H
44#define sigmaRadial_H
45
46#include "extrudeModel.H"
47
48// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49
50namespace Foam
51{
52namespace extrudeModels
53{
54
55/*---------------------------------------------------------------------------*\
56 Class sigmaRadial Declaration
57\*---------------------------------------------------------------------------*/
58
59class sigmaRadial
60:
61 public extrudeModel
62{
63 // Private data
64
65 scalar RTbyg_;
66 scalar pRef_;
67 scalar pStrat_;
68
69
70public:
71
72 //- Runtime type information
73 TypeName("sigmaRadial");
74
75 // Constructors
76
77 //- Construct from dictionary
79
80
81 //- Destructor
82 virtual ~sigmaRadial() = default;
83
84
85 // Member Operators
86
87 point operator()
88 (
89 const point& surfacePoint,
90 const vector& surfaceNormal,
91 const label layer
92 ) const;
93};
94
95
96// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
97
98} // End namespace extrudeModels
99} // End namespace Foam
100
101// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
102
103#endif
104
105// ************************************************************************* //
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
Top level extrusion model class.
Definition: extrudeModel.H:77
Extrudes into sphere with grading according to pressure (atmospherics)
Definition: sigmaRadial.H:81
virtual ~sigmaRadial()=default
Destructor.
TypeName("sigmaRadial")
Runtime type information.
Namespace for OpenFOAM.
dictionary dict
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73