|
|
|
Merkle.HGo to the documentation of this file.00001 /*---------------------------------------------------------------------------*\ 00002 ========Merkle= | 00003 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox 00004 \\ / O peration | 00005 \\ / A nd | Copyright (C) 1991-2009 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 Generac License as published by the 00013 Free Software Foundation; either 2 of the License, or (at your 00014 option) any later version. 00015 00016 OpenFOAM is distributed in the ho it will be useful, but WITHOUT 00017 ANY WARRANTY; without even the imarranty of MERCHANTABILITY or 00018 FITNESS FOR A PARTICULAR PURPOSE.he GNU General Public License 00019 for more details. 00020 00021 You should have received a copy oNU General Public License 00022 along with OpenFOAM; if not, write Free Software Foundation, 00023 Inc., 51 Franklin St, Fifth Floorn, MA 02110-1301 USA 00024 00025 Class 00026 Foam::phaseChangeTwoPhaseMixtures::Merkle 00027 00028 Description 00029 Merkle cavitation model. 00030 00031 Reference: 00032 @verbatim 00033 C. L. Merkle, J. Feng, and P. E. O. Buelow, 00034 "Computational modeling of the dynamics of sheet cavitation", 00035 in Proceedings Third International Symposium on Cavitation 00036 Grenoble, France 1998. 00037 @verbatim 00038 00039 SourceFiles 00040 Merkle.C 00041 00042 \*--------------------------------------------------------------------*/ 00043 00044 #ifndef Merkle_H 00045 #define Merkle_H 00046 00047 #include "phaseChangeTwoPhaseMixture.H" 00048 00049 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00050 00051 namespace Foam 00052 { 00053 namespace phaseChangeTwoPhaseMixtures 00054 { 00055 00056 /*--------------------------------------------------------------------*\ 00057 Class Merkle 00058 \*--------------------------------------------------------------------*/ 00059 00060 class Merkle 00061 : 00062 public phaseChangeTwoPhaseMixture 00063 { 00064 // Private data 00065 00066 dimensionedScalar UInf_; 00067 dimensionedScalar tInf_; 00068 dimensionedScalar Cc_; 00069 dimensionedScalar Cv_; 00070 00071 dimensionedScalar p0_; 00072 00073 dimensionedScalar mcCoeff_; 00074 dimensionedScalar mvCoeff_; 00075 00076 00077 public: 00078 00079 //- Runtime type information 00080 TypeName("Merkle"); 00081 00082 00083 // Constructors 00084 00085 //- construct from components 00086 Merkle 00087 ( 00088 const volVectorField& U, 00089 const surfaceScalarField& phi, 00090 const word& alpha1Name = "alpha1" 00091 ); 00092 00093 00094 // Destructor 00095 00096 virtual ~Merkle() 00097 {} 00098 00099 00100 // Member Functions 00101 00102 //- Return the mass condensation and vaporisation rates as a 00103 // coefficient to multiply (1 - alphal) for the condensation rate 00104 // and a coefficient to multiply alphal for the vaporisation rate 00105 virtual Pair<tmp<volScalarField> > mDotAlphal() const; 00106 00107 //- Return the mass condensation and vaporisation rates as an 00108 // explicit term for the condensation rate and a coefficient to 00109 // multiply (p - pSat) for the vaporisation rate 00110 virtual Pair<tmp<volScalarField> > mDotP() const; 00111 00112 //- Correct the Merkle phaseChange model 00113 virtual void correct(); 00114 00115 //- Read the transportProperties dictionary and update 00116 virtual bool read(); 00117 }; 00118 00119 00120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00121 00122 } // End namespace phaseChangeTwoPhaseMixtures 00123 } // End namespace Foam 00124 00125 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00126 00127 #endif 00128 00129 // ************************************************************************* // |