Mass transport in a Stokes flow in a pipe
1. Running the model
The command line to run this pipestokes case
mpirun -np 4 feelpp_toolbox_fluid --case "github:{repo:toolbox,path:examples/modules/heatfluid/examples/pipestockes_mass}"
3. Geometry
3.1. Model & Toolbox
We consider a 2D model representative of a laminar incompressible flow around an obstacle. The flow domain, named ΩfΩf, is contained into the rectangle [0,Long]×[0,Haut][0,Long]×[0,Haut]. It is characterised, in particular, by its dynamic viscosity μfμf and by its density ρfρf.

The goal of this benchmark is to couple the Stockes equations and the Concentration equations.
we remind that the Stokes equation are
with μμ is the dynamic viscosity, pp is the pressure ,ff the source and u the velocity.
And the Concentration equations is
With DpDp the diffusion coefficient on the plasma.
We used the heat fluid toolbox, we replaced the temperature by the Concentration, k by DpDp, and we posed ρCp=1ρCp=1 to have the same kind of equations.
4. Input parameters
The following table displays the various fixed and variables parameters of this test-case.
Name |
Description |
Units |
uu |
fluid velocity |
m/sm/s |
ρρ |
density of the fluid |
kg/m3kg/m3 |
νν |
dynamic viscosity |
kg/(m×s)kg/(m×s) |
pp |
pression |
PaPa |
ff |
source term |
kg/(m3×s)kg/(m3×s) |
CpCp |
thermal capacity |
J/(kg∗K)J/(kg∗K) |
TT |
Temperature |
KK |
heat source |
W.m−3W.m−3 |
|
DpDp |
the diffusion coefficient on the plasma |
μm²/s |
4.1. initial condition
-
For the fluid:
We use a parabolic velocity profile, in order to describe the flow inlet by Γin, which can be express by
To determine D, we know that for y=height2 we have the maximal velocity, so
-
For the Concentration:
We give as source this Concentration
4.3. Boundary conditions
For the fluid:
We set
-
On Γin, an inflow Dirichlet condition : uf=(vin,0)
-
On Γwall and Γobst, a homogeneous Dirichlet condition : uf=0
-
On Γout, a Neumann condition : σfnf=0
For the Concentration:
-
On Γin, an inflow Dirichlet condition : Cf=Cin
"BoundaryConditions": { "velocity": { "Dirichlet": { "inlet": { "expr":"{D*y*(height-y),0}:y:height:D" }, "wall1": { "expr":"{0,0}" }, "wall2": { "expr":"{0,0}" } } }, "fluid": { "outlet": { "outlet": { "expr":"0" } } }, "temperature": { "Dirichlet": { "inlet": { "expr":"300*(y>0.15)*(y<0.5)+(293.15*(y<(0.15-1e-9)))+(293.15*(y>(0.5-1e-9))):y" } } } }