OpenFOAM selected solver

Similar documents
Numerical Methods in Aerodynamics. Turbulence Modeling. Lecture 5: Turbulence modeling

Turbulence Modeling. Cuong Nguyen November 05, The incompressible Navier-Stokes equations in conservation form are u i x i

Simulations for Enhancing Aerodynamic Designs

Computational Fluid Dynamics 2

Coupled calculations in OpenFOAM -

Turbulent Boundary Layers & Turbulence Models. Lecture 09

Modeling Unsteady Flow in Turbomachinery Using a Harmonic Balance Technique

Mostafa Momen. Project Report Numerical Investigation of Turbulence Models. 2.29: Numerical Fluid Mechanics

Large Scale Fluid-Structure Interaction by coupling OpenFOAM with external codes

Colloquium FLUID DYNAMICS 2012 Institute of Thermomechanics AS CR, v.v.i., Prague, October 24-26, 2012 p.

Rhie-Chow interpolation in OpenFOAM 1

A Computational Investigation of a Turbulent Flow Over a Backward Facing Step with OpenFOAM

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

OpenFOAM Simulations for MAV Applications

Introduction to Turbulence and Turbulence Modeling

Open boundary conditions in numerical simulations of unsteady incompressible flow

viscousheatingsolver Martin Becker

Eddy viscosity. AdOc 4060/5060 Spring 2013 Chris Jenkins. Turbulence (video 1hr):

Numerical Heat and Mass Transfer

Calculating equation coefficients

Turbulence Laboratory

Table of Contents. Foreword... xiii. Preface... xv

Turbulence - Theory and Modelling GROUP-STUDIES:

Modelling of turbulent flows: RANS and LES

CFD Analysis for Thermal Behavior of Turbulent Channel Flow of Different Geometry of Bottom Plate

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

Large eddy simulation of turbulent flow over a backward-facing step: effect of inflow conditions

Masters in Mechanical Engineering. Problems of incompressible viscous flow. 2µ dx y(y h)+ U h y 0 < y < h,

FREE BOUNDARY PROBLEMS IN FLUID MECHANICS

METHODOLOGY (3) where, x o is the heat source separation and α is the. entrainment coefficient α.

Tutorial for the supercritical pressure pipe with STAR-CCM+

Numerical Simulation of a Blunt Airfoil Wake

Boundary-Layer Theory

ESS Turbulence and Diffusion in the Atmospheric Boundary-Layer : Winter 2017: Notes 1

Chapter 5. The Differential Forms of the Fundamental Laws

Computation for the Backward Facing Step Test Case with an Open Source Code

Efficient Augmented Lagrangian-type Preconditioning for the Oseen Problem using Grad-Div Stabilization

PDE Solvers for Fluid Flow

FVM for Fluid-Structure Interaction with Large Structural Displacements

FLUID MECHANICS. Atmosphere, Ocean. Aerodynamics. Energy conversion. Transport of heat/other. Numerous industrial processes

Simulating Drag Crisis for a Sphere Using Skin Friction Boundary Conditions

Tutorial School on Fluid Dynamics: Aspects of Turbulence Session I: Refresher Material Instructor: James Wallace

Turbulence: Basic Physics and Engineering Modeling

Some remarks on grad-div stabilization of incompressible flow simulations

6.2 Governing Equations for Natural Convection

BOUNDARY LAYER ANALYSIS WITH NAVIER-STOKES EQUATION IN 2D CHANNEL FLOW

Computation of time-periodic flows with the Time Spectral Method

Draft Tube calculations using OpenFOAM-1.5dev and validation with FLINDT data

Lecture 30 Review of Fluid Flow and Heat Transfer

ON USING ARTIFICIAL COMPRESSIBILITY METHOD FOR SOLVING TURBULENT FLOWS

COMPARATIVE STUDY BETWEEN FLOWS AROUND SPHERE AND POD USING FINITE VOLUME METHOD

