FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

dynamicInkJetFvMesh.H

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002   =========                 |
00003   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
00004    \\    /   O peration     |
00005     \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
00006      \\/     M anipulation  |
00007 -------------------------------------------------------------------------------
00008 License
00009     This file is part of OpenFOAM.
00010 
00011     OpenFOAM is free software: you can redistribute it and/or modify it
00012     under the terms of the GNU General Public License as published by
00013     the Free Software Foundation, either version 3 of the License, or
00014     (at your option) any later version.
00015 
00016     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
00017     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00018     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00019     for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
00023 
00024 Class
00025     Foam::dynamicInkJetFvMesh
00026 
00027 Description
00028     Mesh motion specifically for the "pumping" system of an ink-jet
00029     injector.
00030 
00031     The set of points in the "pumping" region are compressed and expanded
00032     sinusoidally to impose a sinusoidal variation of the flow at the
00033     nozzle exit.
00034 
00035 SourceFiles
00036     dynamicInkJetFvMesh.C
00037 
00038 \*---------------------------------------------------------------------------*/
00039 
00040 #ifndef dynamicInkJetFvMesh_H
00041 #define dynamicInkJetFvMesh_H
00042 
00043 #include <dynamicFvMesh/dynamicFvMesh.H>
00044 #include <OpenFOAM/dictionary.H>
00045 #include <OpenFOAM/pointIOField.H>
00046 
00047 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00048 
00049 namespace Foam
00050 {
00051 
00052 /*---------------------------------------------------------------------------*\
00053                            Class dynamicInkJetFvMesh Declaration
00054 \*---------------------------------------------------------------------------*/
00055 
00056 class dynamicInkJetFvMesh
00057 :
00058     public dynamicFvMesh
00059 {
00060     // Private data
00061 
00062         dictionary dynamicMeshCoeffs_;
00063 
00064         scalar amplitude_;
00065         scalar frequency_;
00066         scalar refPlaneX_;
00067 
00068         pointIOField stationaryPoints_;
00069 
00070 
00071     // Private Member Functions
00072 
00073         //- Disallow default bitwise copy construct
00074         dynamicInkJetFvMesh(const dynamicInkJetFvMesh&);
00075 
00076         //- Disallow default bitwise assignment
00077         void operator=(const dynamicInkJetFvMesh&);
00078 
00079 
00080 public:
00081 
00082     //- Runtime type information
00083     TypeName("dynamicInkJetFvMesh");
00084 
00085 
00086     // Constructors
00087 
00088         //- Construct from IOobject
00089         dynamicInkJetFvMesh(const IOobject& io);
00090 
00091 
00092     // Destructor
00093 
00094         ~dynamicInkJetFvMesh();
00095 
00096 
00097     // Member Functions
00098 
00099         //- Update the mesh for both mesh motion and topology change
00100         virtual bool update();
00101 };
00102 
00103 
00104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00105 
00106 } // End namespace Foam
00107 
00108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00109 
00110 #endif
00111 
00112 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines