Introduction to COMSOL Travis Campbell Developed for CHE 331 – Fall 2012 Oregon State University School of Chemical, Biological and Environmental Engineering.

Slides:



Advertisements
Similar presentations
Open Source Field Operation and Manipulation
Advertisements

SolidWorks Flow Simulation
Outline Overview of Pipe Flow CFD Process ANSYS Workbench
Svetlana Marmutova Laminar flow simulation around circular cylinder 11 of March 2013, Espoo Faculty of Technology.
1 COMSOL 4.3.  Remote Connection  Chemical Engineering Department (ICC)  Login and password Ask IT staff.
Basic Governing Differential Equations
Contaminate Plume in an Office
Project #4: Simulation of Fluid Flow in the Screen-Bounded Channel in a Fiber Separator Lana Sneath and Sandra Hernandez 4 th year - Biomedical Engineering.
Transport phenomena in chemical processes part III Michał Araszkiewicz PhD.
Pharos University ME 352 Fluid Mechanics II
COMSOL Step-by-Step Tutorial Expt 140 – Tank Discharge March 4, 2013 Team 2 Joseph Duffy Zlatko Sokolikj Andrew Suellentrop.
Evan Greer, Mentor: Dr. Marcelo Kobayashi, HARP REU Program August 2, 2012 Contact: globalwindgroup.com.
Monroe L. Weber-Shirk S chool of Civil and Environmental Engineering Basic Governing Differential Equations CEE 331 June 12, 2015.
Basic Governing Differential Equations
Formula sheet No explanation is made on purpose Do not assume that you need to use every formula In this test always assume that K entrance = 0.5, K exit.
MECH 221 FLUID MECHANICS (Fall 06/07) Chapter 9: FLOWS IN PIPE
CHE/ME 109 Heat Transfer in Electronics LECTURE 18 – FLOW IN TUBES.
An Introduction to Stress and Strain
Image courtesy of National Optical Astronomy Observatory, operated by the Association of Universities for Research in Astronomy, under cooperative agreement.
CHE/ME 109 Heat Transfer in Electronics
Monroe L. Weber-Shirk S chool of Civil and Environmental Engineering Basic Governing Differential Equations CEE 331 July 14, 2015 CEE 331 July 14, 2015.
Fluid mechanics 3.1 – key points
Verification and Validation Diagram of a Control Rod Guide Tube on top of a hot box dome that has been gradually heating up. A hole was drilled here to.
Given: Incompressible flow in a circular channel and Re = 1800, where D = 10 mm. Find: (a) Re = f (Q, D, ) (b) Re = f(dm/dt, D,  ) (c) Re for same Q and.
Flow rate across a fluid element with top and bottom faces moving Fluid element h dx dy Consider the fluid element with dimensions dx, dy, and h (film.
1 Simulation of Compressible Flow around the Bullet Trains Project Members: Tatiya SameeyaiB Cheerawan Thetchanda B Project Advisor: Assist.Prof.Dr.Keerati.
Lecture Objectives: -Define turbulence –Solve turbulent flow example –Define average and instantaneous velocities -Define Reynolds Averaged Navier Stokes.
Week 1 – Engineering Agenda Introductions and Photos Why should I care about engineering? Motivation for the DB Exam Dimensions and Unit Conversion Examples.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
1 Department: Material science and engineering Discipline: Finite element method By: Anelia Ivanova To: Prof. V. Iliev Subject : Hydrodynamics Simulation.
IIT-Madras, Momentum Transfer: July 2005-Dec 2005.
Governing equations: Navier-Stokes equations, Two-dimensional shallow-water equations, Saint-Venant equations, compressible water hammer flow equations.

Workshop 7: Thermal Steady State Analysis of a Composite Slab University of Puerto Rico at Mayagüez Department of Mechanical Engineering Modified by (2008):
CP502 Advanced Fluid Mechanics Compressible Flow Lectures 1 & 2 Steady, quasi one-dimensional, isothermal, compressible flow of an ideal gas in a constant.
Reynolds Transport Theorem We need to relate time derivative of a property of a system to rate of change of that property within a certain region (C.V.)
Chapter 15FLUIDS 15.1 Fluid and the World Around Us 1.A fluid is a substance that cannot support a shearing stress. 2.Both gases and liquids are fluids.
Department Of Material Science And Engineering FINITE ELEMENT METHOD UNIVERSITY OF CHEMICAL TECHNOLOGY AND METALLURGY Sofia Nina Velikova, June 2010.
By Dave Onarheim MANE-6980 Engineering Project Spring 2010
© Pritchard Introduction to Fluid Mechanics Chapter 8 Internal Incompressible Viscous Flow.
The Alaskan pipeline, a significant accomplishment of the engineering profession, transports oil 1286 km across the state of Alaska. The pipe diameter.
Background 1. Energy conservation equation If there is no friction.
ME 101: Fluids Engineering Chapter 6 ME Two Areas for Mechanical Engineers Fluid Statics –Deals with stationary objects Ships, Tanks, Dams –Common.
이 동 현 상 (Transport phenomena) 2009 년 숭실대학교 환경화학공학과.
Fluid Mechanics SEMESTER II, 2010/2011
CFD Study of the Development of Vortices on a Ring Wing
CFD Lab 1 Simulation of Turbulent Pipe Flow Seong Mo Yeon, Timur Dogan, and Michael Conger 10/07/2015.
Some slides on UCLA LM-MHD capabilities and Preliminary Incompressible LM Jet Simulations in Muon Collider Fields Neil Morley and Manmeet Narula Fusion.

Lecture Objectives: Define 1) Reynolds stresses and
Steady or Unsteady Fluid Flow Fluids can move or flow in many ways. In steady flow the velocity of the fluid particles at any point is constant as time.
Louisiana Tech University Ruston, LA Flows With More Than One Dependent Variable - 2D Example Juan M. Lopez Steven A. Jones BIEN 501 Wednesday, April.
CHAPTER 9 Velocity Profiles for Circular Sections and Flow in Noncircular Sections.
Viscosità Equazioni di Navier Stokes. Viscous stresses are surface forces per unit area. (Similar to pressure) (Viscous stresses)
Introduction to Fluid Mechanics
CFD Exercise 1 Laminar & turbulent flows with COMSOL.
CFD Simulation Investigation of Natural Gas Components through a Drilling Pipe RASEL A SULTAN HOUSSEMEDDINE LEULMI.
Chapter 1: Basic Concepts
AERODYNAMIC OPTIMIZATION OF REAR AND FRONT FLAPS ON A CAR UNIVERSITY OF GENOVA – POLYTECHNIC SCHOOL ADVANCED FLUID DYNAMICS COURSE 2015/2016 Student: Giannoni.
Internal Incompressible
Flow Through a Pipe Elbow (Comsol)
Date of download: 12/16/2017 Copyright © ASME. All rights reserved.
Subject Name: FLUID MECHANICS
Review of ChE Fluid Mechanics
CHAPTER 6 Viscous Flow in Pipes
COMSOL Simulation of Air Pollutant Particle Transmission in a Building
Fundamentals of Convection
All dimension in mm Set A
8. FLUID FLOW: mechanical energy equation
Introduction to Fluid Mechanics
Presentation transcript:

