Files
OpenFOAM-12/src/dynamicFvMesh/dynamicInkJetFvMesh/dynamicInkJetFvMesh.H
Henry Weller def4772281 Documentation: Centred the Class Declaration comment
Patch contributed by Institute of Fluid Dynamics,
Helmholtz-Zentrum Dresden - Rossendorf (HZDR)
2020-08-28 13:28:58 +01:00

117 lines
3.3 KiB
C++

/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Class
Foam::dynamicInkJetFvMesh
Description
Mesh motion specifically for the "pumping" system of an ink-jet
injector.
The set of points in the "pumping" region are compressed and expanded
sinusoidally to impose a sinusoidal variation of the flow at the
nozzle exit.
SourceFiles
dynamicInkJetFvMesh.C
\*---------------------------------------------------------------------------*/
#ifndef dynamicInkJetFvMesh_H
#define dynamicInkJetFvMesh_H
#include "dynamicFvMesh.H"
#include "dictionary.H"
#include "pointIOField.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
/*---------------------------------------------------------------------------*\
Class dynamicInkJetFvMesh Declaration
\*---------------------------------------------------------------------------*/
class dynamicInkJetFvMesh
:
public dynamicFvMesh
{
// Private Data
dictionary dynamicMeshCoeffs_;
scalar amplitude_;
scalar frequency_;
scalar refPlaneX_;
pointIOField stationaryPoints_;
//- Optional list of vectorFields to update for mesh motion
// For modern solvers using Uf and correctPhi to update the flux
// after motion it is not necessary to specify a "velocityFields" list
velocityMotionCorrection velocityMotionCorrection_;
public:
//- Runtime type information
TypeName("dynamicInkJetFvMesh");
// Constructors
//- Construct from IOobject
dynamicInkJetFvMesh(const IOobject& io);
//- Disallow default bitwise copy construction
dynamicInkJetFvMesh(const dynamicInkJetFvMesh&) = delete;
//- Destructor
~dynamicInkJetFvMesh();
// Member Functions
//- Update the mesh for both mesh motion and topology change
virtual bool update();
// Member Operators
//- Disallow default bitwise assignment
void operator=(const dynamicInkJetFvMesh&) = delete;
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#endif
// ************************************************************************* //