displacementMethodvolumetricBSplinesMotionSolver.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) 2007-2019 PCOpt/NTUA
9 Copyright (C) 2013-2019 FOSS GP
10 Copyright (C) 2019 OpenCFD Ltd.
11-------------------------------------------------------------------------------
12License
13 This file is part of OpenFOAM.
14
15 OpenFOAM is free software: you can redistribute it and/or modify it
16 under the terms of the GNU General Public License as published by
17 the Free Software Foundation, either version 3 of the License, or
18 (at your option) any later version.
19
20 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
21 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
22 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23 for more details.
24
25 You should have received a copy of the GNU General Public License
26 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
27
28
29
30Class
31 Foam::displacementMethodvolumetricBSplinesMotionSolver
32
33Description
34 Wrapper class for the volumetricBSplinesMotionSolver motion solver
35
36SourceFiles
37 displacementMethodvolumetricBSplinesMotionSolver.C
38
39\*---------------------------------------------------------------------------*/
40
41#ifndef displacementMethodvolumetricBSplinesMotionSolver_H
42#define displacementMethodvolumetricBSplinesMotionSolver_H
43
44#include "displacementMethod.H"
46
47// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48
49namespace Foam
50{
51
52/*---------------------------------------------------------------------------*\
53 Class displacementMethodvolumetricBSplinesMotionSolver Declaration
54\*---------------------------------------------------------------------------*/
57:
59{
60private:
61
62 // Private Member Functions
63
64 //- No copy construct
66 (
68 ) = delete;
69
70 //- No copy assignment
71 void operator=
72 (
74 ) = delete;
75
76
77public:
78
79 //- Runtime type information
80 TypeName("volumetricBSplinesMotionSolver");
81
82
83 // Constructors
84
85 //- Construct from components
87 (
88 fvMesh& mesh,
89 const labelList& patchIDs
90 );
91
92
93 //- Destructor
95
96
97 // Member Functions
98
99 //- Set motion filed related to model based on given motion
100 void setMotionField(const pointVectorField& pointMovement);
101
102 //- Set motion filed related to model based on given motion
103 void setMotionField(const volVectorField& cellMovement);
104
105 //- Set control field as a vectorField. For methods working with
106 //- parameters (RBF etc)
107 void setControlField(const vectorField& controlField);
108
109 //- Set control field as a vectorField. For methods working with
110 //- parameters (RBF etc)
111 void setControlField(const scalarField& controlField);
112
113 //- Bound control field in certain directions etc. For methods working
114 //- with parameters (RBF etc)
115 void boundControlField(vectorField& controlField);
116};
117
118
119// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120
121} // End namespace Foam
122
123// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
124
125#endif
126
127// ************************************************************************* //
Abstract base class for displacement methods, which are a set or wrapper classes allowing to change t...
Wrapper class for the volumetricBSplinesMotionSolver motion solver.
TypeName("volumetricBSplinesMotionSolver")
Runtime type information.
virtual ~displacementMethodvolumetricBSplinesMotionSolver()=default
Destructor.
void setMotionField(const pointVectorField &pointMovement)
Set motion filed related to model based on given motion.
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:91
dynamicFvMesh & mesh
Namespace for OpenFOAM.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73