/*---------------------------------------------------------------------------*\
========= |
\\ / 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 .
Class
Foam::N64
Description
SourceFiles
N64I.H
N64.C
N64IO.C
\*---------------------------------------------------------------------------*/
#ifndef N64_H
#define N64_H
#include "scalar.H"
#include "scalarField.H"
#include "Ion.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 N64;
Istream& operator>>(Istream&, N64&);
Ostream& operator<<(Ostream&, const N64&);
/*---------------------------------------------------------------------------*\
Class N64 Declaration
\*---------------------------------------------------------------------------*/
class N64
: public Interaction
{
// Private data
//
//- Highest polynomial order of collision integral fitting formular
static constexpr label M = 5;
//- Collision participant ion a
const Ion &a_;
//- Collision participant neutral b
const Neutral &b_;
//- Combined well depth parameter
scalar ksiij_;
//- Combined collision diameter [A] (Angstrom)
scalar sigmaij_;
//- Combined collision circle area [m^2]
scalar piSigmaSqr_;
//- Combined well depth, /kB [K]
scalar eij_;
//- Combined dispersion coefficient, C6/(e^2) [A^5]
scalar C6ij_;
//- Collision integral parameter
scalar gammaij_;
//- Combined molecular weight
scalar Wij_;
//- Omega(1,1) Fit Coefficient with fixed gamma_ij
scalarField b11_;
//- Omega(2,2) Fit Coefficient with fixed gamma_ij
scalarField b22_;
//- Construct null
static const scalar a11[(M+1)*(M+2)/2];
static const scalar a22[(M+1)*(M+2)/2];
// static scalar vec[(M+1)*(M+2)/2];
static scalarField vec;
//- Construct null
static constexpr scalar K1 = 1.767;
//- Construct null
static constexpr scalar K2 = 0.720;
//- Construct null
static constexpr scalar kappa = 0.0095;
//- Construct null
static const scalar digamma3;
//- Construct null
static const scalar trigamma3;
// Private Member Functions
//- Disallow default bitwise copy construct
N64(const N64&);
//- Disallow default bitwise assignment
void operator=(const N64&);
// primary template
template