0% found this document useful (0 votes)
35 views18 pages

Models MFL Electrocoalescence

Uploaded by

Vu Kim Yen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views18 pages

Models MFL Electrocoalescence

Uploaded by

Vu Kim Yen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

Created in COMSOL Multiphysics 6.

Separation Through Electrocoalescence

This model is licensed under the COMSOL Software License Agreement 6.2.
All trademarks are the property of their respective owners. See www.comsol.com/trademarks.
Introduction
A mixture of immiscible liquids is known as an emulsion. Many chemical processes result
in emulsions consisting of the desired product and a solvent. Droplets of most emulsions
will coalesce given enough time, but it is often desirable to speed up the separation process.

If the liquids have different electric permittivities, an electric field can be applied across the
emulsion to stimulate coalescence. This method, known as electrocoalescence, has
important applications, for instance, in the separation of oil from water.

To model electrocoalescence, you need to solve the Navier–Stokes equations, describing


the fluid motion, and track the interfaces between the immiscible fluids. In order to
include the electric forces acting on the fluids, you also have to solve for the local electric
field. This complex multiphysics process can readily be set up and solved with COMSOL
Multiphysics.

Model Definition

GEOMETRY
Two droplets of water with radii of 1.6 and 1.2 mm, respectively, are transported in an oil
phase flowing between two parallel plates. The average velocity of the multiphase flow is
5 cm/s. An electric potential of 5 kV is applied over the plates.
Direction of flow

Electric potential

Water

Oil

Ground

Figure 1: Two water droplets are transported in an oil phase flowing between two plates.

THE TWO-PHASE FLOW, PHASE FIELD INTERFACE


The Laminar Two-Phase Flow, Phase Field interface sets up the equations for the fluid
motion according to the Navier–Stokes equations:

2 | SEPARATION THROUGH ELECTROCOALESCENCE


u T
 +   u   u =    – p I +   u +  u    + F st + g + F
t
u = 0

where u denotes velocity (SI unit: m/s),  the density (SI unit: kg/m3),  dynamic
viscosity (SI unit: Pas), p pressure (SI unit: Pa), g gravity (SI unit: m/s2). Fst is the surface
tension force (SI unit: N/m3), and F is any additional volume force (SI unit: N/m3).

To track the fluid interface, the Laminar Two-Phase Flow, Phase Field interface uses a
phase field method:

 + u   =   3
------------- 
t 2 2

2 2
 = –     +   – 1 

The phase field variable  is 1 in water and 1 in oil. The density and viscosity, which is
different for oil and water, is automatically calculated from the phase field variable  , as
well as the surface tension force.  is the surface tension coefficient (SI unit: N/m),  is a
numerical parameter (m) that determines the thickness of the fluid interface, that is, the
region where the phase field variable varies smoothly from 1 to 1. controls the mobility
of the interface.

THE ELECTROSTATICS INTERFACE


The Electrostatics interface sets up the following equations for the electric potential V:

–     0  r V  = 0

Here, 0 is the permittivity of vacuum, and r is the relative permittivity.

THE COUPLING OF THE TWO PHYSICS


The software automatically sets up the equations described in the two previous sections.
You only have to specify how they are coupled. For the Two Phase Flow interface, you
need to specify the electric force. The electric force is given by the divergence of the
Maxwell stress tensor:

F = T (1)

The Maxwell stress tensor is given by:

T 1
T = ED – ---  E  D I
2

3 | SEPARATION THROUGH ELECTROCOALESCENCE


where E is the electric field and D is the electric displacement field:

E = – V

D = 0 r E

The present example is in 2D, so the stress tensor is:

T xx T xy
T = =
T yx T yy

2 1 2 2
 0  r E x – ---  0  r  E x + E y  0 r Ex Ey
2
2 1 2 2
 0 r Ey Ex  0  r E y – ---  0  r  E x + E y 
2

The components of the electric field are calculated by the Electrostatics interface. Their
predefined variable names, along with the variable names of the permeabilities can be used
directly to set up expressions calculating the component of the stress tensor.

Figure 2: Use the Variables feature to define expressions. Predefined variables and operators
can be typed in directly.

The components of the volume force are given by Equation 1. Once again, these can also
be entered directly as expressions in the graphical user interface. Table 1 shows the syntax
for the partial derivatives of the stress tensor that express the volume force in the x and
y directions.
TABLE 1: USER DEFINED VARIABLES.

