Mathematical modelling of a waste water filtration process based on - - PowerPoint PPT Presentation

mathematical modelling of a waste water filtration
SMART_READER_LITE
LIVE PREVIEW

Mathematical modelling of a waste water filtration process based on - - PowerPoint PPT Presentation

Mathematical modelling of a waste water filtration process based on membrane filters Matt Hennessy, Bolor Jargalsaikhan, Diego Passarella, Juan Jos e Silva Torres, Clara Villar Marco with Iacopo Borsi IV UCM Modelling Week Madrid June


slide-1
SLIDE 1

Mathematical modelling of a waste water filtration process based on membrane filters

Matt Hennessy, Bolor Jargalsaikhan, Diego Passarella, Juan Jos´ e Silva Torres, Clara Villar Marco with Iacopo Borsi IV UCM Modelling Week Madrid – June 14-22, 2010

Group 1 Modelling of Filtration Membranes

slide-2
SLIDE 2

Outline

1

Introduction to the problem

2

Averaging process

3

Scaling of the 1D system

4

Numerical Simulation

5

Conclusions

Group 1 Modelling of Filtration Membranes

slide-3
SLIDE 3

As a reminder, three porosity approach

Subscripts notation: ( · )c is referred to the capillary region. ( · )m is referred to the membrane region. ( · ) is referred to the shell region. Main tasks of our project: Modelling and simulation of filtration process Optimization of the parameters of the filters

Group 1 Modelling of Filtration Membranes

slide-4
SLIDE 4

The complete system

∇ · qc = −αc(cm)km µl (Pc − Pm) ∇ · qm = αc(cm)km µl (Pc − Pm) − αkm l (Pm − P) ∇ · q = αkm µl (Pm − P) εc ∂c ∂t + ∇ · (c qc) = εc∇ · (D∇c) − γ

  • αc(cm)km

µl (Pc − Pm)

  • (εcc)

∂cm ∂t = γ

  • αc(cm)km

µl (Pc − Pm)

  • (εcc)

αc(cm) = Av 1 1 + cm/cref .

Group 1 Modelling of Filtration Membranes

slide-5
SLIDE 5

Boundary conditions

On the inlet boundary:

qc · n = −Jin. qm · n = 0. q · n = 0. c = cin.

On the outlet boundary:

qc · n = 0. qm · n = 0. q · n = Jout. No flux condition for c.

Elsewhere: no flux condition for both the hydrodynamic and the transport problem.

Group 1 Modelling of Filtration Membranes

slide-6
SLIDE 6

Averaging

How could we reduce our 3D problem? We define the mean value: F (z, t) ≡ 1 πR2

R

  • F(x, y, z, t)r drdθ

We use,

  • V

∇ · F dV =

  • s

F · n dS We suppose, αc(cm) · (Pc − Pm) ≈ αc(cm) · (Pc − Pm)

Group 1 Modelling of Filtration Membranes

slide-7
SLIDE 7

Getting the 1D problem

−kc ∂2Pc ∂z2 = −αc(cm)km l (Pc − Pm) −km ∂2Pm ∂z2 = αc(cm)km l (Pc − Pm) − αkm l (Pm − P) −kz ∂2P ∂z2 = αkm l (Pm − P) − µ πR2 Qin Aout χ(z)(2Rout) εc ∂c ∂t + ∂ ∂z (c qc) = εcD ∂c2 ∂z2 − γ

  • αc(cm)km

µl (Pc − Pm)

  • (εcc)

∂cm ∂t = γ

  • αc(cm)km

µl (Pc − Pm)

  • (εsc)

αc(cm) = Av 1 1 + cm/cref ,

Group 1 Modelling of Filtration Membranes

slide-8
SLIDE 8

Getting the 1D problem (cont.)

+ B.C. and I.C. On the inlet boundary (z = 0): qc = −Jin qm = 0 = q c = cin. On the outlet boundary (z = L): No flux condition for all the eq.s

Group 1 Modelling of Filtration Membranes

slide-9
SLIDE 9

The dimensionless form: 1 Tc ∂c ∂t + kcP ∗ εcµL2 ∂(cqc) ∂z = = D L2 ∂2c ∂z2 −

  • γAv

kmP ∗ µl

  • (Pc − Pm)
  • 1

1 + cm/cref

  • c

Define: tadv = εcµL2 kcP ∗ , tdiff = L2 D , tfilt = µl AvkmP ∗ , tattach = 1 γ tfilt. Remark: Tc = Tfilt ∼ O(103) s; tdiff ∼ O(105) s = ⇒ Tc tdiff ≪ 1 Therefore, the diffusion is negligible.

Group 1 Modelling of Filtration Membranes

slide-10
SLIDE 10

Our request: tadv ≪ tfilt = ⇒ εcµL2 kcP ∗ ≪ µl AvkmP ∗ , Φ := εcL2 km kc Av l ≪ 1. Substituting the definition of kc, Av and εc, we have the following condition: Φ = 16kmL2 lr3

i

≪ 1. Notice that: Φ depends only on the filter and the membrane parameters (no dependence upon the process). Φ depends on ri but not on ro; that’s a good point, since the pollutant flows only through the capillary region.

Group 1 Modelling of Filtration Membranes

slide-11
SLIDE 11

Different Approaches:

1

Simplified model using Matlab

2

Comsol Multiphysics software built-in models

Group 1 Modelling of Filtration Membranes

slide-12
SLIDE 12

A simplified approach

