Instruction Manual Lab 1 Momentum Transport: Comsol Tutorial 1: Momentum Transfer

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 12

Instruction Manual Lab 1

Momentum Transport
CDB 3033 TRANSPORT PHENOMENA

COMPUTATIONAL FLUID DYNAMICS (CFD) LABORATORY

COMSOL TUTORIAL 1: MOMENTUM TRANSFER


Consider two immiscible and viscous liquids A and B flowing at 27°C in the z-direction in a horizontal thin
slit of length 0.5 m and width 0.1 m under the influence of a pressure gradient. Both liquids can be
considered as incompressible. The inlet velocities are 25 cm/s and 45 cm/s for A and B, respectively.
Determine the corresponding velocity profile for each fluid.

To simplify the analysis it is convenient to define two subdomains or regions. The first subdomain
comprises the liquid A phase and the second one the liquid B phase. NavierStokes equation seems to be
suitable to perform the simulation and therefore this equation needs to be defined as an application
mode within each subdomain. Boundary conditions are supposed to be the same on the interface. The
geometry of the system may be defined as follows.

>>Open the COMSOL software (classkit)


MODEL WIZARD

1. In the Space Dimension, we choose the 2D coordinate system given the geometry system. Click
the next button

2. In the Add Physics, we choose Fluid Flow> Single-Phase Flow> Laminar Flow (spf). Click the plus
button. Then, click next button

3. In the SelectStudy Type, we click onstationary study, then click the finish button
GEOMETRY
1)In Model Builder, right click on geometry tab and choose the rectangle.

2) Let us draw two rectangles draw one by one, specify the dimension of the geometry, then click on
build selected.

Therefore, the geometry of the model is defined by the following figure.


MATERIAL
1. In Model Builder, right click and choose material

2. In Settings> Material>Geometry Scope>Selection, we click onDomain 2(domain on the top) and


click minus button to deactive the domain

3. Scroll down the setting tab to the material content, we specify the density and dynamic
viscosity of Material 1 as below
4. Repeat step 1 to create another material
5. Click onDomain 2(domain on the top) and click plus button to select the domain.

6. Specify the density and dynamic viscosity of Material 2 as below

PHYSICS
1. Under Model Builder> Untitle.mph> Model> Laminar Flowtab, we click laminar flow tab and
change the compressibility to Incompressible flow.
2. Then, right click on laminar flow tab and click inlet to make the Inlet 1.

3. Under Settings> Inlet> Boundary Condition, we type the velocity and click onboundary 1 for
Inlet 1 as below

4. Repeat step 2 to make Inlet 2.Specify the velocity and select boundary 3 for Inlet 2 as below
5. Right click on Laminar flow tab and clickoutlet. Under Setting> Outlet> Boundary Condition>
Boundary Conditiontab, we select Pressure. Then, we select boundary 6 and 7 as below.

MESH
1. Find Mesh 1>size then click. Select fine mesh for element size

2. Right click on Mesh 1 tab and clickFree Triangular. Then, we click build selected button
Therefore, the mesh of the model is defined by the following figure.

COMPUTE
Contour

1)Right click on the Study 1 and choose compute

Thus, the contour of the model is defined by the following figure.


Arrow Contour

1. Under Model Builder> Untitle.mph>Resultstab,right click on2D Plot Group 1 and select Arrow
Surface

2. Under Settings> Coloring and Style, we fill the scale factor and color the color as below and click
plot button

Therefore, the arrow contour of velocity magnitude is define by following figure


DATA PLOT
Line Graph

1. To make cross-section line in the middle of model(x=0.25) for analysis, right click on the
Results>Data Sets tab and choose Cut Line 2D. Then, specify the x-axis and y-axis coordinate as
below.

2. To make a line plot, right click on Results and choose 1D Plot Group. Then,right click on
Results>1D Plot Group and choose Line Graph
3. Under Setting> Line Graph> X-Axis Data. Then, find and click replace expression button, select
Geometry and Mesh> Coordinate> Y-Coordinate(y)

4. On setting tab, click on plot button.

Finally, the velocity profile will be displayed as shown below

5. Save your project.

LAB ASSIGNMENT
1. Repeat all step for Data Plot at given x location
Group X (m) Group X (m)

1 0.00 11 0.25

2 0.03 12 0.28

3 0.05 13 0.30

4 0.08 14 0.33

5 0.10 15 0.35

6 0.13 16 0.38

7 0.15 17 0.40

8 0.18 18 0.43

9 0.20 19 0.45

10 0.23 20 0.48

Label the x-axis as slid width(m) and y-axis as the velocity(m/s)

2. Click on Image Snapshot and save to desktop


3. Cut and paste in the Microsoft Word Document. Discuss your observations for every results.

You might also like