1. Introduction Some Basic Concepts

STEADY AND UNSTEADY 2D NUMERICAL SOLUTION OF GENERALIZED NEWTONIAN FLUIDS FLOW. Radka Keslerová, Karel Kozel

Corso di Laurea in Ingegneria Aerospaziale. Performance of CFD packages for flow simulations in aerospace applications

Wall-Functions and Boundary Layer Response to Pulsating and Oscillating Turbulent Channel Flows

Mestrado Integrado em Engenharia Mecânica Aerodynamics 1 st Semester 2012/13

Computation of turbulent natural convection with buoyancy corrected second moment closure models

Differential relations for fluid flow

centrifugal acceleration, whose magnitude is r cos, is zero at the poles and maximum at the equator. This distribution of the centrifugal acceleration

Turbulence modelling. Sørensen, Niels N. Publication date: Link back to DTU Orbit

Fundamentals of Fluid Dynamics: Elementary Viscous Flow

Basic concepts in viscous flow

Bejo Duka Ergys Rexhepi. Department of Physics, Faculty of Natural Sciences, UNIVERSITY OF TIRANA

Numerical Modeling of Inclined Negatively Buoyant Jets

10. Buoyancy-driven flow

Physics of turbulent flow

fluid mechanics as a prominent discipline of application for numerical

Develpment of NSCBC for compressible Navier-Stokes equations in OpenFOAM : Subsonic Non-Reflecting Outflow

Chapter 9: Differential Analysis

Introduction to Heat and Mass Transfer. Week 12

Manhar Dhanak Florida Atlantic University Graduate Student: Zaqie Reza

Direct Numerical Simulations on the Uniform In-plane Flow around an Oscillating Circular Disk

2. Conservation Equations for Turbulent Flows

Before we consider two canonical turbulent flows we need a general description of turbulence.

V (r,t) = i ˆ u( x, y,z,t) + ˆ j v( x, y,z,t) + k ˆ w( x, y, z,t)

AER1310: TURBULENCE MODELLING 1. Introduction to Turbulent Flows C. P. T. Groth c Oxford Dictionary: disturbance, commotion, varying irregularly

Modeling of turbulence in stirred vessels using large eddy simulation

The effect of geometric parameters on the head loss factor in headers

Turbulence Modeling I!

CFD in COMSOL Multiphysics

Modeling, Simulating and Rendering Fluids. Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan

Chapter 9: Differential Analysis of Fluid Flow

REE Internal Fluid Flow Sheet 2 - Solution Fundamentals of Fluid Mechanics

Large Eddy Simulation of dispersed multiphase flow

Numerical Simulation of the Hagemann Entrainment Experiments

Implementation of Aeroacoustic Methods in OpenFOAM

Numerical Study of Natural Unsteadiness Using Wall-Distance-Free Turbulence Models

There are no simple turbulent flows

Fluid Dynamics Exercises and questions for the course

Chapter 1: Basic Concepts

Hybrid LES RANS Method Based on an Explicit Algebraic Reynolds Stress Model

Pressure-velocity correction method Finite Volume solution of Navier-Stokes equations Exercise: Finish solving the Navier Stokes equations

VALIDATION OF REYNOLDS AVERAGED MODEL AND LARGE EDDY SIMULATION IN ACTUAL FLOOR HEATING ROOM. Hiroki Ono 1 and Koji Sakai 1

Simulation of T-junction using LBM and VOF ENERGY 224 Final Project Yifan Wang,

General Curvilinear Ocean Model (GCOM): Enabling Thermodynamics

Conservation of Mass. Computational Fluid Dynamics. The Equations Governing Fluid Motion

Atmospheric Boundary Layer Studies with Unified RANS-LES and Dynamic LES Methods

A Discussion of Low Reynolds Number Flow for the Two-Dimensional Benchmark Test Case

