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

CoalParcel.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-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 \*---------------------------------------------------------------------------*/
00026 
00027 #include "CoalParcel.H"
00028 
00029 // * * * * * * * * * * * * * * * * Constructors  * * * * * * * * * * * * * * //
00030 
00031 template<class ThermoType>
00032 Foam::CoalParcel<ThermoType>::CoalParcel
00033 (
00034     ReactingMultiphaseCloud<CoalParcel<ThermoType> >& owner,
00035     const vector& position,
00036     const label cellI
00037 )
00038 :
00039     ReactingMultiphaseParcel<CoalParcel<ThermoType> >(owner, position, cellI)
00040 {}
00041 
00042 
00043 template<class ThermoType>
00044 Foam::CoalParcel<ThermoType>::CoalParcel
00045 (
00046     ReactingMultiphaseCloud<CoalParcel<ThermoType> >& owner,
00047     const vector& position,
00048     const label cellI,
00049     const label typeId,
00050     const scalar nParticle0,
00051     const scalar d0,
00052     const vector& U0,
00053     const scalarField& YMixture0,
00054     const scalarField& YGas0,
00055     const scalarField& YLiquid0,
00056     const scalarField& YSolid0,
00057     const typename
00058         ReactingMultiphaseParcel<CoalParcel<ThermoType> >::
00059         constantProperties& constProps
00060 )
00061 :
00062     ReactingMultiphaseParcel<CoalParcel<ThermoType> >
00063     (
00064         owner,
00065         position,
00066         cellI,
00067         typeId,
00068         nParticle0,
00069         d0,
00070         U0,
00071         YMixture0,
00072         YGas0,
00073         YLiquid0,
00074         YSolid0,
00075         constProps
00076     )
00077 {}
00078 
00079 
00080 template<class ThermoType>
00081 Foam::CoalParcel<ThermoType>::CoalParcel
00082 (
00083     const Cloud<CoalParcel<ThermoType> >& cloud,
00084     Istream& is,
00085     bool readFields
00086 )
00087 :
00088     ReactingMultiphaseParcel<CoalParcel<ThermoType> >(cloud, is, readFields)
00089 {}
00090 
00091 
00092 // * * * * * * * * * * * * * * * *  Destructors  * * * * * * * * * * * * * * //
00093 
00094 template<class ThermoType>
00095 Foam::CoalParcel<ThermoType>::~CoalParcel()
00096 {}
00097 
00098 
00099 // ************************************************************************* //
Copyright © 2000-2009 OpenCFD Ltd