Introduction to COMSOL Travis Campbell Developed for CHE 331 – Fall 2012 Oregon State University School of Chemical, Biological and Environmental Engineering

What is COMSOL? Course requirement Modeling and simulation software Tool for system design/optimization Method for checking work

A Brief History of Modeling Software “A computer model refers to the algorithms and equations used to capture the behavior of the system being modeled. However, a computer simulation refers to the actual running of the program which contains these equations or algorithms.” 1 Developed rapidly with computers Influencing research

The General Idea Behind Numerical Modeling User builds a model with significant variables User builds a model mesh COMSOL solves the model numerically at every mesh intersection Intersections are connected to provide “continuous” data

How is the model solved at every intersection? Several methods exist - one example is the Finite Element Method:

Finite Element Method Results

COMSOL Step by Step for 4 Models Model 1 – Laminar Flow in a Pipe Model 2 – Turbulent Flow in a Pipe Model 3 – Laminar Flow between Parallel Plates Model 4 – Flow of a Falling Film These notes apply to Version 4.2, only!

COMSOL Model 1 – Laminar Flow in a Pipe 1.Open COMSOL 2.Select Space Dimension 2D, click 3.Add Physics Laminar Flow, click 4.Select Study Type Stationary, click 5.In Main Menu, select View > Desktop Layout > Reset Desktop MAIN MENU GRAPHICS MODEL SUB MENU MODEL BUILDER MENU

COMSOL Model 1 – Laminar Flow in a Pipe 6.In Model Builder Menu, right-click Geometry 1 and select Rectangle 7.Select Rectangle 1 8.In Model Sub Menu, enter Width: 5 m, Height: 0.1 m 9.Click Build Selected 10.In Model Builder Menu, right-click Materials and select Open Material Browser 11.In Model Sub Menu, select Liquids and Gases > Liquids > Water 12.Click Add Material to Model (click twice) 13.In Model Builder Menu, click Laminar Flow 14.In Model Sub Menu, select Physical Model > Compressibility > Incompressible flow 15.In Model Builder Menu, right-click Laminar Flow and select Inlet 16.Select Inlet 1

