Transient flow and heat equations - the Rayleigh-Benard instability

Similar documents
Elmer GUI Tutorials. CSC IT Center for Science

Elmer GUI Tutorials. Peter Råback. CSC IT Center for Science

Elmer FEM Course. Introduction to Elmer Finite Element package. Peter Råback

Elmer non-gui Tutorials. CSC IT Center for Science

Tutorial for the heated pipe with constant fluid properties in STAR-CCM+

Homework 4 in 5C1212; Part A: Incompressible Navier- Stokes, Finite Volume Methods

Geodynamic modeling with ASPECT

Tutorial for the supercritical pressure pipe with STAR-CCM+

Example Resistive Heating

Mass Transfer in a Stirred Batch Reactor

Tutorial 11. Use of User-Defined Scalars and User-Defined Memories for Modeling Ohmic Heating

Transient Thermal Flow and Thermal Stress Analysis Coupled NASTRAN and SC/Tetra

Athena Visual Software, Inc. 1

Dimerization in a Tubular Reactor

Multiphysics Modeling

Natural Convection from a Long Horizontal Cylinder

GMS 8.0 Tutorial MT3DMS Advanced Transport MT3DMS dispersion, sorption, and dual domain options

Elmer. Introduction into Elmer multiphysics. Thomas Zwinger. CSC Tieteen tietotekniikan keskus Oy CSC IT Center for Science Ltd.

Assignment 3: blood oxygen uptake. Lars Johansson IEI/mechanics Linköping university

Two-Dimensional Unsteady Flow in a Lid Driven Cavity with Constant Density and Viscosity ME 412 Project 5

HEAT2. A PC-program for heat transfer in two dimensions. Manual with brief theory and examples. HEAT2 version 4.0 and HEAT2W version 1.

Taylor Dispersion Created by Robert P. Hesketh, Chemical Engineering, Rowan University Fall 2005

LAMINAR NATURAL CONVECTION IN VERTICAL 2D GLAZING CAVITIES

Peristaltic Pump. Introduction. Model Definition

Study of Forced and Free convection in Lid driven cavity problem

A Mixed Finite Element Formulation for Solving Phase Change Problems with Convection

Standards-Based Quantification in DTSA-II Part II

Introduction to Hartree-Fock calculations in Spartan

Towards a Numerical Benchmark for 3D Low Mach Number Mixed Flows in a Rectangular Channel Heated from Below

Elmer :Heat transfert with phase change solid-solid in transient problem Application to silicon properties. SIF file : phasechange solid-solid

OpenFOAM selected solver

Shape, Convection and Convergence

Introduction to FARGO3D

Heat Transfer Modeling

FEniCS Course. Lecture 6: Incompressible Navier Stokes. Contributors Anders Logg André Massing

1D-HAM. Coupled Heat, Air and Moisture Transport in Multi-layered Wall Structures. Manual with brief theory and an example. Version 2.

1. Open IDV. There is a desktop link, choose version 3.0u1 or 3.0u2. It can take a few minutes to open.

Natural convection adjacent to a sidewall with three fins in a differentially heated cavity

Circular Bearing Performance Parameters with Isothermal and Thermo-Hydrodynamic Approach Using Computational Fluid Dynamics

Orbital Mixing In Comsol Using Coriolis and Centrifugal Forces. Written by Shawn Lillie Supervised by Dr. Bruce Finlayson

Example Application 12. Embankment Loading on a Cam-Clay Foundation

v Prerequisite Tutorials GSSHA WMS Basics Watershed Delineation using DEMs and 2D Grid Generation Time minutes

CHAPTER 7 NUMERICAL MODELLING OF A SPIRAL HEAT EXCHANGER USING CFD TECHNIQUE

Tutorial Number 18: Heat transfer analysis of a teapot

Prepared by: Simanto. Date: Sunday, August 17, 2014

PDE Solvers for Fluid Flow

Lecture 9 Thermal Analysis

Project #1 Internal flow with thermal convection

Revision of the thermal chip simulation, J.E. Akin, Rice University

ENTROPY GENERATION IN HEAT AND MASS TRANSFER IN POROUS CAVITY SUBJECTED TO A MAGNETIC FIELD

RT3D Rate-Limited Sorption Reaction

Effect of an adiabatic fin on natural convection heat transfer in a triangular enclosure

Leaf Spring (Material, Contact, geometric nonlinearity)

NUMERICAL STUDY OF MELTING OF TIN WITHIN A RECTANGULAR CAVITY INCLUDING CONVECTIVE EFFECTS

Section 26.1: Reporting Conventions. Section 26.2: Fluxes Through Boundaries. Section 26.3: Forces on Boundaries