NAME EXPRESSION

Tem11 -epsilon0_const*es.epsilonr_iso/2*(es.Ex^2+es.Ey^2)+
epsilon0_const*es.epsilonr_iso*es.Ex^2
Tem22 -epsilon0_const*es.epsilonr_iso/2*(es.Ex^2+es.Ey^2)+
epsilon0_const*es.epsilonr_iso*es.Ey^2

4 | SEPARATION THROUGH ELECTROCOALESCENCE


TABLE 1: USER DEFINED VARIABLES.

NAME EXPRESSION

Tem12 epsilon0_const*es.epsilonr_iso*es.Ex*es.Ey
Tem21 epsilon0_const*es.epsilonr_iso*es.Ex*es.Ey
Fx d(Tem11,x)+d(Tem12,y)
Fy d(Tem21,x)+d(Tem22,y)
Finally, you also need to specify the relative permittivity, which is constant, but different,
for each fluid. Define it from the internally defined volume fractions of each fluid, Vf1 and
Vf2:

 r =  r1 Vf1 +  r2 Vf2

Here, r1 and r2 denote the relative permittivity of oil and water, respectively. Instead of
using a user-defined variable, this model uses the Multiphase Material to define the
effective material properties. This way, the variable es.epsilonr_iso in the electrostatics
interface is already the correct averaged material property.

Results and Discussion


Figure 3 shows snapshots of the velocity and water droplets at 0.05 s intervals. Contour
lines of the electric potential show a dynamic behavior, clearly illustrating the bidirectional
coupling in this multiphysics problem. The influence of the electric field causes the water
droplets to stretch to the point where they come into contact. At this point, surface tension
causes the droplets to coalesce. The surface tension forces counteract the electric forces
stretching the newly formed droplet.

5 | SEPARATION THROUGH ELECTROCOALESCENCE


Figure 3: Water droplets, velocity, and the contour lines of the electric potential at 0, 0.05, 0.1,
0.015, 0.2, 0.25, 0.3 seconds.

6 | SEPARATION THROUGH ELECTROCOALESCENCE


Application Library path: Microfluidics_Module/Two-Phase_Flow/
electrocoalescence

Modeling Instructions
From the File menu, choose New.

NEW
In the New window, click Model Wizard.

MODEL WIZARD
1 In the Model Wizard window, click 2D.
2 In the Select Physics tree, select AC/DC>Electric Fields and Currents>Electrostatics (es).
3 Click Add.
4 In the Select Physics tree, select Fluid Flow>Multiphase Flow>Two-Phase Flow,
Phase Field>Laminar Flow.
5 Click Add.
6 Click Study.
7 In the Select Study tree, select Preset Studies for Selected Multiphysics>
Time Dependent with Phase Initialization.
8 Click Done.

GEOMETRY 1
1 In the Model Builder window, under Component 1 (comp1) click Geometry 1.
2 In the Settings window for Geometry, locate the Units section.
3 From the Length unit list, choose mm.

Rectangle 1 (r1)
1 In the Geometry toolbar, click Rectangle.
2 In the Settings window for Rectangle, locate the Size and Shape section.
3 In the Width text field, type 30.
4 In the Height text field, type 10.

7 | SEPARATION THROUGH ELECTROCOALESCENCE


Circle 1 (c1)
1 In the Geometry toolbar, click Circle.
2 In the Settings window for Circle, locate the Size and Shape section.
3 In the Radius text field, type 1.6.
4 Locate the Position section. In the x text field, type 4.
5 In the y text field, type 6.

Circle 2 (c2)
1 In the Geometry toolbar, click Circle.
2 In the Settings window for Circle, locate the Size and Shape section.
3 In the Radius text field, type 1.2.
4 Locate the Position section. In the x text field, type 7.
5 In the y text field, type 3.5.

GLOBAL DEFINITIONS

Parameters 1
1 In the Model Builder window, under Global Definitions click Parameters 1.
2 In the Settings window for Parameters, locate the Parameters section.
3 In the table, enter the following settings:

Name Expression Value Description


perm_water 80 80 Permittivity, water
perm_oil 2.2 2.2 Permittivity, oil
u_in 50[mm/s] 0.05 m/s Average inlet velocity
u_max 3/2*u_in 0.075 m/s Approximated maximum
velocity
sigma 0.031[N/m] 0.031 N/m Surface tension
coefficient
V0 5[kV] 5000 V Applied voltage

DEFINITIONS

