OpenFOAM logo
Open Source CFD Toolkit

fvcDdt.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-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 Namespace
00026     fvc
00027 
00028 Description
00029     Calculate the first temporal derivative.
00030 
00031 SourceFiles
00032     fvcDdt.C
00033 
00034 \*---------------------------------------------------------------------------*/
00035 
00036 
00037 #ifndef fvcDdt_H
00038 #define fvcDdt_H
00039 
00040 #include "volFieldsFwd.H"
00041 #include "surfaceFieldsFwd.H"
00042 #include "dimensionedTypes.H"
00043 
00044 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00045 
00046 namespace Foam
00047 {
00048 
00049 /*---------------------------------------------------------------------------*\
00050                      Namespace fvc functions Declaration
00051 \*---------------------------------------------------------------------------*/
00052 
00053 namespace fvc
00054 {
00055     template<class Type>
00056     tmp<GeometricField<Type, fvPatchField, volMesh> > ddt
00057     (
00058         const dimensioned<Type>,
00059         const fvMesh&
00060     );
00061 
00062     template<class Type>
00063     tmp<GeometricField<Type, fvPatchField, volMesh> > ddt
00064     (
00065         const GeometricField<Type, fvPatchField, volMesh>&
00066     );
00067 
00068     template<class Type>
00069     tmp<GeometricField<Type, fvPatchField, volMesh> > ddt
00070     (
00071         const dimensionedScalar&,
00072         const GeometricField<Type, fvPatchField, volMesh>&
00073     );
00074 
00075     template<class Type>
00076     tmp<GeometricField<Type, fvPatchField, volMesh> > ddt
00077     (
00078         const volScalarField&,
00079         const GeometricField<Type, fvPatchField, volMesh>&
00080     );
00081 
00082     template<class Type>
00083     tmp
00084     <
00085         GeometricField
00086         <
00087             typename Foam::flux<Type>::type,
00088             fvPatchField,
00089             surfaceMesh
00090         >
00091     >
00092     ddtPhiCorr
00093     (
00094         const volScalarField& rA,
00095         const GeometricField<Type, fvPatchField, volMesh>& U,
00096         const GeometricField
00097         <
00098             typename Foam::flux<Type>::type,
00099             fvPatchField,
00100             surfaceMesh
00101         >& phi
00102     );
00103 
00104     template<class Type>
00105     tmp
00106     <
00107         GeometricField
00108         <
00109             typename Foam::flux<Type>::type,
00110             fvPatchField,
00111             surfaceMesh
00112         >
00113     >
00114     ddtPhiCorr
00115     (
00116         const volScalarField& rA,
00117         const volScalarField& rho,
00118         const GeometricField<Type, fvPatchField, volMesh>& U,
00119         const GeometricField
00120         <
00121             typename Foam::flux<Type>::type,
00122             fvPatchField,
00123             surfaceMesh
00124         >& phi
00125     );
00126 }
00127 
00128 
00129 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00130 
00131 } // End namespace Foam
00132 
00133 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00134 
00135 #ifdef NoRepository
00136 #   include "fvcDdt.C"
00137 #endif
00138 
00139 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00140 
00141 #endif
00142 
00143 // ************************************************************************* //
For further information go to www.openfoam.org