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

BasicReactingMultiphaseParcel.C

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) 2008-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 \*---------------------------------------------------------------------------*/
00025 
00026 #include "BasicReactingMultiphaseParcel.H"
00027 
00028 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
00029 
00030 template<class ThermoType>
00031 Foam::BasicReactingMultiphaseParcel<ThermoType>::BasicReactingMultiphaseParcel
00032 (
00033     ReactingMultiphaseCloud<BasicReactingMultiphaseParcel<ThermoType> >& owner,
00034     const vector& position,
00035     const label cellI
00036 )
00037 :
00038     ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >
00039     (
00040         owner,
00041         position,
00042         cellI
00043     )
00044 {}
00045 
00046 
00047 template<class ThermoType>
00048 Foam::BasicReactingMultiphaseParcel<ThermoType>::BasicReactingMultiphaseParcel
00049 (
00050     ReactingMultiphaseCloud<BasicReactingMultiphaseParcel<ThermoType> >& owner,
00051     const vector& position,
00052     const label cellI,
00053     const label typeId,
00054     const scalar nParticle0,
00055     const scalar d0,
00056     const vector& U0,
00057     const scalarField& YGas0,
00058     const scalarField& YLiquid0,
00059     const scalarField& YSolid0,
00060     const scalarField& Y0,
00061     const typename
00062         ReactingMultiphaseParcel<BasicReactingMultiphaseParcel>::
00063         constantProperties& constProps
00064 )
00065 :
00066     ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >
00067     (
00068         owner,
00069         position,
00070         cellI,
00071         typeId,
00072         nParticle0,
00073         d0,
00074         U0,
00075         YGas0,
00076         YLiquid0,
00077         YSolid0,
00078         Y0,
00079         constProps
00080     )
00081 {}
00082 
00083 
00084 template<class ThermoType>
00085 Foam::BasicReactingMultiphaseParcel<ThermoType>::BasicReactingMultiphaseParcel
00086 (
00087     const Cloud<BasicReactingMultiphaseParcel<ThermoType> >& cloud,
00088     Istream& is,
00089     bool readFields
00090 )
00091 :
00092     ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >
00093     (
00094         cloud,
00095         is,
00096         readFields
00097     )
00098 {}
00099 
00100 
00101 template<class ThermoType>
00102 Foam::BasicReactingMultiphaseParcel<ThermoType>::BasicReactingMultiphaseParcel
00103 (
00104     const BasicReactingMultiphaseParcel<ThermoType>& p
00105 )
00106 :
00107     ReactingMultiphaseParcel<BasicReactingMultiphaseParcel<ThermoType> >(p)
00108 {}
00109 
00110 
00111 // * * * * * * * * * * * * * * * *  Destructors  * * * * * * * * * * * * * * //
00112 
00113 template<class ThermoType>
00114 Foam::BasicReactingMultiphaseParcel<ThermoType>::
00115 ~BasicReactingMultiphaseParcel()
00116 {}
00117 
00118 
00119 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines