ME 595M J.Murthy1 ME 595M: Computational Methods for Nanoscale Thermal Transport Lecture 9: Boundary Conditions, BTE Code J. Murthy Purdue University.

Slides:



Advertisements
Similar presentations
Outline Overview of Pipe Flow CFD Process ANSYS Workbench
Advertisements

MULTLAB FEM-UNICAMP UNICAMP EVALUATING RESIDUALS AND IMBALANCE FORCES BY INFORM Residuals These are imbalances (errors) in the finite-volume equations.
Parallel Computation of the 2D Laminar Axisymmetric Coflow Nonpremixed Flames Qingan Andy Zhang PhD Candidate Department of Mechanical and Industrial Engineering.
Finite Element Method (FEM) Different from the finite difference method (FDM) described earlier, the FEM introduces approximated solutions of the variables.
Lectures on CFD Fundamental Equations
ME 595M J.Murthy1 ME 595M: Computational Methods for Nanoscale Thermal Transport Lecture 9: Introduction to the Finite Volume Method for the Gray BTE J.
ME 595M J.Murthy1 ME 595M: Computational Methods for Nanoscale Thermal Transport Lecture 10:Higher-Order BTE Models J. Murthy Purdue University.
Computer Aided Thermal Fluid Analysis Lecture 7 Dr. Ming-Jyh Chern ME NTUST.
Homework 3: Use the Fixed Grid --Volume of Fluid Method with Structured Cartesian CVFEM mesh To track Filling Front h=1 h = 0 2 r = 1 3 Hand in 1. Code.
1 Lecture 11: Unsteady Conduction Error Analysis.
CHE/ME 109 Heat Transfer in Electronics LECTURE 11 – ONE DIMENSIONAL NUMERICAL MODELS.
1 Algorithms and Problem Solving. 2 Outline  Problem Solving  Problem Solving Strategy  Algorithms  Sequential Statements  Examples.
ME 595M J.Murthy1 ME 595M: Computational Methods for Nanoscale Thermal Transport Lecture 6: Introduction to the Phonon Boltzmann Transport Equation J.
ME 595M J.Murthy1 ME 595M: Computational Methods for Nanoscale Thermal Transport Lecture 11:Extensions and Modifications J. Murthy Purdue University.
ME 595M J.Murthy1 ME 595M: Computational Methods for Nanoscale Thermal Transport Lecture 11: Homework solution Improved numerical techniques J. Murthy.
I i row1 row2 row3 row4 col1 col2 col3 col4 a. Grid b. Mesh c. Cloud A control volume solution based on an unstructured mesh (Linear Triangular Elements)
Learning Objectives for Section 1.2 Graphs and Lines
CISE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM (Term 101) Section 04 Read & CISE301_Topic9.
Lecture Objectives: Review discretization methods for advection diffusion equation Accuracy Numerical Stability Unsteady-state CFD Explicit vs. Implicit.
5-4 Graphing Linear Equations
Chapter 10 Heat Transfer Introduction to CFX.
© Fluent Inc. 9/5/2015L1 Fluids Review TRN Solution Methods.
Copyright © Cengage Learning. All rights reserved. 0 Precalculus Review.
Dr. R. Nagarajan Professor Dept of Chemical Engineering IIT Madras Advanced Transport Phenomena Module 2 Lecture 4 Conservation Principles: Mass Conservation.
Introduction to CFD Analysis
Chapter 9: Differential Analysis of Fluid Flow SCHOOL OF BIOPROCESS ENGINEERING, UNIVERSITI MALAYSIA PERLIS.
1 Learning Objectives for Section 1.2 Graphs and Lines The student will be able to identify and work with the Cartesian coordinate system. The student.
O AK R IDGE N ATIONAL L ABORATORY U.S. D EPARTMENT OF E NERGY 1 Parallel Solution of the 3-D Laplace Equation Using a Symmetric-Galerkin Boundary Integral.
In-term project presentation by Kanish Jindal Modeling of chlorine contact chamber at West Lafayette treatment plant.
MEIAC 2001 COMET Laboratory for Computational Methods in Emerging Technologies Large-Scale Simulation of Ultra-Fast Laser Machining A preliminary outline.
Chapter 5: Numerical Methods in Heat Transfer
Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
1.1 Functions This section deals with the topic of functions, one of the most important topics in all of mathematics. Let’s discuss the idea of the Cartesian.
J. Murthy Purdue University
FALL 2015 Esra Sorgüven Öner
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Lecture Objectives Meshing Unsteady State CFD.
Multiple Species Chapter 7. Training Manual May 15, 2001 Inventory # Objectives The FLOTRAN multiple species capabilities. Dilute mixture option.
Prerequisite Skills VOCABULARY CHECK Copy and complete the statement. 2. The graph of a linear inequality in two variables is the set of all points in.
Lecture Objectives: Define 1) Reynolds stresses and
Evan Selin & Terrance Hess.  Find temperature at points throughout a square plate subject to several types of boundary conditions  Boundary Conditions:
Fourier's law of heat conduction
Solving Partial Differential Equation Numerically Pertemuan 13 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Lecture Objectives -Analyze some examples related to natural ventilation.
ERT 216 HEAT & MASS TRANSFER Sem 2/ Dr Akmal Hadi Ma’ Radzi School of Bioprocess Engineering University Malaysia Perlis.
Programming assignment # 3 Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Lecture Objectives: - Numerics. Finite Volume Method - Conservation of  for the finite volume w e w e l h n s P E W xx xx xx - Finite volume.
An Introduction to Computational Fluids Dynamics Prapared by: Chudasama Gulambhai H ( ) Azhar Damani ( ) Dave Aman ( )
1 Variational and Weighted Residual Methods. 2 Introduction The Finite Element method can be used to solve various problems, including: Steady-state field.
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
THERMO-STRUCTURAL ANALYSIS
Chapter 30.
Objective Numerical methods SIMPLE CFD Algorithm Define Relaxation
Solving System of Linear Equations
Scientific Computing Lab
J. Murthy Purdue University
© Fluent Inc. 1/10/2018L1 Fluids Review TRN Solution Methods.
Lecture 19 MA471 Fall 2003.
A First Course on Kinetics and Reaction Engineering
© Fluent Inc. 8/24/ Introductory FLUENT Notes FLUENT v6.0 Jan 2002 Fluent User Services Center Introduction to CFD Analysis.
Basic Graphing Techniques
Objective Review Reynolds Navier Stokes Equations (RANS)
Lecture Objectives Finish with boundary conditions Unsteady State Flow.
Objective Numerical methods.
Scientific Computing Lab
Objective Numerical methods Finite volume.
Linear Algebra Lecture 3.
2.6 Section 2.6.
OPTICS III, IV: Global Illumination
Programming assignment #1 Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Presentation transcript:

