![]() |
ChemicalFemPhysics
The GeMA Standard Chemical FEM Physics Plugin
|
The Chemical Pipe consists in the discretization of one-dimensional (1D) rective advection-diffusion equation:
\begin{eqnarray*}k\phi\frac{dc}{dt} + v\frac{dc}{d\ell} - \phi D\frac{d^2c}{d\ell^2} - R = 0 \end{eqnarray*}
where :
The finite element discretization of the transport equation is made by using Galerkin-FEM method. With the application of the integration by parts followed by the Green's theorem in the dispersive and the advective terms is obtained the weak form of the transport equation:
\begin{eqnarray*} \int_{\Omega }{{{\frac{\partial \mathbf{N}}{\partial \ell }}^{\text{T}}}\left( \phi D\frac{\partial \mathbf{N}}{\partial \ell } -v\mathbf{N} \right)d\Omega {{\mathbf{c}}_{i}}}+k\phi\int_{\Omega }{{{\mathbf{N}}^{\text{T}}}\mathbf{N}d\Omega }\frac{\partial {{\mathbf{c}}_{i}}}{\partial t} +\int_{\Gamma }{\left( v{{\frac{\partial \mathbf{N}}{\partial \ell }}^{\text{T}}}\mathbf{N} -\phi D{{\mathbf{N}}^{\text{T}}}\frac{\partial \mathbf{N}}{\partial \ell } \right){{\mathbf{\eta }}_{\ell }}d\Gamma {{\mathbf{c}}_{i}}} -\int_{\Omega }{{{\mathbf{N}}^{\text{T}}}Rd\Omega }=\mathbf{0} \end{eqnarray*}
where:
The chemical pipe requires the following properties:
Property | Description | Type | Def. Unit | required |
---|---|---|---|---|
Dp | Pipe diameter | Scalar | m | Yes |
D | Diffusion | Scalar | m2/s | Yes |
phi | Porosity | Scalar | – | Yes |
v | Velocity | Vector | m/s | Yes |
k | Retardation | Scalar | – | Yes |
R | Reaction rate | Scalar | mol/(m3.s) | Yes |
Example:
In terms to use the pipe in the chemical physics, the typename in the configurations of PhysicalMethod have to be set as 'ChemicalFemPhysics.pipeFixedReaction'.
Example:
During the reactive transport analysis using the pipe elements, the following internal Gauss attributes are stored:
Attribute | Description | Type | Required | Def. Unit | History |
---|---|---|---|---|---|
Dp | Pipe diameter | scalar | Yes | m | Yes |
The Chemical Fem physics uses internally the international system of units for its calculations, as can be seen above by the default units for properties and attributes. The whole unit system can be replaced through the unitSystem physics attribute, as described at the gemaFemProcessCommonFemPhysicsOptions page.
When making the substitution, the units on the following table should be replaced by the desired units, forming a coherent unit system. The unit system of the material should be also replaced.