OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

conductivityModel.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-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 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     Foam::conductivityModel
00027 
00028 SourceFiles
00029     conductivityModel.C
00030 
00031 \*---------------------------------------------------------------------------*/
00032 
00033 #ifndef conductivityModel_H
00034 #define conductivityModel_H
00035 
00036 #include "dictionary.H"
00037 #include "volFields.H"
00038 #include "dimensionedTypes.H"
00039 #include "runTimeSelectionTables.H"
00040 
00041 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00042 
00043 namespace Foam
00044 {
00045 
00046 /*---------------------------------------------------------------------------*\
00047                            Class conductivityModel Declaration
00048 \*---------------------------------------------------------------------------*/
00049 
00050 class conductivityModel
00051 {
00052     // Private member functions
00053 
00054         //- Disallow default bitwise copy construct
00055         conductivityModel(const conductivityModel&);
00056 
00057         //- Disallow default bitwise assignment
00058         void operator=(const conductivityModel&);
00059 
00060 
00061 protected:
00062 
00063     // Protected data
00064 
00065         const dictionary& dict_;
00066 
00067 
00068 public:
00069 
00070     //- Runtime type information
00071     TypeName("conductivityModel");
00072 
00073     // Declare runtime constructor selection table
00074     declareRunTimeSelectionTable
00075     (
00076         autoPtr,
00077         conductivityModel,
00078         dictionary,
00079         (
00080             const dictionary& dict
00081         ),
00082         (dict)
00083     );
00084 
00085 
00086     // Constructors
00087 
00088         //- Construct from components
00089         conductivityModel(const dictionary& dict);
00090 
00091 
00092     // Selectors
00093 
00094         static autoPtr<conductivityModel> New
00095         (
00096             const dictionary& dict
00097         );
00098 
00099 
00100     //- Destructor
00101     virtual ~conductivityModel();
00102 
00103 
00104     // Member Functions
00105 
00106         virtual tmp<volScalarField> kappa
00107         (
00108             const volScalarField& alpha,
00109             const volScalarField& Theta,
00110             const volScalarField& g0,
00111             const dimensionedScalar& rhoa,
00112             const dimensionedScalar& da,
00113             const dimensionedScalar& e
00114         ) const = 0;
00115 };
00116 
00117 
00118 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00119 
00120 } // End namespace Foam
00121 
00122 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00123 
00124 #endif
00125 
00126 // ************************************************************************* //
Copyright © 2000-2009 OpenCFD Ltd