1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd.
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
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 the
13 Free Software Foundation; either version 2 of the License, or (at your
14 option) any later version.
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
21 You should have received a copy of the GNU General Public License
22 along with OpenFOAM; if not, write to the Free Software Foundation,
23 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 Foam::extrudeModels::wedge
29 Extrudes by rotating a surface around an axis
30 - extrusion is opposite the surface/patch normal so inwards the source
32 - axis direction has to be consistent with this.
33 - use -mergeFaces option if doing full 360 and want to merge front and back
34 - note direction of axis. This should be consistent with rotating against
35 the patch normal direction. If you get it wrong you'll see all cells
36 with extreme aspect ratio and internal faces wrong way around in
39 \*---------------------------------------------------------------------------*/
44 #include "extrudeModel.H"
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 namespace extrudeModels
53 /*---------------------------------------------------------------------------*\
54 Class wedge Declaration
55 \*---------------------------------------------------------------------------*/
66 //- Normalized direction of axis
69 //- Overall angle (radians)
75 //- Runtime type information
80 //- Construct from components
81 wedge(const dictionary& dict);
92 const point& surfacePoint,
93 const vector& surfaceNormal,
99 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
101 } // End namespace extrudeModels
102 } // End namespace Foam
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 // ************************************************************************* //