Variables 1
1 In the Home toolbar, click Variables and choose Local Variables.
2 In the Settings window for Variables, locate the Variables section.

8 | SEPARATION THROUGH ELECTROCOALESCENCE


3 In the table, enter the following settings:

Name Expression Unit Description


Tem11 -epsilon0_const* Pa Maxwell stress tensor,
es.epsilonr_iso/2* 11-component
(es.Ex^2+es.Ey^2)+
epsilon0_const*
es.epsilonr_iso*es.Ex^2
Tem22 -epsilon0_const* Pa Maxwell stress tensor,
es.epsilonr_iso/2* 22-component
(es.Ex^2+es.Ey^2)+
epsilon0_const*
es.epsilonr_iso*es.Ey^2
Tem12 epsilon0_const* Pa Maxwell stress tensor,
es.epsilonr_iso*es.Ex* 12-component
es.Ey
Tem21 epsilon0_const* Pa Maxwell stress tensor,
es.epsilonr_iso*es.Ex* 21-component
es.Ey
Fx d(Tem11,x)+d(Tem12,y) N/m³ Force, x-component
Fy d(Tem21,x)+d(Tem22,y) N/m³ Force, y-component

Create a step function which will be used to ramp up the inlet velocity from zero to its full
value over the initial 0.01 s.

Step 1 (step1)
1 In the Home toolbar, click Functions and choose Local>Step.
2 In the Settings window for Step, locate the Parameters section.
3 In the Location text field, type 0.005.
4 Click to expand the Smoothing section. In the Size of transition zone text field, type
0.01.

5 Click Plot.

Now, create selections to be used when setting up the boundary conditions.

Outlet
1 In the Definitions toolbar, click Explicit.
2 In the Settings window for Explicit, type Outlet in the Label text field.
3 Locate the Input Entities section. From the Geometric entity level list, choose Boundary.
4 Select Boundary 4 only.

9 | SEPARATION THROUGH ELECTROCOALESCENCE


Inlet
1 In the Definitions toolbar, click Explicit.
2 In the Settings window for Explicit, type Inlet in the Label text field.
3 Locate the Input Entities section. From the Geometric entity level list, choose Boundary.
4 Select Boundary 1 only.

Oil/Water Interface
1 In the Definitions toolbar, click Explicit.
2 In the Settings window for Explicit, type Oil/Water Interface in the Label text field.
3 Locate the Input Entities section. From the Geometric entity level list, choose Boundary.
4 Select Boundaries 5–12 only.

ELECTROSTATICS (ES)

Initial Values 1
1 In the Model Builder window, under Component 1 (comp1)>Electrostatics (es) click
Initial Values 1.
2 In the Settings window for Initial Values, locate the Initial Values section.
3 In the V text field, type y*V0/10[mm].

Electric Potential 1
1 In the Physics toolbar, click Boundaries and choose Electric Potential.
2 Select Boundary 3 only (top boundary).
3 In the Settings window for Electric Potential, locate the Electric Potential section.
4 In the V0 text field, type V0.

Ground 1
1 In the Physics toolbar, click Boundaries and choose Ground.
2 Select Boundary 2 only (bottom boundary).

MULTIPHYSICS

Two-Phase Flow, Phase Field 1 (tpf1)


1 In the Model Builder window, under Component 1 (comp1)>Multiphysics click Two-
Phase Flow, Phase Field 1 (tpf1).
2 In the Settings window for Two-Phase Flow, Phase Field, locate the Surface Tension
section.

10 | SEPARATION THROUGH ELECTROCOALESCENCE


3 From the Surface tension coefficient list, choose User defined. In the  text field, type
sigma.

4 Locate the Material Properties section. Click Add Multiphase Material.

MATERIALS

Phase 1 (mpmat1.phase1)
1 In the Model Builder window, under Component 1 (comp1)>Materials>
Multiphase Material 1 (mpmat1) click Phase 1 (mpmat1.phase1).
2 In the Settings window for Phase, locate the Link Settings section.
3 Click Add Material from Library . This button is found when expanding the options
next to the Material list.

ADD MATERIAL TO PHASE 1 (MPMAT1.PHASE1)


1 Go to the Add Material to Phase 1 (mpmat1.phase1) window.
2 In the tree, select Liquids and Gases>Liquids>Water.
3 Click OK.

GLOBAL DEFINITIONS