Chapter 7 The Time-Dependent Navier-Stokes Equations Turbulent Flows

Code Verification of Multiphase Flow with MFIX

Transcription:

OpenFOAM selected solver Roberto Pieri - SCS Italy 16-18 June 2014

Introduction to Navier-Stokes equations and RANS Turbulence modelling Numeric discretization

Navier-Stokes equations Convective term {}}{ (U U) } {{ ν U } Viscous term U = 0 = 1 ρ P Equations are directly derived from conservation laws. U is the velocity vector, P is pressure and ρ is density. System of partial differential equations. Equations are valid for viscous, incompressible, steady flows in laminar regime.

Reynolds Averaged Navier-Stokes RANS equations (U U ) + U = 0 U = U + U. (U U ) }{{} Reynolds stresses tensor ν U = p Equations are obtained decomposing velocity vector and averaging. The term (U U ) represents a new unknown. A closure equation is required. p = P/ρ, it is only a mathematical function (equation of state is not present).

Turbulence modelling There are two different class of models: Eddy-viscosity models Based on Boussinesq hypotesis Very large number of models Different models for different flow conditions Reynolds stress models More recent Equations for every term of Reynolds stress tensor are required We are going to discuss the first class of models.

Turbulence modelling Eddy-viscosity models (I) Effective viscosity ν e is defined as follow: ν e (x) = ν + ν t (x) Reynolds stress tensor can be rewritten as follow: (U U ) = (ν t (x) U ) Momentume equation can be rewritten: (U U ) ν e U = p

Turbulence modelling Eddy-viscosity models (II) The new system of equations is: { ( U U ) νe (x) U = p U = 0 with ν e (x) = ν + ν t (x) In this formulation the model is totally confinated in ν t (x). A model for the effective viscosity is needed.

Turbulence modelling Eddy-viscosity models (III) Eddy-viscosity models are divided in three classes depending on the number of differential equations needed for the closure of the problem. 0-equation models (mixing length). 1-equation models (Spalart-Allmaras, k equation,...). 2-equations models (k ε, k ω,...).

Turbulence modelling Eddy-viscosity models (IV) An example of a 2-equation model is k ω. An equation for k is needed. An equation for ω is needed. The model is complete: ν t = C µ k ω where C µ is a constant (possible tuning).

OpenFOAM solvers Large number of solvers. Choose the solver that best suits your case study (compressible/incompressible, heat transfer, multiphase...). A first setup is always given by the tutorials. Attention: tutorials setup may not work for your case. One of the most used solvers is simplefoam.

OpenFOAM solvers Semi-Implicit Method for Pressure-Linked Equations (simplefoam) Suitable for incompressible, steady-state, viscous flows in laminar or turbulent regime. Used for internal and external flows. Very large documentation and test cases from the user community.

OpenFOAM solvers SIMPLE algorithm

s o l v e ( fvm : : d i v ( phi, U) + t u r b u l e n c e >d i v D e v R e f f (U) == f v c : : grad ( p ) ) ; OpenFOAM solvers SIMPLE implementation in OpenFOAM Top level code represents the equations being solved. OpenFOAM has functions for derivatives. e.g. div, grad, laplacian, curl. fvc:: returns a field, it is used to calculate the pressure gradient with current values (explicit). fvm:: returns an fvmatrix, it is used in order to discretise a term into matrix equation you wish to solve (implicit). solve function solves the equation.

OpenFOAM solvers Other solvers pisofoam: transient solver for incompressible flow; pimplefoam: merged PISO-SIMPLE can run transient; no Courant number limited, unlike PISO; can run pseudo-transient: big time step to reach steady-state with minimal under-relaxation; can be used in substitution of SIMPLE, gaining in stability of the solver. buoyantboussinesqsimplefoam: steady-state solver for buoyant, turbulent flow of incompressible fluids including Boussinesq approximation for stratified flow ϱ k = 1 β ( T T0 )