Commit 49faec23 authored by Andrew Heather's avatar Andrew Heather
Browse files

added binary diffusion calc - uses molecular weight of binary pair

parent ab9317a5
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::Ar::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::Ar::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C10H22::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C10H22::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C12H26::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C12H26::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C13H28::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C13H28::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C14H30::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C14H30::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C16H34::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C16H34::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C2H5OH::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C2H5OH::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C2H6::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C2H6::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C2H6O::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C2H6O::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -101,4 +101,10 @@ inline Foam::scalar Foam::C3H6O::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C3H6O::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C3H8::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C3H8::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C4H10O::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C4H10O::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C6H14::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C6H14::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C6H6::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C6H6::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C7H16::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C7H16::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C7H8::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C7H8::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -152,6 +152,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C8H10::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C8H10::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C8H18::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C8H18::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::C9H20::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::C9H20::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::CH3OH::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::CH3OH::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,5 +102,11 @@ inline Foam::scalar Foam::CH4N2O::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::CH4N2O::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -152,6 +152,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::H2O::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::H2O::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::IC8H18::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::IC8H18::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -175,6 +175,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::IDEA::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::IDEA::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::MB::D(scalar p, scalar T) const
}
inline Foam::scalar Foam::MB::D(scalar p, scalar T, scalar Wb) const
{
return D_.f(p, T, Wb);
}
// ************************************************************************* //
......@@ -153,6 +153,9 @@ public:
//- Vapour diffussivity [m2/s]
inline scalar D(scalar p, scalar T) const;
//- Vapour diffussivity [m2/s] with specified binary pair
inline scalar D(scalar p, scalar T, scalar Wb) const;
// I-O
......
......@@ -102,4 +102,10 @@ inline Foam::scalar Foam::N2::D(scalar p, scalar T) const
}