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);
}
// ************************************************************************* //
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment