|
| FDStefanMaxwell () |
|
| FDStefanMaxwell (Data c1, Data c2, const acl::VectorOfElements &dC, const VectorTemplate *vT) |
|
void | setDiffusionCoefficient (acl::VectorOfElements d, unsigned int i=0, unsigned int j=1) |
|
const Param & | getDiffusionCoefficient (unsigned int i=0, unsigned int j=1) const |
|
const Param & | getDustDiffusionCoefficient (unsigned int i=0) const |
|
void | setDustDiffusionCoefficient (unsigned int i, const Param &dd) |
|
void | setVectorTemplate (VectorTemplate *vT) |
|
const VectorTemplate * | getVectorTemplate () const |
|
void | setElectricField (Field phi) |
|
Field | getElectricField () const |
|
const Param & | getCharge (unsigned int i) const |
|
void | setCharge (unsigned int i, const Param &q) |
|
void | setVelocity (Field v) |
|
Field | getVelocity () |
|
std::vector< Data > & | getData () |
|
void | addComponent (Data c, const Param &dC) |
|
void | addComponent (Data c, const Param &dC, const Param &q) |
|
virtual void | execute () |
| Executes the numerical procedure. More...
|
|
virtual void | init () |
| Builds the necesery internal data and kernels. More...
|
|
virtual | ~SingleKernelNM () |
|
virtual | ~NumMethod () |
|
Numerical method which computes multicomponent transport processes.
\[ \partial_t c_i= - \vec \nabla \cdot \vec J - \vec \nabla \cdot (\vec v c_i) \]
\[ -\nabla c_i = \sum_{j, i\neq j} \frac{c_j\vec J_i-c_i\vec J_j}{c_tD_{ij}} + \frac{\vec J_i}{D_{i,D}}\]
where \(c_i\) is a molar concentration, \( v \) is the flow velocity, \(J_i\) is the molar flux, \(D_{i,D}\) is the component-dust diffusion coefficient, \(D_{ij}\) is the pair diffusion coefficient.
The second equation can be rewritten in the matrix form:
\[ -\vec \nabla c_i = \sum_k A_{ik} \vec J_k,\;\;\; A_{ik} \equiv \delta_{ik} \left(\frac{1}{D_{i,D}} + \Lambda_i + \frac{c_i}{c_tD_{ik}} \right) - \frac{c_i}{c_tD_{ik}},\;\;\; \Lambda_i \equiv \sum_{j, j\neq i} \frac{c_j}{c_tD_{ij}}\]
class parameters are related to the quation ones as follows
- Parameters
-
cData | corresponds to \(c_i\) |
diffusionCoefficients | corresponds to \(D_{ij}\) |
velocity | corresponds to \(\vec v\) |
Definition at line 68 of file aslFDStefanMaxwell.h.