Automatic Watershed Delineation using ArcSWAT/Arc GIS

Lecture 30 Review of Fluid Flow and Heat Transfer

Space Objects. Section. When you finish this section, you should understand the following:

The Quantizing functions

Analysis of the Cooling Design in Electrical Transformer

Tutorial 12 Excess Pore Pressure (B-bar method) Undrained loading (B-bar method) Initial pore pressure Excess pore pressure

Depletion Analysis of an Oilfield

Differential relations for fluid flow

Boussinesq Convection: Combining the Navier--Stokes and Advection--Diffusion equations

Hybrid Discontinuous Galerkin methods for incompressible flow problems

The OptiSage module. Use the OptiSage module for the assessment of Gibbs energy data. Table of contents

Validation 3. Laminar Flow Around a Circular Cylinder

Two Dimensional Orbital Mixing for a Fluid. Written by Shawn Lillie Supervised by Dr. Bruce Finlayson

QuantumWise. QuantumWise is now part of Synopsys

Validation of DNS techniques for dynamic combined indoor air and constructions simulations using an experimental scale model

Tutorial: Premixed Flow in a Conical Chamber using the Finite-Rate Chemistry Model

HEAT TRANSFER CAPABILITY OF A THERMOSYPHON HEAT TRANSPORT DEVICE WITH EXPERIMENTAL AND CFD STUDIES

Modeling a Composite Slot Cross-Section for Torsional Analysis

σ = F/A ε = L/L σ ε a σ = Eε

Ratio of Polynomials Fit One Variable

Introduction to Heat Transfer Analysis

Axisymmetric Modeling. This tutorial gives an overview of axisymmetric modeling. Learn how to:

How to evaluate the best position for a new dial by means of the Orologi Solari program

SeeSAR 7.1 Beginners Guide. June 2017

Transient Thermal Analysis of a Fin

The effect of different geometries on the thermal mantle convection

41. Sim Reactions Example

Lab 1: Dynamic Simulation Using Simulink and Matlab

Tdyn-CFD+HT - Validation Case 9

How to Convert USGS Topographic GeoPDF 1 Maps to GeoTIFF using ArcGIS 10.4

Dock Ligands from a 2D Molecule Sketch

Pymol Practial Guide

SOE3213/4: CFD Lecture 3

Incompressible Flow & Iterative Solver Software (IFISS) Installation & Software Guide 1

RAYLEIGH-BÉNARD CONVECTION IN A CYLINDER WITH AN ASPECT RATIO OF 8

10. Buoyancy-driven flow

Virtual Cell Membrane Potential Tutorial IV

Documentation of the Solutions to the SFPE Heat Transfer Verification Cases

Part III. Dr. Scott R. Runnels. Databases Analyses Ladings Old TPS New TPS. Lading Properties Entry Meaning. AFFTAC Training Class

Learning ArcGIS: Introduction to ArcCatalog 10.1

Lattice Boltzmann Method for Fluid Simulations

FINITE ELEMENT ANALYSIS OF MIXED CONVECTION HEAT TRANSFER ENHANCEMENT OF A HEATED SQUARE HOLLOW CYLINDER IN A LID-DRIVEN RECTANGULAR ENCLOSURE

SuperCELL Data Programmer and ACTiSys IR Programmer User s Guide

ELEC 1908 The Electric Potential (V) March 28, 2013

Computation Fluid Dynamics Prof. Dr. Suman Chakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Transcription:

Transient flow and heat equations - the Rayleigh-Benard instability Directory: RayleighBenard Solvers: HeatSolve, FlowSolve Tools: ElmerGUI Dimensions: 2D, Transient Case definition This tutorial is about simulating the developing of the Rayleigh-Benard instability in a rectangular domain (Figure 1) of dimensions 0.01 m height and 0.06 m length. The simulation is performed with water and the needed material parameters of water are presented in Table 1. The temperature difference between the upper and lower boundary is set to 0.5 so that lower one has the temperature of 283.5 K and the upper one has the temperature of 283 K. The density of water is inversely proportional to its temperature. Thus, heated water starts to flow upwards, and colder downwards due to gravity. In this case we assume that the Boussinesq approximation is valid for thermal incompressible fluid flow. In other words, the density of the term ρf in the incompressible equation can be redefined by the Boussinesq approximation ρ = ρ 0 (1 β(t T 0 )) where β is the heat expansion coefficient and the subscript 0 refers to a reference sate. Figure 1: Domain. Solution procedure The mesh is given in ElmerGrid format in file box.grd, load this file. 1