ME 595M J.Murthy1 ME 595M: Computational Methods for Nanoscale Thermal Transport Lecture 9: Boundary Conditions, BTE Code J. Murthy Purdue University

ME 595M J.Murthy2 Boundary Conditions Thermalizing boundary conditions: T=T b Energy balance for CV around P: For directions incoming to domain: For directions outgoing to domain: P b

ME 595M J.Murthy3 Boundary Conditions (cont’d) Specular boundary condition For directions incoming to domain: For directions outgoing to domain  For reflections in the (x,y) plane only  changes. y x sisi s ir P

ME 595M J.Murthy4 Boundary Conditions (cont’d) Diffuse boundary condition For a direction incoming to domain: For directions outgoing to domain: P

ME 595M J.Murthy5 Boundary Conditions (cont’d) Partially specular with specular fraction p For all directions incoming to the domain: For all directions outgoing to domain:

ME 595M J.Murthy6 Gray BTE Code: Overall Description Finite volume method 2D, steady, gray, Cartesian Written in Fortran 77 Divided into two parts: main and user Main part does not change from problem to problem. User part can be changed to set up different domain sizes, boundary conditions, source terms, properties Uses a sequential solver which solves each direction in turn. In each direction, a linear algebraic set of equations is solved using a line-by-line tridiagonal matrix algorithm.

ME 595M J.Murthy7 Structure Main Subroutines  main  solve  reset  setup1  setup2  ugrid  print  block data User Subroutines  grid  start  update  sources

ME 595M J.Murthy8 Main Subroutine Functions main: contains the overall iterative loop solve: contains the LBL-TDMA solver with a block correction reset: resets coefficient matrix to zero setup1: calculate geometric quantities associated with spatial and angular mesh setup2: does one call of BTE’s in all directions. Discretizes equations and solves them sequentially for each direction. ugrid: generates uniform Cartesian grid in each coordinate direction print: prints the e” field if desired block data: sets defaults

ME 595M J.Murthy9 User Subroutine Functions grid: initializes all variables necessary to generate spatial and angular mesh. start: is called once by main after grid has been created. Used to initialize solution and to set boundary conditions and properties that do not change with iteration. update: is called once per iteration. This is a good place to put in updates of boundary conditions that change iteration to iteration, as well as any monitoring and printing. sources: is called once per iteration per direction. This is a good place to put in scattering source terms.

ME 595M J.Murthy10 Sources In subroutine sources:

ME 595M J.Murthy11 Assignment Problem Solve the gray BTE using the code in the domain shown: Investigate acoustic thickesses L/(v g  eff) =0.01,0.1,1,10,100 Plot dimensionless “temperature” versus x/L on horizontal centerline Program diffuse boundary conditions instead of specular, and investigate the same range of acoustic thicknesses. Plot dimensionless “temperature” on horizontal centerline again. Submit commented copy of user subroutines (not main code) with your plots. T=310 K T=300 K Specular or diffuse

ME 595M J.Murthy12 Conclusions In this lecture, we considered boundary conditions and also looked a gray BTE code. Code structure and logic was discussed Detailed nomenclature for the code was provided. In the next lecture, we will talk about extensions to the gray model and to numerics