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