OpenFOAM: API Guide
v2006
The open source CFD toolbox
linearRadial.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
-------------------------------------------------------------------------------
11
License
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
27
Class
28
Foam::extrudeModels::linearRadial
29
30
Description
31
Extrudes by transforming radially from the surface.
32
33
The linearRadialCoeffs dictionary entries
34
\table
35
Property | Description | Required | Default
36
R | The radial thickness | yes |
37
Rsurface | Surface inner radius | no | -1
38
\endtable
39
40
\*---------------------------------------------------------------------------*/
41
42
#ifndef linearRadial_H
43
#define linearRadial_H
44
45
#include "
extrudeModel.H
"
46
47
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48
49
namespace
Foam
50
{
51
namespace
extrudeModels
52
{
53
54
/*---------------------------------------------------------------------------*\
55
Class extrudeModels::linearRadial Declaration
56
\*---------------------------------------------------------------------------*/
57
58
class
linearRadial
59
:
60
public
extrudeModel
61
{
62
// Private data
63
64
scalar R_;
65
scalar Rsurface_;
66
67
68
public
:
69
70
//- Runtime type information
71
TypeName
(
"linearRadial"
);
72
73
// Constructors
74
75
//- Construct from dictionary
76
explicit
linearRadial
(
const
dictionary
&
dict
);
77
78
79
//- Destructor
80
virtual
~linearRadial
() =
default
;
81
82
83
// Member Operators
84
85
//- Return point
86
point
operator()
87
(
88
const
point
& surfacePoint,
89
const
vector
& surfaceNormal,
90
const
label layer
91
)
const
;
92
};
93
94
95
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
96
97
}
// End namespace extrudeModels
98
}
// End namespace Foam
99
100
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
101
102
#endif
103
104
// ************************************************************************* //
Foam::extrudeModel
Top level extrusion model class.
Definition:
extrudeModel.H:76
Foam::extrudeModels::linearRadial::~linearRadial
virtual ~linearRadial()=default
Destructor.
Foam::extrudeModels::linearRadial::TypeName
TypeName("linearRadial")
Runtime type information.
Foam::extrudeModels::linearRadial::linearRadial
linearRadial(const dictionary &dict)
Construct from dictionary.
Definition:
linearRadial.C:46
extrudeModel.H
dict
dictionary dict
Definition:
searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition:
dictionary.H:121
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:33
Foam::Vector< scalar >
Foam::extrudeModels::linearRadial
Extrudes by transforming radially from the surface.
Definition:
linearRadial.H:72
src
mesh
extrudeModel
linearRadial
linearRadial.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.