Additional scaling leads to the following non-dimensional equations for the pressures ∂2pc ∂z2 = θcαc(cm)(pc − pm), ∂2pm ∂z2 = θm [β(pm − ps) − αc(cm)(pc − pm)] , ∂2ps ∂z2 = θs(ps − pm) + ζχ(z), and for the concentrations ∂c ∂t + τfilt τadv ∂ ∂z (cqc) = τfilt τdiff ∂2c ∂z2 − γαc(cm)(pc − pm)c, ∂cm ∂t = γαc(cm)(pc − pm)c.

Group 1 Modelling of Filtration Membranes

slide-13
SLIDE 13

Leading order equations

Pressure equations become much simpler ∂2pc ∂z2 = θcαc(cm)(pc − pm), 0 = β(pm − ps) − αc(cm)(pc − pm), d2ps dz2 = 0. Concentration equation now hyperbolic ∂c ∂t + τfilt τadv ∂ ∂z (cqc) = −γαc(cm)(pc − pm)c, ∂cm ∂t = γαc(cm)(pc − pm)c, where the capillary flux is given by qc = −∂pc ∂z − ph

Group 1 Modelling of Filtration Membranes

slide-14
SLIDE 14

First implementation

Even the simplified system cannot be solved completely by hand Implement a simple numerical scheme in Matlab Idea is to decompose the problem into two smaller problems; one for the pressure and one for the concentration Outline of algorithm:

1

Assume concentration at time-step i is known (initial condition, for example)

2

Solve an elliptic equation for the capillary pressure at time-step i

3

Use new pressures to advance concentrations in time

4

Repeat

Group 1 Modelling of Filtration Membranes

slide-15
SLIDE 15

Further numerical details

Spatial discretizations using finite differencing First order upwinding used for concentration equation Elliptic equation for capillary pressure linear, solved using \ Time-stepping handled using ode15s

Group 1 Modelling of Filtration Membranes

slide-16
SLIDE 16

Results: attached matter

z t

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05 0.002 0.004 0.006 0.008 0.01 0.012 Group 1 Modelling of Filtration Membranes

slide-17
SLIDE 17

Results: trans-membrane pressure

0.05 0.1 0.15 0.2 0.25 5 10 15 20 25 30 35 40

t [min] Trans-membrane pressure [kPa] Experimental Numerical

Group 1 Modelling of Filtration Membranes

slide-18
SLIDE 18

Comsol Approach (I)

Earth Science Module was used Application Modes:

Darcy’s law for pressures (3 pde’s) Solute Transport for transport of pollutant (2 pde’s)

Transient analysis for the whole system (t ∈ [0, 1]) Process made of several cycles Each cycle has two stages, filtration (F) and backwash (BW) Matlab scripting to reproduce filtration-backwash cycles Physical parameters calibrated for one F-BW cycle

Group 1 Modelling of Filtration Membranes

slide-19
SLIDE 19

Comsol Approach (II)

Darcy’s law application mode for pc, pm and p: δSS ∂p ∂t + ∇ ·

  • −δκ

κ η ∇ (p + ρfgD)

  • = δQQS

S : Storage coefficient (S = 10−4 ⇒ pseudo-stationary problem) p : Pressure in the porous media κ : Permeability η : Dynamic viscosity ρf : Fluid density D : Vertical elevation QS : Flow source/sink δS,κ,Q : Scaling coefficients (δS = 1/τfilt or 1/τback for filtration/backwash)

Group 1 Modelling of Filtration Membranes

slide-20
SLIDE 20

Comsol Approach (III)

Solute Transport application mode for c and cm: δts1θs ∂c ∂t + ∇ · (−θsDL∇c) = −u · ∇c + Sc δts1 : Time scaling coefficient ( = 1/τfilt or 1/τback for filtration/backwash) θs : Porosity c : Solute concentration DL : Diffusion coefficient (10−5 for numerical stability) u : Darcy’s velocity (u = 0 for cm) Sc : Solute source/sink

  • .d.e. for cm is solved as a diffusion equation with very low diffusivity

Group 1 Modelling of Filtration Membranes

slide-21
SLIDE 21

Comsol Approach (IV)

Matlab scripting for process simulation: One main file defines all parameters, cycles and function calling Two functions are called to solve F and BW stages Each function solves the 5 pde’s according to I.C. and B.C. of each stage of the cycles cf=i

(x,t=T f) = cbw=i (x,t=0), cbw=i (x,t=T bw) = cf=i+1 (x,t=0), ...

Concentrations are averaged along the filter after each stage (assumed constant, see Φ parameter)

Group 1 Modelling of Filtration Membranes

slide-22
SLIDE 22

Comsol Approach (V)

Matlab scripting for process simulation (cont.): Filter parameters (κm, γ) calibrated to fit experimental data (TMP ≃ (Pin + Pout)/2) Once parameters are calibrated, the process is optimized depending

  • n τfilt, τback and number of cycles

Goal: maximize the ratio purified/used water of the process for given operation conditions

Group 1 Modelling of Filtration Membranes

slide-23
SLIDE 23

Comsol Approach (VI)

Parameter fitting depending on κm, γ and operation condition:

0.05 0.1 0.15 0.2 0.25 −100 −80 −60 −40 −20 20 40 Time (min) TMP (KPa) Simulation Data

Group 1 Modelling of Filtration Membranes

slide-24
SLIDE 24

Final Remarks

Averaging leads to a set of simplified equations Not simple enough to solve by hand Two different numerical approaches were implemented

1

Using MATLAB: Simplest case, but unable to match experimental data

2

Using COMSOL: Filtration data could be reproduced. Not enough data to compare backwash stage

Future work: Explore higher order behaviour in the simple model Model pore adsorption in the membrane, reduction in permeability Spatially dependent filter properties (permeability, etc.) Simulate filtration/backwash process over several cycles

Group 1 Modelling of Filtration Membranes

slide-25
SLIDE 25

Thank you for your attention

Group 1 Modelling of Filtration Membranes