dynamicInkJetFvMesh.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 -------------------------------------------------------------------------------
10 License
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 
26 Class
27  Foam::dynamicInkJetFvMesh
28 
29 Description
30  Mesh motion specifically for the "pumping" system of an ink-jet
31  injector.
32 
33  The set of points in the "pumping" region are compressed and expanded
34  sinusoidally to impose a sinusoidal variation of the flow at the
35  nozzle exit.
36 
37 SourceFiles
38  dynamicInkJetFvMesh.C
39 
40 \*---------------------------------------------------------------------------*/
41 
42 #ifndef dynamicInkJetFvMesh_H
43 #define dynamicInkJetFvMesh_H
44 
45 #include "dynamicFvMesh.H"
46 #include "dictionary.H"
47 #include "pointIOField.H"
48 
49 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 
51 namespace Foam
52 {
53 
54 /*---------------------------------------------------------------------------*\
55  Class dynamicInkJetFvMesh Declaration
56 \*---------------------------------------------------------------------------*/
57 
59 :
60  public dynamicFvMesh
61 {
62  // Private data
63 
64  dictionary dynamicMeshCoeffs_;
65 
66  scalar amplitude_;
67  scalar frequency_;
68  scalar refPlaneX_;
69 
70  pointIOField stationaryPoints_;
71 
72 
73  // Private Member Functions
74 
75  //- No copy construct
77 
78  //- No copy assignment
79  void operator=(const dynamicInkJetFvMesh&) = delete;
80 
81 
82 public:
83 
84  //- Runtime type information
85  TypeName("dynamicInkJetFvMesh");
86 
87 
88  // Constructors
89 
90  //- Construct from IOobject
91  dynamicInkJetFvMesh(const IOobject& io);
92 
93 
94  //- Destructor
96 
97 
98  // Member Functions
99 
100  //- Update the mesh for both mesh motion and topology change
101  virtual bool update();
102 };
103 
104 
105 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106 
107 } // End namespace Foam
108 
109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
110 
111 #endif
112 
113 // ************************************************************************* //
Foam::IOobject
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Definition: IOobject.H:104
Foam::IOField
A primitive field of type <T> with automated input and output.
Definition: foamVtkLagrangianWriter.H:61
Foam::dynamicFvMesh
Abstract base class for geometry and/or topology changing fvMesh.
Definition: dynamicFvMesh.H:78
pointIOField.H
Foam::dynamicInkJetFvMesh
Mesh motion specifically for the "pumping" system of an ink-jet injector.
Definition: dynamicInkJetFvMesh.H:57
Foam::dynamicInkJetFvMesh::TypeName
TypeName("dynamicInkJetFvMesh")
Runtime type information.
Foam::dynamicInkJetFvMesh::update
virtual bool update()
Update the mesh for both mesh motion and topology change.
Definition: dynamicInkJetFvMesh.C:92
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
dictionary.H
dynamicFvMesh.H
Foam::dynamicInkJetFvMesh::~dynamicInkJetFvMesh
~dynamicInkJetFvMesh()
Destructor.
Definition: dynamicInkJetFvMesh.C:86