![]() |
|
00001 /*---------------------------------------------------------------------------*\ 00002 ========= | 00003 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox 00004 \\ / O peration | 00005 \\ / A nd | Copyright (C) 1991-2005 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 the 00013 Free Software Foundation; either version 2 of the License, or (at your 00014 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, write to the Free Software Foundation, 00023 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00024 00025 Class 00026 pseudoSolidTetDecompositionMotionSolver 00027 00028 Description 00029 Mesh motion solver for a polyMesh. Based on solving the 00030 vertex-based pseudo-solid motion equation. The boundary motion is set as a 00031 boundary condition on the motion velocity variable motionU. 00032 00033 Note: Diffusion field from laplaceTetDecompositionMotionSolver is used 00034 as Lame's constant \mu 00035 00036 SourceFiles 00037 pseudoSolidTetDecompositionMotionSolver.C 00038 00039 \*---------------------------------------------------------------------------*/ 00040 00041 #ifndef pseudoSolidTetDecompositionMotionSolver_H 00042 #define pseudoSolidTetDecompositionMotionSolver_H 00043 00044 #include "laplaceTetDecompositionMotionSolver.H" 00045 00046 #include "tetPolyMesh.H" 00047 #include "tetPointFields.H" 00048 #include "elementFields.H" 00049 00050 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00051 00052 namespace Foam 00053 { 00054 00055 /*---------------------------------------------------------------------------*\ 00056 Class pseudoSolidTetDecompositionMotionSolver Declaration 00057 \*---------------------------------------------------------------------------*/ 00058 00059 class pseudoSolidTetDecompositionMotionSolver 00060 : 00061 public laplaceTetDecompositionMotionSolver 00062 { 00063 // Private data 00064 00065 //- Poisson's ration 00066 scalar nu_; 00067 00068 //- Number of correctors in solution procedure of pseudo-solid eqn 00069 label nCorrectors_; 00070 00071 //- Convergence tolerance for solution of pseudo-solid eqn 00072 scalar convergenceTolerance_; 00073 00074 00075 // Private Member Functions 00076 00077 //- Disallow default bitwise copy construct 00078 pseudoSolidTetDecompositionMotionSolver 00079 ( 00080 const pseudoSolidTetDecompositionMotionSolver& 00081 ); 00082 00083 //- Disallow default bitwise assignment 00084 void operator=(const pseudoSolidTetDecompositionMotionSolver&); 00085 00086 00087 public: 00088 00089 //- Runtime type information 00090 TypeName("pseudoSolidTetDecomposition"); 00091 00092 00093 // Constructors 00094 00095 pseudoSolidTetDecompositionMotionSolver(const polyMesh& mesh); 00096 00097 00098 // Destructor 00099 00100 ~pseudoSolidTetDecompositionMotionSolver(); 00101 00102 00103 // Member Functions 00104 00105 //- Solve for motion 00106 virtual void solve(); 00107 }; 00108 00109 00110 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00111 00112 } // End namespace Foam 00113 00114 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00115 00116 #endif 00117 00118 // ************************************************************************* //