Water (mat1)
1 In the Model Builder window, under Global Definitions>Materials click Water (mat1).
2 In the Settings window for Material, locate the Material Contents section.
3 In the table, enter the following settings:

Property Variable Value Unit Property


group
Relative permittivity epsilonr_iso ; perm_wa 1 Basic
epsilonrii = ter
epsilonr_iso,
epsilonrij = 0

MATERIALS

Phase 2 (mpmat1.phase2)
1 In the Model Builder window, under Component 1 (comp1)>Materials>
Multiphase Material 1 (mpmat1) click Phase 2 (mpmat1.phase2).
2 In the Settings window for Phase, locate the Link Settings section.

11 | SEPARATION THROUGH ELECTROCOALESCENCE


3 Click Blank Material . This button is found when expanding the options next to the
Material list.

GLOBAL DEFINITIONS

Oil
1 In the Model Builder window, under Global Definitions>Materials click Material 2 (mat2).
2 In the Settings window for Material, type Oil in the Label text field.
3 Locate the Material Contents section. In the table, enter the following settings:

Property Variable Value Unit Property


group
Relative permittivity epsilonr_iso ; perm_oil 1 Basic
epsilonrii =
epsilonr_iso,
epsilonrij = 0
Density rho 884[kg/ kg/m³ Basic
m^3]
Dynamic viscosity mu 0.474[Pa Pa·s Basic
*s]

PHASE FIELD IN FLUIDS (PF)

Phase Field Model 1


1 In the Model Builder window, under Component 1 (comp1)>Phase Field in Fluids (pf) click
Phase Field Model 1.
2 In the Settings window for Phase Field Model, locate the Phase Field Parameters section.
3 In the pf text field, type 0.15[mm].
4 From the Mobility tuning parameter list, choose Calculate from velocity.
5 In the U text field, type u_max.

Initial Values, Fluid 2


1 In the Model Builder window, click Initial Values, Fluid 2.
2 Select Domain 1 only.

LAMINAR FLOW (SPF)


In the Model Builder window, under Component 1 (comp1) click Laminar Flow (spf).

Volume Force 1
1 In the Physics toolbar, click Domains and choose Volume Force.

12 | SEPARATION THROUGH ELECTROCOALESCENCE


2 In the Settings window for Volume Force, locate the Domain Selection section.
3 From the Selection list, choose All domains.
4 Locate the Volume Force section. Specify the F vector as

Fx x
Fy y

Inlet 1
1 In the Physics toolbar, click Boundaries and choose Inlet.
2 In the Settings window for Inlet, locate the Boundary Selection section.
3 From the Selection list, choose Inlet.
4 Locate the Boundary Condition section. From the list, choose Fully developed flow.
5 Locate the Fully Developed Flow section. In the Uav text field, type u_in*step1(t*1[1/
s]).

PHASE FIELD IN FLUIDS (PF)


1 In the Model Builder window, under Component 1 (comp1) click Phase Field in Fluids (pf).
2 In the Physics toolbar, click Boundaries and choose Inlet.

1 In the Settings window for Inlet, locate the Boundary Selection section.
2 From the Selection list, choose Inlet.
3 Locate the Phase Field Condition section. From the list, choose Fluid 2 ( = 1).

LAMINAR FLOW (SPF)


In the Model Builder window, under Component 1 (comp1) click Laminar Flow (spf).

Outlet 1
1 In the Physics toolbar, click Boundaries and choose Outlet.
2 In the Settings window for Outlet, locate the Boundary Selection section.
3 From the Selection list, choose Outlet.
4 Locate the Boundary Condition section. From the list, choose Fully developed flow.

PHASE FIELD IN FLUIDS (PF)


1 In the Model Builder window, under Component 1 (comp1) click Phase Field in Fluids (pf).
2 In the Physics toolbar, click Boundaries and choose Outlet.

1 In the Settings window for Outlet, locate the Boundary Selection section.

13 | SEPARATION THROUGH ELECTROCOALESCENCE


2 From the Selection list, choose Outlet.

MESH 1
1 In the Model Builder window, under Component 1 (comp1) click Mesh 1.
2 In the Settings window for Mesh, locate the Physics-Controlled Mesh section.
3 From the Element size list, choose Fine.
4 Click Build All.

STUDY 1

Step 2: Time Dependent


1 In the Model Builder window, under Study 1 click Step 2: Time Dependent.
2 In the Settings window for Time Dependent, locate the Study Settings section.
3 In the Output times text field, type range(0,0.05,0.3).