2 Table 1: Material parameters. parameter value density 1000 kg/m 3 viscosity 1040e-6 Ns/m 2 heat capacity 4190 J/(kg K) heat conductivity 0.6 W/(m K) heat expansion coefficient 1.8e-4 K 1 reference temperature 283 K File Open -> box.grd You should obtain your mesh and may check that it consists of 3036 bilinear elements. There is a possibility to divide and unity edges to simplify the case definition in the future. Choose (left wall + right wall (Ctrl down)) -> unify edge After we have the mesh we start to go through the menu from the top to bottom. In the Setup we choose things related to the whole simulation such as file names, time stepping, constants etc. The simulation is carried out in 2-dimensional cartesian coordinates. 2nd order bdf time-stepping method is selected with 200 steps and with step size of two seconds. Setup Simulation Type = Transient Steady state max. iter = 20 Time Stepping Method = bdf BDF Order = 2 Time Step Intervals = 200 Time Step Sizes = 2.0 Gravity =... In the equation section we choose the relavan equations and paremeters related to their solution. In this case we ll have one set of equations (named Natural Convection ) which consists of the heat equation and of the equation. When defining Equations and Materials it is possible to assign the to bodies immediately, or to use mouse selection to assign them later. In this case we have just one body and therefore its easier to assign the Equation and Material to it directly. It is important to select that the convection is computed since that couples the velocity field to the heat equation. The system may include nonlinear iterations of each equation and steady state iterations to obtain convergence of the coupled system. It is often a good idea to keep to number of nonlinear iterations in a coupled case low. Here we select just one nonlinear iteration for both equations. For the linear system solvers we are happy to use the defaults. One may however, try out different preconditioners (ILU1,... ) or direct Umfpack solver, for example. Equation Name = Natural Convection Active = on Convection = Computed Edit Solver Setting Nonlinear System

3 Max. iteations = 1 Active = on Edit Solver Setting Nonlinear System Max. iteations = 1 The Material section includes all the material parameters. They are divided to generic parameters which are direct properties of the material without making any assumptions on the physical model. Such as the mass. Other properties assume a physical law, such as conductivities and viscosity. Material Name = Fluid General Density = 1000 Heat Capacity = 4190 Reference Temperature = 283 Heat expansion Coeff. = 1.8e.4 Heat Conductity = 0.6 Viscosity = 1.04e-3 A Body Force represents the right-hand-side of a equation. It is generally not a required field for a body. In this case, however, we apply the bouyancy resulting from heat expansion as a body force to the equation. Body Force Name = Boyancy Navier Stokes Boussinesq = on Initial conditions should be given to transient cases. In this case we choose a constant Temperature field and a small initial velocity. Initial Condition Name = Initial Guess Temperature = 283 Velocity 1 = 1.0e-9 Only one boundary condition may be applied to each boundary and therefore all the different physical BCs for a boundary should be grouped together. In this case the Temperature and Velocity. The side walls are assumed to be adiabatic. BoundaryCondition Name = Bottom Tempateture = 283.5

4 Name = Top Tempateture = 283 Name = Sides The boundary conditions may also be set in the BoundaryCondition menu, or by clicking with the mouse. Here we use the latter approach as that spares us of the need to know the indexes of each boundary. Set boundary properties Choose Bottom -> set boundary condition Bottom Choose Top -> set boundary condition Top Choose Sides -> set boundary condition Sides After the case have been set-up we may check that all edges and surfaces have been assigned boundary condition, or an equation and material parameters. View Select defined edges Select defined surfaces If everything is set we may continue, otherwise one should go back to check what data is missing. View Reset model view In order to run ElmerSolver needs the mesh file and the command file. We have know basically defined all the information for ElmerGUI to write the command file. After writing it we may also visually inspect the command file. Sif Generate Edit -> look how your command file came out Before we can execute the solver we should save the files in a directory. Both the command file and the mesh file will be saved simultaneously to the destination directory. File Save As After we have succefully saved the files we may start the solver Run Run solver A convergence view automatically pops up showing relative changes of each iteration. When there are some results to view we may start the postprocessor also Run Run postprocessor

5 Results Due to the number of the time-steps the simulation may take around ten minutes. After the solver has finished, the results can be postprocessed with ElmerPost. When opening the result file using ElmerGUI ElmerPost only opens the first time-step. Therefore it is important to reopen the file and load the time-steps of interest. Pressing the button All selects all the calculated time steps. A video of the results can be viewed by selecting the option Timestep Control and pressing the button Loop under the Edit menu. In Figures 2 and 3 the obtained temperature distribution and the velocity vectors are presented. The maximum velocity in the system should be about 0.4 mm/s. Figure 2: Temperature distribution at 260 s. Figure 3: Velocity vectors at 260 s.