eReactingFoam-4.x/diffusivityModel/Stockmayer/Stockmayer.H

180 lines
4 KiB
C++

/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Class
Foam::Stockmayer
Description
SourceFiles
StockmayerI.H
Stockmayer.C
StockmayerIO.C
\*---------------------------------------------------------------------------*/
#ifndef Stockmayer_H
#define Stockmayer_H
#include "scalar.H"
#include "scalarField.H"
#include "Neutral.H"
#include "Interaction.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
// Forward declaration of classes
class Istream;
class Ostream;
// Forward declaration of friend functions and operators
class Stockmayer;
Istream& operator>>(Istream&, Stockmayer&);
Ostream& operator<<(Ostream&, const Stockmayer&);
/*---------------------------------------------------------------------------*\
Class Stockmayer Declaration
\*---------------------------------------------------------------------------*/
class Stockmayer
: public Interaction
{
// Private data
//- Collision participant a
const Neutral &a_;
//- Collision participant b
const Neutral &b_;
//- Combined well depth, /kB [K]
scalar eij_;
//- Combined diameter [m]
scalar sigmaij_;
//- Combined circle area [m^2]
scalar piSigmaSqr_;
//- Combined molecular weight
scalar Wij_;
//- Stockmayer potential parameter
scalar deltaij_;
// Private Member Functions
//- Disallow default bitwise copy construct
Stockmayer(const Stockmayer&);
//- Disallow default bitwise assignment
void operator=(const Stockmayer&);
public:
// Static data members
// Constructors
//- Construct null
Stockmayer();
//- Construct from components
Stockmayer(const Neutral& a, const Neutral& b);
//- Construct from Istream
Stockmayer(Istream&);
//- Construct as copy
// Stockmayer(const Stockmayer&);
//- Destructor
~Stockmayer();
// Member Functions
// Access
// Check
// Edit
// Write
inline scalar Omega11(const scalar T);
inline scalar Omega22(const scalar T);
inline scalar f11(const scalar T);
inline scalar f22(const scalar T);
inline scalar D(const scalar p, const scalar T);
inline scalar mu(const scalar p, const scalar T);
inline scalar k(const scalar p, const scalar T);
// Member Operators
// Friend Functions
// Friend Operators
// IOstream Operators
friend Istream& operator>>(Istream&, Stockmayer&);
friend Ostream& operator<<(Ostream&, const Stockmayer&);
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "StockmayerI.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#endif
// ************************************************************************* //