In time-dependent simulations, you should, if possible, scale your variables manually. Do


this as follows:

Solution 1 (sol1)
1 In the Study toolbar, click Show Default Solver.
2 In the Model Builder window, expand the Solution 1 (sol1) node, then click
Dependent Variables 2.
3 In the Settings window for Dependent Variables, locate the Scaling section.
4 From the Method list, choose Manual.
5 In the Model Builder window, expand the Study 1>Solver Configurations>
Solution 1 (sol1)>Dependent Variables 2 node, then click Electric potential (comp1.V).
6 In the Settings window for Field, locate the Scaling section.
7 From the Method list, choose Manual.
8 In the Scale text field, type 1e3.
9 In the Model Builder window, under Study 1>Solver Configurations>Solution 1 (sol1)>
Dependent Variables 2 click Velocity field (comp1.u).
10 In the Settings window for Field, locate the Scaling section.
11 From the Method list, choose Manual.
12 In the Scale text field, type u_max.
Next, couple the Electrostatics and Velocity u, Pressure p segregated groups.

14 | SEPARATION THROUGH ELECTROCOALESCENCE


13 In the Model Builder window, expand the Study 1>Solver Configurations>
Solution 1 (sol1)>Time-Dependent Solver 1>Segregated 1 node, then click Velocity u,
Pressure p.
14 In the Settings window for Segregated Step, locate the General section.
15 Under Variables, click Add.
16 In the Add dialog box, select Electric potential (comp1.V) in the Variables list.
17 Click OK.
18 In the Model Builder window, under Study 1>Solver Configurations>Solution 1 (sol1)>
Time-Dependent Solver 1>Segregated 1 right-click Electrostatics and choose Disable.
You are now ready to compute the solution:
19 In the Study toolbar, click Compute.

RESULTS

Velocity (spf)
1 In the Model Builder window, under Results click Velocity (spf).
2 In the Settings window for 2D Plot Group, locate the Plot Settings section.
3 Clear the Plot dataset edges check box.

Velocity
1 In the Model Builder window, expand the Velocity (spf) node, then click Surface.
2 In the Settings window for Surface, type Velocity in the Label text field.
3 Click to expand the Range section. Select the Manual color range check box.
4 In the Maximum text field, type u_max.
5 Locate the Coloring and Style section. Click Change Color Table.
6 In the Color Table dialog box, select Aurora>JupiterAuroraBorealis in the tree.
7 Click OK.
8 In the Settings window for Surface, locate the Coloring and Style section.
9 From the Color table transformation list, choose Reverse.

Volume Fraction of Fluid


1 In the Model Builder window, right-click Velocity (spf) and choose Surface.
2 In the Settings window for Surface, type Volume Fraction of Fluid in the Label text
field.
3 Locate the Expression section. In the Expression text field, type tpf1.Vf1.

15 | SEPARATION THROUGH ELECTROCOALESCENCE


4 Locate the Range section. Select the Manual data range check box.
5 In the Minimum text field, type 0.5.
6 In the Maximum text field, type 1.
7 Locate the Coloring and Style section. Click Change Color Table.
8 In the Color Table dialog box, select Linear>Cividis in the tree.
9 Click OK.
10 In the Settings window for Surface, locate the Coloring and Style section.
11 Clear the Color legend check box.

Electric potential
1 Right-click Velocity (spf) and choose Contour.
2 In the Settings window for Contour, type Electric potential in the Label text field.
3 Locate the Coloring and Style section. From the Contour type list, choose Tube.
4 In the Tube radius expression text field, type 0.06.
5 Select the Radius scale factor check box.
6 Clear the Color legend check box.
7 In the Velocity (spf) toolbar, click Plot.

Velocity (spf)
1 In the Model Builder window, click Velocity (spf).
2 In the Settings window for 2D Plot Group, locate the Data section.
3 From the Time (s) list, choose 0.
4 In the Velocity (spf) toolbar, click Plot.
5 Click the Zoom Extents button in the Graphics toolbar.

Similarly, plot the solution for the times 0.05, 0.1, 0.15, 0.2, 0.25, and 0.3 s to reproduce
the remaining plots in Figure 3.

16 | SEPARATION THROUGH ELECTROCOALESCENCE


17 | SEPARATION THROUGH ELECTROCOALESCENCE
18 | SEPARATION THROUGH ELECTROCOALESCENCE

You might also like