Académique Documents
Professionnel Documents
Culture Documents
EXPERIMENT- 11
COMSOL
BATCH – T7
RAHUL C R (183020058)
TWINKLE KHADKA (183020060)
IIT Bombay
1
TABLE OF CONTENTS
List of figures………………………………………………………………………………………………………………………………………….3
Objectives………………………………………………………………………………………………………………………………………………4
Introduction……………………………………………………………………………………………………………………………………………4
Theory…………………………………………………………………………………………………………………………………………………….6
Procedure……………………………………………………………………………………………………………………………………………….8
Results……………………..……………………………………………………………………………………………………………………………10
Discussions………………………………………………………………………………………………………………………………………….…13
2
LIST OF FIGURES
Fig 9: Transient temperature profile of slab at cut point for first 900s.……….…………………….12
3
OBJECTIVES:
1) To study the unsteady state temperature profile in an infinitely long temperature slab.
2) To study the steady state velocity profile and pressure difference of fluid flow in a given
geometry.
INTRODUCTION:
COMSOL-MULTIPHYSICSis a cross platform infinite element analysis and multiphysics simulation
software. It allows conventional physics-based user interfaces and coupled systems of partial
differential equations (PDEs). COMSOL provides an IDE and unified workflow for electrical,
mechanical, fluid, and chemical applications. An API for Java and Live Link for MATLAB may be
used to control the software externally, and the same API is also used via the Method Editor.
COMSOL contains an App Builder which can be used to develop independent domain-specific
apps with custom user-interface. Users may use drag-and-drop tools (Form Editor) or
programming (Method Editor). Specific features may be included from the model or new features
may be introduced through programming. It also contains a Physics Builder to create custom
physics-interfaces accessible from the COMSOL Desktop with the same look-and-feel as the built-
in physics interfaces.
COMSOL Server is the software and engine for running simulation apps and the platform for
controlling their deployment and distribution. User developed apps can be run in COMSOL Server
through web browsers or a Windows-installed client. Using the built-in physics interfaces and the
advanced support for material properties, it is possible to build models by defining the relevant
physical quantities such as material properties, loads, constraints, sources, and fluxes rather than
by defining the underlying equations. Application of these variables, expressions, or numbers
directly to solid and fluid domains, boundaries, edges, and points independently of the
computational mesh is also possible. COMSOL Multiphysics then internally compiles a set of
equations representing the entire model.
COMSOL Multiphysics uses Finite Element Method (FEM) to solve the different models. The
software runs the finite element analysis together with adaptive meshing (if selected) and error
control using a variety of numerical solvers. One reason for the finite element method’s success
in multi-physics analysis is that it is a very general method. Solving the resulting equation systems
are the same or very similar to well-known and efficient methods used for structural and
electromagnetic analysis. Another reason for the method’s success is that it makes it easy to
increase the order of the elements” so that the physics fields can be approximated very
accurately.
4
Fig 1: COMSOL-MULTIPHYSICS Software
Acoustics
Bioscience
Chemical reactions
Corrosion and corrosion protection
Diffusion
Electrochemistry
Electromagnetic
Fluid dynamics
Fuel cells and electrochemistry
Geophysics
Heat transfer
The modules that we will be using in this experiment include HEAT TRANFSER module and
the FLUID FLOW module.
i) Heat Tranfser module: contains simulation tools to study the mechanisms of heat
transfer – conduction, convection, and radiation – often in collaboration with other
physics, such as structural mechanics, fluid dynamics, electromagnetics, and chemical
reactions.
ii) Fluid flow module: used for simulations of fluid flow, heat and mass transfer, hydraulic
transients, and acoustics in pipe and channel networks. It can be easily integrated with
any of the other modules in the COMSOL Product Suite for modelling the effects piping
has on larger entities, such as cooling pipes in engine blocks or feeding and product
channels connected to vessels.
5
THEORY:
i) Heat Tranfser through an infinitely long rectangular slab.
The geometry of the slab is as follows:
Convection
h=1000 w/m^2
T=350 K
10mm
Assumptions:
This is the unsteady state equation for heat conduction through a rectangular slab. The
boundary conditions are given as,
c) At y=0, insulation
h = 1000/W/m2-K
Text=350K
Integrating the differential equation and applying the boundary conditions, yields the final
solution for temperature profile through the rectangular slab.
1m
50cm
20cm
1m
Assumptions:
Inlet conditions:
8
4. Click on Add Study in Study section in the toolbar. Double-click on Stationary from the menu
displayed on the right side of the simulation window.
5. In the Model Builder, right-click on Geometry 1, and choose Rectangle twice from the menu.
Click on Rectangle 1 and Rectangle 2 and specify the height and width of the geometry. Then
click on Form Union and then build all in Geometry section in the toolbar.
6. Click on Add Material in Materials section in the toolbar. Then click on Browse Materials.
Select water as the flow material in Built-In section. Then click on Component 1 in Add to
drop-down menu.
7. In the Model Builder, Right-click on Laminar flow, and choose Inlet from the menu. Select the
boundary in geometry at which inflow occurs and specify the value for flow rate then right-
click on Laminar flow, and choose Outlet from the menu then select the boundary in
geometry at which outflow occurs and specify the values for required parameters then right-
click on Mesh 1, and choose Mapped from the menu. Then click on Build All then right-click
on Study 1, and choose Compute from the menu.
8. Save the steady state velocity profile thus obtained.
9. Generate pressure contours from results and save.
RESULTS:
9
Fig 5: Transient temperature profile of slab at t=62.8(T).
10
Fig 7: Transient temperature profile of slab along cutline at t=31.4(T/2).
11
Fig 9: Transient temperature profile of slab at cut point(5,50cm) for first 900s.
12
Fig 11: Steady state Pressure profile of the fluid flow .
DISCUSSIONS:
The plot in Figure 9 we could infer that the system is not reaching steady state but a cyclic
steady state is reached (i.e. the system repeats the same path after fixed amount of time
or the time period), it makes sense as the boundary condition is sinusoidally varying with
time.
From Figure 7 and 8 we could infer that the temperature is varying along the line (cut
through the slab) , it could be attributed to the convective boundary condition at one end
of the slab and it could also be noted that the trend changes with time as the temperature
at the other two boundary conditions is varying sinusoidally with time.
13
14