COMSOL Model 1 – Laminar Flow in a Pipe 17.Define first Boundary Condition by describing the inlet velocity (average velocity). On the Graphic, select the left boundary 18.In Model Sub Menu, click Add to Selection 19.In Model Sub Menu, select Boundary Condition > Velocity. Click Normal Inflow Velocity. Enter U o = m/s. 20.In Model Builder Menu, right click Laminar Flow and select Outlet 21.Select Outlet 1 22.Define second Boundary Condition by describing the outlet pressure. On the Graphic, select the right boundary 23.In Model Sub Menu, click Add to Selection 24.In Model Sub Menu, select Boundary Condition > Pressure, no viscous stress. Enter p o = 0 Pa.

COMSOL Model 1 – Laminar Flow in a Pipe 25.Add no slip conditions at the pipe walls. In Model Builder Menu, click Laminar Flow > Wall 1 26.In Model Sub Menu, confirm that Boundaries 2, 3 only are selected 27.In Model Sub Menu, select Boundary Condition > No slip 28.In Model Builder Menu, click Mesh 29.Select Physics-controlled mesh, Normal Element size 30.In Model Builder Menu, right-click Study 1 and select Compute to simulate your model. Note the Reynolds number:

COMSOL Model 1 – Laminar Flow in a Pipe Time required to run your simulation depends on many factors: Processor speed Connection speed Model size Mesh granularity Results can be analyzed in many ways. We will find the velocity profile as a function of pipe cross-section.

COMSOL Model 1 – Laminar Flow in a Pipe 31.In Model Builder Menu, expand Results. Right-click Data Sets and select Cut Line 2D. 32.Select Cut Line 2D 1 33.In Model Sub Menu, select Data set > Solution 1 and enter Line Data: 31.Click Plot 32.In Model Builder Menu, right-click Results and select 1D Plot Group 33.Select 1D Plot Group 1 34.In Model Sub Menu, select Data > Data set > Cut Line 2D 1 35.In Model Builder Menu, right-click 1D Plot Group 1 and select Line Graph 36.Select Line Graph 1 37.In Model Sub Menu, select Data > Data set > From parent 38.Confirm that the y-Axis Data is velocity, spf.U [m/s] 39.Click Plot x: y: Point 1:2.50 Point 2:2.50.1

Result

COMSOL Step by Step Models to be completed Model 1 – Laminar Flow in a Pipe Model 2 – Turbulent Flow in a Pipe Model 3 – Laminar Flow between Parallel Plates Model 4 – Flow of a Falling Film

COMSOL Model 2 - Turbulent Flow in a Pipe Similar to Laminar Flow in a Pipe Differences: 3. Turbulent Flow (k-ε) 19. Enter U o = 10 m/s 27. In Model Sub Menu, select Boundary Condition > Wall Functions Re = 1e6

COMSOL Model 2 - Turbulent Flow in a Pipe

COMSOL Step by Step Models to be completed Model 1 – Laminar Flow in a Pipe Model 2 – Turbulent Flow in a Pipe Model 3 – Laminar Flow between Parallel Plates Model 4 – Flow of a Falling Film

COMSOL Model 3 – Laminar Flow between Parallel Plates Also similar to Laminar Flow in a Pipe Differences: 19. In Model Sub Menu, select Boundary Condition > Pressure, no viscous stress. Enter p o = 0 Pa. Note that both Inlet and Outlet Boundary Conditions are zero pressure. What does this mean? After 19: In Model Builder Menu, right click Laminar Flow and select Wall Select Wall 2 Define third Boundary Condition by describing the upper plate velocity. On the Graphic, select the top boundary In Model Sub Menu, click Add to Selection In Model Sub Menu, select Boundary Condition > Moving Wall. Enter u w = (0.001, 0) Pa. 26. In Model Sub Menu, confirm that Boundary 2 only is selected

COMSOL Model 3 – Laminar Flow between Parallel Plates

COMSOL Step by Step Models to be completed Model 1 – Laminar Flow in a Pipe Model 2 – Turbulent Flow in a Pipe Model 3 – Laminar Flow between Parallel Plates Model 4 – Flow of a Falling Film

COMSOL Model 4 – Flow of a Falling Film Most similar to Laminar Flow between Parallel Plates Differences: Make rectangle tall and skinny (W: m, H: 0.05 m) Boundary conditions: Wall 1 – No Slip Wall 2 – Outlet, zero pressure Wall 3 – Inlet, zero velocity Wall 4 – Open boundary, zero normal stress Add Volume Force to Laminar Flow with N/m 3 in the y-direction Make a horizontal cut line near the bottom of your geometry, to capture the “fully developed” film flow

COMSOL Model 4 – Flow of a Falling Film