32 #ifndef ANTIOCH_TRANSPORT_SPECIES_H
33 #define ANTIOCH_TRANSPORT_SPECIES_H
57 template<
typename CoeffType=
double>
68 const CoeffType rot_relax,
69 const CoeffType mass);
114 void print(std::ostream &os = std::cout)
const;
156 template<
typename CoeffType>
161 template<
typename CoeffType>
164 {
return _LJ.depth(); }
166 template<
typename CoeffType>
169 {
return _LJ.diameter(); }
171 template<
typename CoeffType>
178 template<
typename CoeffType>
181 {
return _dipole_moment; }
183 template<
typename CoeffType>
186 {
return _polarizability; }
188 template<
typename CoeffType>
191 {
return _rotational_relaxation; }
193 template<
typename CoeffType>
198 template<
typename CoeffType>
202 return (_dipole_moment > std::numeric_limits<CoeffType>::epsilon());
205 template<
typename CoeffType>
208 const CoeffType LJ_depth,
209 const CoeffType LJ_diameter,
210 const CoeffType dipole_moment,
211 const CoeffType polarizability,
212 const CoeffType rotational_relaxation,
213 const CoeffType mass)
215 _LJ (LJ_depth,LJ_diameter),
216 _dipole_moment (dipole_moment),
217 _polarizability (polarizability),
218 _rotational_relaxation (rotational_relaxation),
225 template<
typename CoeffType>
231 _rotational_relaxation(0.)
238 template<
typename CoeffType>
246 template<
typename CoeffType>
250 os <<
" -----------------------------\n"
251 <<
"| Species enum " << this->species() <<
'\n'
252 <<
"| Transport data " <<
'\n'
253 <<
" -----------------------------\n"
255 <<
" LJ depth = " << this->LJ_depth() <<
'\n'
256 <<
" LJ diameter = " << this->LJ_diameter() <<
'\n'
257 <<
" polarizability = " << this->polarizability() <<
'\n'
258 <<
" rot relax = " << this->rotational_relaxation() <<
'\n';
268 #endif // ANTIOCH_CHEMICAL_SPECIES_H
CoeffType LJ_depth() const
returns the Lennard-Jones depth in (K), this is .
CoeffType polarizability() const
Returns polarizability in units of [Angström^3].
CoeffType dipole_moment() const
returns dipole moment in units of [D]
TransportSpecies()
Default constructor.
bool polar() const
boolean testing polarity
CoeffType _mass
molar mass in kg/mol
Class to encapsulate data relevant for transport for each chemical species.
CoeffType M() const
Returns molecular mass in kg.
CoeffType _polarizability
Polarizability in units of [Angström^3].
const Species _name
chemical species
CoeffType LJ_diameter() const
returns the Lennard-Jones diameter in (Angström).
void print(std::ostream &os=std::cout) const
Formatted print.
CoeffType _rotational_relaxation
Rotational relaxation.
LennardJonesPotential< CoeffType > _LJ
Lennard-Jones potential.
CoeffType rotational_relaxation() const
Returns rotational relaxation collision number at 298 K, no unit.
LennardJonesPotential< CoeffType > & LJ() const
return Lennard-Jones potential
The parameters are reduced parameters.
Species species() const
returns a descriptive name for this species.
~TransportSpecies()
Destructor.
friend std::ostream & operator<<(std::ostream &os, const TransportSpecies< CoeffType > &species)
Formatted print.
CoeffType _dipole_moment
Dipole moment in units of [D].