CEE 618 Scientific Parallel Computing (Lecture 10)

Size: px
Start display at page:

Download "CEE 618 Scientific Parallel Computing (Lecture 10)"

Transcription

1 1 / 20 CEE 618 Scientific Parallel Computing (Lecture 10) Computational Fluid Mechanics using OpenFOAM: Cavity (2) Albert S. Kim Department of Civil and Environmental Engineering University of Hawai i at Manoa 2540 Dole Street, Holmes 383, Honolulu, Hawaii 96822

2 2 / 20 Table of Contents 1 OpenFOAM: Overview 2 Mesh generation 3 Original tutorial case as it is Original tutorial case using parallel 4 Lab work

3 OpenFOAM: Overview Tool chain of Open-source CFD, OpenFOAM 3 / 20 In our case, blockmesh & gmsh OpenFOAM Paraview

4 OpenFOAM: Overview Specific Procedures 1 Mesh generation (gmsh) 1 Generate or modify geometry (.geo) file 2 Open geometry file and customize it if necessary 3 Generate mesh (.msh) file 2 OpenFOAM simulation 1 Convert.msh file (from gmsh) to OpenFOAM form using gmshtofoam 2 set boundary conditions 3 set initial conditions 4 adjust simulation parameters 5 run serial/parallel simulation using PBS 3 Paraview visualization 1 transfer compressed data file from server to your local computer 2 start Paraview and load.foam file (which has zero byte). 3 generate plots, e.g., color plot for pressure, vector plot for velocity vectors, and streamlines 4 / 20

5 5 / 20 gmsh tutorials Mesh generation 1 Manual 1 2 Gmsh tutorial 2 3 Gmsh-cavity tutorial

6 Original tutorial case as it is Simulation steps using cavity example 1 Log in fractal.eng.hawaii.edu using your private ssh-key. 2 Make OpenFOAM-Cases directory under your home dir.: $ mkdir OpenFOAM-Cases 3 Go to OpenFOAM-Cases and make/go to cavity dir.: $ cd OpenFOAM-Cases $ mkdir cavity $ cd cavity 4 Copy cavity files: $ cp -r /OpenFOAM/OpenFOAM-2.1.1/tutorials/incompressible/icoFoam/cavity/*./ 5 Run OpenFOAM simulation: (for large scale simulation, use PBS) $ touch cavity.foam $ blockmesh $ icofoam 6 Zip simulation directory to a file cavitydata.zip: $ cd.. $ zip -r cavitydata.zip cavity 6 / 20

7 7 / 20 blockmesh & icofoam Original tutorial case as it is 1 The mesh generator supplied with OpenFOAM, blockmesh, generates meshes from a description specified in an input dictionary, blockmeshdict located in the constant/polymesh directory for a given case. 2 As./constant/polyMesh/blockMeshDict exists, $ blockmesh 3 This will generate faces, neighbour, owner, points under./constant/polymesh/. 4 Although blockmesh is a solid mesh generator, it is difficult for beginners. 5 Initially, the flow will be assumed laminar and will be solved on a uniform mesh using the icofoam solver for laminar, isothermal, incompressible flow.

8 8 / 20 Before and After blockmesh Original tutorial case as it is

9 Original tutorial case as it is 9 / 20

10 10 / 20 running icofoam Original tutorial case as it is

11 11 / 20 Paraview-Visualization Original tutorial case as it is Figure: Pressure, velocity, and streamlines

12 Original tutorial case using parallel Parallel running of icofoam after blockmesh 1 Generate decomposepardict file under system. 2 numberofsubdomains = n x n y n z: 4 = We will use the simple method. delta is the cell skewed number, default= / * * C++ * * \ 2 ========= 3 \ \ / F i e l d OpenFOAM: The Open Source CFD Toolbox 4 \ \ / O p e r a t i o n Version : \ \ / A nd Web: org 6 \ \ / M a n i p u l a t i o n 7 \ * * / 8 FoamFile 9 { 10 version 2. 0 ; 11 format a s c i i ; 12 class dictionary ; 13 location " system " ; 14 object decomposepardict ; 15 } 16 / / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / / numberofsubdomains 4; method simple ; simplecoeffs 23 { 24 n ( ) ; 25 d e l t a 0.001; 26 } 12 / 20

13 13 / 20 Original tutorial case using parallel decomposepar mpirun reconstructpar

14 14 / 20 Original tutorial case using parallel decomposepar mpirun reconstructpar 1 Four directories are generated: processor0, processor1, processor2, and processor3.

15 15 / 20 Original tutorial case using parallel decomposepar mpirun reconstructpar 1 format: mpirunany.sh <Foam-Command> -parallel 2 PBS script is below. 1 #! / bin / bash 2 #PBS l w a l l t i m e =01:00:00 3 #PBS q batch 4 #PBS l nodes =04: ppn=1 5 #PBS N PRL icofoam 6 #PBS V 7 cd $PBS_O_WORKDIR 8 mpirunany. sh icofoam p a r a l l e l 3 Note that node=04 because numberofsubdomains=4 =

16 16 / 20 Original tutorial case using parallel decomposepar mpirun reconstructpar After the parallel run is finished, under each of processori directory, created directories are: 0, 0.1, 0.2, 0.3, 0.4, 0.5, and constant. Type/Enter: $ reconstructpar

17 17 / 20 Original tutorial case using parallel decomposepar mpirun reconstructpar Directories of 0.1,..., and 0.5 are reconstructed in the case directory.

18 18 / 20 Visualization Original tutorial case using parallel 1 Paraview visualization is same as the previous discussion. Figure: Pressure, velocity, and streamlines

19 19 / 20 OpenFOAM: dimension setting Original tutorial case using parallel 1 OpenFOAM dimension setting 4 2 Examples p dimensions [ ]: m 2 s 2 = m 2 /s 2 p = Force kg m s 2 = Area Density m 2 kg/m 3 = m2 s 2 U dimensions [ ]; m 1 s 1 = m/s nu [ ] 0.01; m 2 s 1 = m 2 /s ν=kinematic viscosity = absolute viscosity / density 4

20 Lab work Labwork: Non-cubic cavity 20 / 20 1 Use Gmsh to generate a mesh. You can edit.geo file for the cubic cavity, load it to gmsh, and generate a mesh. 2 Use OpenFoam for flow simulation. Run in (a) serial mode and (b) parallel mode using 4 (or more) processors. 3 Use Paraview for visualization and movie making.

Running OpenFOAM in parallel

Running OpenFOAM in parallel Running OpenFOAM in parallel Tommaso Lucchini Department of Energy Politecnico di Milano Running in parallel The method of parallel computing used by OpenFOAM is known as domain decomposition, in which

More information

OpenFOAM Basic Training Tutorial Nine

OpenFOAM Basic Training Tutorial Nine Tutorial Nine 3 rd edition, Feb. 25 This offering is not approved or endorsed by ESI Group, ESI-OpenCFD or the OpenFOAM Foundation, the producer of the OpenFOAM software and owner of the OpenFOAM trademark.

More information

Open Source Software Course: Assignment 1

Open Source Software Course: Assignment 1 Open Source Software Course: Assignment 1 Mengmeng Zhang Aeronautical and Vehicle Engineering, Royal Insistute of Technology (KTH), Stockholm, Sweden 2012-09-09 Mengmeng Zhang Open Source Software Course

More information

AM119: Yet another OpenFoam tutorial

AM119: Yet another OpenFoam tutorial AM119: Yet another OpenFoam tutorial Prof. Trask April 11, 2016 1 Todays project Today we re going to implement a projection method for the Navier-Stokes, learn how to build a mesh, and explore the difference

More information

This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM and OpenCFD trade marks.

This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM and OpenCFD trade marks. Disclaimer This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM and OpenCFD trade marks. Introductory OpenFOAM Course From 8 th

More information

More tutorials. Håkan Nilsson, Chalmers/ Applied Mechanics/ Fluid Dynamics 67

More tutorials. Håkan Nilsson, Chalmers/ Applied Mechanics/ Fluid Dynamics 67 More tutorials Wewillnowlearnhowtousea(small)numberofusefulutilitiesandlibraries. Some of them are described in the UserGuide and ProgrammersGuide, and some ofthemhavebeendiscussedintheforum. Inyourhomeassignmentyouwillbeaskedtogothroughallthewrittentutorials

More information

2. Plane-parallel plates laminar

2. Plane-parallel plates laminar OPENFOAM GUIDE FOR BEGINNERS 2. Plane-parallel plates laminar flow 2.1 Description of the case This first tutorial studies the flow between two plane-parallel plates separated by a distance h so that their

More information

Notes on OpenFOAM cases. Daniel Duque Dep. Ciencias Aplicadas a la Ingeniería Naval ETSIN, UPM

Notes on OpenFOAM cases. Daniel Duque Dep. Ciencias Aplicadas a la Ingeniería Naval ETSIN, UPM Notes on OpenFOAM cases Daniel Duque Dep. Ciencias Aplicadas a la Ingeniería Naval ETSIN, UPM October 11, 2012 Contents 1 Setup 2 1.1 Installation............................ 2 1.2 Session setup...........................

More information

Introduction to the Computer Exercices Turbulence: Theory and Modelling R.Z. Szasz, Energy Sciences, LTH Lund University

Introduction to the Computer Exercices Turbulence: Theory and Modelling R.Z. Szasz, Energy Sciences, LTH Lund University Introduction to the Computer Exercices Turbulence: Theory and Modelling R.Z. Szasz, Energy Sciences, LTH Lund University Outline VERY short CFD introduction Steps of problem solving The software used:

More information

How to get started with OpenFOAM at SHARCNET

How to get started with OpenFOAM at SHARCNET How to get started with OpenFOAM at SHARCNET, High Performance Technical Consultant SHARCNET, York University isaac@sharcnet.ca Outlines Introduction to OpenFOAM Compilation in SHARCNET Pre/Post-Processing

More information

Running in parallel. Total number of cores available after hyper threading (virtual cores)

Running in parallel. Total number of cores available after hyper threading (virtual cores) First at all, to know how many processors/cores you have available in your computer, type in the terminal: $> lscpu The output for this particular workstation is the following: Architecture: x86_64 CPU

More information

OpenFOAM GUIDE FOR BEGINNERS

OpenFOAM GUIDE FOR BEGINNERS OpenFOAM GUIDE FOR BEGINNERS Authors This guide has been developed by: In association with: Pedro Javier Gamez and Gustavo Raush The Foam House Barcelona ETSEIAT-UPC June 2014 2 OPENFOAM GUIDE FOR BEGINNERS

More information

Flow and Heat Transfer in a Mixing Elbow

Flow and Heat Transfer in a Mixing Elbow Flow and Heat Transfer in a Mixing Elbow Objectives The main objectives of the project are to learn (i) how to set up and perform flow simulations with heat transfer and mixing, (ii) post-processing and

More information

Tutorial Two Built in Mesh

Tutorial Two Built in Mesh Built in Mesh 4 th edition, Jan. 2018 This offering is not approved or endorsed by ESI Group, ESI-OpenCFD or the OpenFOAM Foundation, the producer of the OpenFOAM software and owner of the OpenFOAM trademark.

More information

OpenFOAM. q Open source CFD toolbox, which supplies preconfigured solvers, utilities and libraries.

OpenFOAM. q Open source CFD toolbox, which supplies preconfigured solvers, utilities and libraries. OpenFOAM q Open source CFD toolbox, which supplies preconfigured solvers, utilities and libraries. q Flexible set of efficient C++ modules---object-oriented. q Use Finite-Volume Method (FVM) to solve systems

More information

OpenFOAM. in wastewater applications: 2 - Getting Started th June 2015

OpenFOAM. in wastewater applications: 2 - Getting Started th June 2015 OpenFOAM in wastewater applications: 2 - Getting Started n elson.marques@bluecape.com.pt 13-14 th June 2015 Progress Introduction OpenFOAM characterization bluecfd installation Getting started Simulation

More information

Computational Fluid Dynamics in OpenFOAM

Computational Fluid Dynamics in OpenFOAM Computational Fluid Dynamics in OpenFOAM Mesh Generation and Quality Rebecca Gullberg December 1, 2017 TKP 4555 Advanced Process Simulation Abstract In this report, three different mesh generation methods

More information

Fully turbulent flow around a sphere using OpenFOAM

Fully turbulent flow around a sphere using OpenFOAM Fully turbulent flow around a sphere using OpenFOAM In this tutorial you will simulate a fully turbulent flow with a Reynolds number of 1 million around a sphere with a radius of 1 m using a given CAD

More information

Open Source Computational Fluid Dynamics

Open Source Computational Fluid Dynamics Open Source Computational Fluid Dynamics An MSc course to gain extended knowledge in Computational Fluid Dynamics (CFD) using open source software. Zoltán Hernádi Department of Fluid Mechanics Budapest

More information

Introduction to fluid mechanics simulation using the OpenFOAM technology

Introduction to fluid mechanics simulation using the OpenFOAM technology Introduction to fluid mechanics simulation using the OpenFOAM technology «Simulation in porous media from pore to large scale» Part II: Mesh complex geometries, application to the evaluation of permeability,

More information

Open FOAM. The Open Source CFD Toolbox. User Guide

Open FOAM. The Open Source CFD Toolbox. User Guide Open FOAM The Open Source CFD Toolbox User Guide Version 1.6 24th July 2009 U-2 Copyright c 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 OpenCFD Limited. Permission is granted to copy, distribute

More information

Steady Flow: Lid-Driven Cavity Flow

Steady Flow: Lid-Driven Cavity Flow STAR-CCM+ User Guide Steady Flow: Lid-Driven Cavity Flow 2 Steady Flow: Lid-Driven Cavity Flow This tutorial demonstrates the performance of STAR-CCM+ in solving a traditional square lid-driven cavity

More information

SGI OpenFOAM TM Quick Start Guide

SGI OpenFOAM TM Quick Start Guide SGI OpenFOAM TM Quick Start Guide 007 5817 001 COPYRIGHT 2012, SGI. All rights reserved; provided portions may be copyright in third parties, as indicated elsewhere herein. No permission is granted to

More information

snappyhexmesh Basic Training single Region meshing simulation of heat transfer with scalartransportfoam

snappyhexmesh Basic Training single Region meshing simulation of heat transfer with scalartransportfoam Basic Training single Region meshing simulation of heat transfer with scalartransportfoam 1 st edition, Aug. 2015 Editor: Philipp Schretter (TU Wien) Tutorial One: Single Region Meshing Mesh creation The

More information

Hands-On Training with OpenFOAM

Hands-On Training with OpenFOAM Hands-On Training with OpenFOAM Flow Around a 2-D Airfoil Hrvoje Jasak hrvoje.jasak@fsb.hr Faculty of Mechanical Engineering and Naval Architecture University of Zagreb, Croatia Hands-On Training with

More information

Open Source Computational Fluid Dynamics

Open Source Computational Fluid Dynamics Open Source Computational Fluid Dynamics An MSc course to gain extended knowledge in Computational Fluid Dynamics (CFD) using open source software. Teachers: Miklós Balogh and Zoltán Hernádi Department

More information

A simple validation case Hagen-Poiseuille solution

A simple validation case Hagen-Poiseuille solution Hagen-Poiseuille solution Re = 100 Incompressible flow Physical and numerical side of the problem: The governing equations of the problem are the incompressible laminar Navier-Stokes equations. We are

More information

Introductory OpenFOAM Course From 17th to 21st February, Matteo Bargiacchi

Introductory OpenFOAM Course From 17th to 21st February, Matteo Bargiacchi Introductory OpenFOAM Course From 17th to 21st February, 2014 Matteo Bargiacchi bargiacchi@wolfdynamics.com This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software

More information

OpenFOAM Wind Simulation Tutorial

OpenFOAM Wind Simulation Tutorial H2020-EINFRA-2015-1 VI-SEEM VRE for regional Interdisciplinary communities in Southeast Europe and the EasternMediterranean OpenFOAM Wind Simulation Tutorial Author(s): Status Version: Distribution - Type:

More information

Linux & OpenFOAM Primer v1.1 AOE 3264 Resistance and Propulsion of Ships

Linux & OpenFOAM Primer v1.1 AOE 3264 Resistance and Propulsion of Ships Linux & OpenFOAM Primer v1.1 AOE 3264 Resistance and Propulsion of Ships Prof. E.G. Paterson 3 February 2017 1 Computing options Practical engineering analysis using computational fluid dynamics (CFD)

More information

Pre-compiled applications and utilities in OpenFOAM

Pre-compiled applications and utilities in OpenFOAM Pre-compiled applications and utilities in OpenFOAM Tommaso Lucchini Department of Energy Politecnico di Milano Learning outcome You will learn... the meaning of the words applications, solvers, and utilities

More information

Isotropic Porous Media Tutorial

Isotropic Porous Media Tutorial STAR-CCM+ User Guide 3927 Isotropic Porous Media Tutorial This tutorial models flow through the catalyst geometry described in the introductory section. In the porous region, the theoretical pressure drop

More information

Laminar Flow in a Tube Bundle using Code Saturne and the GUI 01 TB LAM GUI 4.0

Laminar Flow in a Tube Bundle using Code Saturne and the GUI 01 TB LAM GUI 4.0 Laminar Flow in a Tube Bundle using Code Saturne and the GUI 01 TB LAM GUI 4.0 09-10/09/2015 1 Introduction Flows through tubes bundles are encountered in many heat exchanger applications. One example

More information

Presentation slides for the course CFD with OpenSource Software 2015

Presentation slides for the course CFD with OpenSource Software 2015 Presentation slides for the course CFD with OpenSource Software 2015 Sebastian Kohlstädt Applied Mechanics/Fluid Dynamics, Chalmers University of Technology, Gothenburg, Sweden 2015-12-08 Sebastian Kohlstädt

More information

OpenFOAM Tutorial. [ ] Numerical Methods in Fluid Dynamics. Finite Volume Method, Dictionary Syntax, and Implementation Details

OpenFOAM Tutorial. [ ] Numerical Methods in Fluid Dynamics. Finite Volume Method, Dictionary Syntax, and Implementation Details [302.044] Numerical Methods in Fluid Dynamics Tutorial Finite Volume Method, Dictionary Syntax, and Implementation Details Univ. Assist. MSc. Francesco Romanò francesco.romano@tuwien.ac.at December 11th,

More information

Project work for the PhD course in OpenFOAM

Project work for the PhD course in OpenFOAM Project work for the PhD course in OpenFOAM A tutorial on how to use Dynamic Mesh solver IcoDyMFOAM Performed by: Pirooz Moradnia Contact: pirooz.moradnia@forbrf.lth.se Spring 2008, Göteborg-Sweden Introduction:

More information

Team 194: Aerodynamic Study of Airflow around an Airfoil in the EGI Cloud

Team 194: Aerodynamic Study of Airflow around an Airfoil in the EGI Cloud Team 194: Aerodynamic Study of Airflow around an Airfoil in the EGI Cloud CFD Support s OpenFOAM and UberCloud Containers enable efficient, effective, and easy access and use of MEET THE TEAM End-User/CFD

More information

How to implement an application

How to implement an application How to implement an application Håkan Nilsson, Chalmers / Mechanics and Maritime Sciences / Fluid Dynamics 1 Prerequisites How to implement an application You are familiar with the directory structure

More information

Introduction to CFX. Workshop 2. Transonic Flow Over a NACA 0012 Airfoil. WS2-1. ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Introduction to CFX. Workshop 2. Transonic Flow Over a NACA 0012 Airfoil. WS2-1. ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved. Workshop 2 Transonic Flow Over a NACA 0012 Airfoil. Introduction to CFX WS2-1 Goals The purpose of this tutorial is to introduce the user to modelling flow in high speed external aerodynamic applications.

More information

Generic external aerodynamic simulation training

Generic external aerodynamic simulation training Generic dynamic simulation move-csc UG www. Inst. Scientific Computing, TU Braunschweig 25.06.2012 1 / 57 Table of contents 1 2 3 4 5 6 7 8 Post-processing 2 / 57 Aim Focus of the presentation to present

More information

Examples of how to use some utilities and functionobjects

Examples of how to use some utilities and functionobjects Examples of how to use some utilities and functionobjects (and some Gnuplot, Python, Matplotlib) Håkan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 1 Some utilities and functionobjects We will

More information

Computational Study of Laminar Flowfield around a Square Cylinder using Ansys Fluent

Computational Study of Laminar Flowfield around a Square Cylinder using Ansys Fluent MEGR 7090-003, Computational Fluid Dynamics :1 7 Spring 2015 Computational Study of Laminar Flowfield around a Square Cylinder using Ansys Fluent Rahul R Upadhyay Master of Science, Dept of Mechanical

More information

Open FOAM. The Open Source CFD Toolbox. User Guide

Open FOAM. The Open Source CFD Toolbox. User Guide Open FOAM The Open Source CFD Toolbox User Guide Version 2.3.0 5th February 2014 U-2 Copyright c 2011-2014 OpenFOAM Foundation. This work is licensed under a Creative Commons Attribution-NonCommercial-

More information

Setting up the watersprinkler case

Setting up the watersprinkler case Setting up the watersprinkler case The modifications should be done using the dambreak case, therefore we should copy it to a new directory run mkdir sprinkler cp -r $FOAM_TUTORIALS/multiphase/interFoam/laminar/damBreak

More information

Parallel scalability with OpenFOAM

Parallel scalability with OpenFOAM Parallel scalability with OpenFOAM Table of Contents Access to the system and load the environment Set-up of the test-case: 3-D Lid driven cavity flow Remote viz with RCM of the test-case Run with batch

More information

Introduction and Overview Extracting the input file Loading the input file into FLOW-3D Cast v

Introduction and Overview Extracting the input file Loading the input file into FLOW-3D Cast v Contents Introduction and Overview... 2 Extracting the input file... 2 Loading the input file into FLOW-3D Cast v4.0... 3 Assigning definitions to geometry... 3 Required conversions... 4 Meshing and Geometry...

More information

Laminar Flow in tube bundles using Code Saturne

Laminar Flow in tube bundles using Code Saturne MSc/4th Year Aerospace Advanced CFD Laboratory Laminar Flow in tube bundles using Code Saturne 03/03/10 1 Introduction Flows through tubes bundles are encountered in many heat exchanger applications. One

More information

Solution Recording and Playback: Vortex Shedding

Solution Recording and Playback: Vortex Shedding STAR-CCM+ User Guide 6663 Solution Recording and Playback: Vortex Shedding This tutorial demonstrates how to use the solution recording and playback module for capturing the results of transient phenomena.

More information

Tutorial Turbulent Flow and Minor Loss through a Pipe Elbow, Page 1 Pointwise to OpenFOAM Tutorial Minor Losses through a Pipe Elbow

Tutorial Turbulent Flow and Minor Loss through a Pipe Elbow, Page 1 Pointwise to OpenFOAM Tutorial Minor Losses through a Pipe Elbow Tutorial Turbulent Flow and Minor Loss through a Pipe Elbow, Page 1 Pointwise to OpenFOAM Tutorial Minor Losses through a Pipe Elbow Introduction This tutorial provides instructions for meshing an internal

More information

Multiphase flow metrology in oil and gas production: Case study of multiphase flow in horizontal tube

Multiphase flow metrology in oil and gas production: Case study of multiphase flow in horizontal tube Multiphase flow metrology in oil and gas production: Case study of multiphase flow in horizontal tube Deliverable 5.1.2 of Work Package WP5 (Creating Impact) Authors: Stanislav Knotek Czech Metrology Institute

More information

Fluid Dynamics Software Lab. Flow past an airfoil

Fluid Dynamics Software Lab. Flow past an airfoil Second Summer School on Embodied Intelligence Simulation and Modelling within Embodied Intelligence 27 June - 1 July 2011, Zürich, Switzerland Dr Asimina Kazakidi Foundation for Research and Technology

More information

Introductory OpenFOAM Course From 2 nd to 6 th July, Joel Guerrero University of Genoa, DICAT

Introductory OpenFOAM Course From 2 nd to 6 th July, Joel Guerrero University of Genoa, DICAT Introductory OpenFOAM Course From 2 nd to 6 th July, 2012 Joel Guerrero University of Genoa, DICAT Dipartimento di Ingegneria delle Costruzioni, dell'ambiente e del Territorio Your Lecturer Joel GUERRERO

More information

Performance of Implicit Solver Strategies on GPUs

Performance of Implicit Solver Strategies on GPUs 9. LS-DYNA Forum, Bamberg 2010 IT / Performance Performance of Implicit Solver Strategies on GPUs Prof. Dr. Uli Göhner DYNAmore GmbH Stuttgart, Germany Abstract: The increasing power of GPUs can be used

More information

OpenFOAM workshop for beginners: Hands-on training

OpenFOAM workshop for beginners: Hands-on training OpenFOAM workshop for beginners: Hands-on training Jibran Haider a, b Erasmus Mundus PhD (SEED) candidate in computational mechanics a Zienkiewicz Centre for Computational Engineering (ZCCE), College of

More information

Verification and Validation of Turbulent Flow around a Clark-Y Airfoil

Verification and Validation of Turbulent Flow around a Clark-Y Airfoil Verification and Validation of Turbulent Flow around a Clark-Y Airfoil 1. Purpose 58:160 Intermediate Mechanics of Fluids CFD LAB 2 By Tao Xing and Fred Stern IIHR-Hydroscience & Engineering The University

More information

Simulation of Turbulent Flow around an Airfoil

Simulation of Turbulent Flow around an Airfoil 1. Purpose Simulation of Turbulent Flow around an Airfoil ENGR:2510 Mechanics of Fluids and Transfer Processes CFD Lab 2 (ANSYS 17.1; Last Updated: Nov. 7, 2016) By Timur Dogan, Michael Conger, Andrew

More information

Tutorial Four Discretization Part 1

Tutorial Four Discretization Part 1 Discretization Part 1 4 th edition, Jan. 2018 This offering is not approved or endorsed by ESI Group, ESI-OpenCFD or the OpenFOAM Foundation, the producer of the OpenFOAM software and owner of the OpenFOAM

More information

1 Motorbike with ParaFoam

1 Motorbike with ParaFoam Motorbike with ParaFoam Leon Kos, University of Ljubljana, Slovenia University of Ljubljana PRACE Summer of HPC 2017 Training Week 7 July 2017, Ostrava 1 Motorbike with ParaFoam Learning outcome After

More information

MESHLESS SOLUTION OF INCOMPRESSIBLE FLOW OVER BACKWARD-FACING STEP

MESHLESS SOLUTION OF INCOMPRESSIBLE FLOW OVER BACKWARD-FACING STEP Vol. 12, Issue 1/2016, 63-68 DOI: 10.1515/cee-2016-0009 MESHLESS SOLUTION OF INCOMPRESSIBLE FLOW OVER BACKWARD-FACING STEP Juraj MUŽÍK 1,* 1 Department of Geotechnics, Faculty of Civil Engineering, University

More information

Simulation of Turbulent Flow in an Asymmetric Diffuser

Simulation of Turbulent Flow in an Asymmetric Diffuser Simulation of Turbulent Flow in an Asymmetric Diffuser 1. Purpose 58:160 Intermediate Mechanics of Fluids CFD LAB 3 By Tao Xing and Fred Stern IIHR-Hydroscience & Engineering The University of Iowa C.

More information

TUTORIAL#4. Marek Jaszczur. Turbulent Thermal Boundary Layer on a Flat Plate W1-1 AGH 2018/2019

TUTORIAL#4. Marek Jaszczur. Turbulent Thermal Boundary Layer on a Flat Plate W1-1 AGH 2018/2019 TUTORIAL#4 Turbulent Thermal Boundary Layer on a Flat Plate Marek Jaszczur AGH 2018/2019 W1-1 Problem specification TUTORIAL#4 Turbulent Thermal Boundary Layer - on a flat plate Goal: Solution for Non-isothermal

More information

ANSYS AIM Tutorial Turbulent Flow Over a Backward Facing Step

ANSYS AIM Tutorial Turbulent Flow Over a Backward Facing Step ANSYS AIM Tutorial Turbulent Flow Over a Backward Facing Step Author(s): Sebastian Vecchi, ANSYS Created using ANSYS AIM 18.1 Problem Specification Pre-Analysis & Start Up Governing Equation Start-Up Geometry

More information

TUTORIAL#3. Marek Jaszczur. Boundary Layer on a Flat Plate W1-1 AGH 2018/2019

TUTORIAL#3. Marek Jaszczur. Boundary Layer on a Flat Plate W1-1 AGH 2018/2019 TUTORIAL#3 Boundary Layer on a Flat Plate Marek Jaszczur AGH 2018/2019 W1-1 Problem specification TUTORIAL#3 Boundary Layer - on a flat plate Goal: Solution for boudary layer 1. Creating 2D simple geometry

More information

Immersed Boundary Method in FOAM

Immersed Boundary Method in FOAM Immersed Boundary Method in FOAM Theory, Implementation and Use Hrvoje Jasak and Željko Tuković Chalmers University, Gothenburg Faculty of Mechanical Engineering and Naval Architecture, Zagreb Immersed

More information

How to implement a new boundary condition

How to implement a new boundary condition How to implement a new boundary condition Håkan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 1 How to implement a new boundary condition The implementations of the boundary conditions are located

More information

A B C D E. Settings Choose height, H, free stream velocity, U, and fluid (dynamic viscosity and density ) so that: Reynolds number

A B C D E. Settings Choose height, H, free stream velocity, U, and fluid (dynamic viscosity and density ) so that: Reynolds number Individual task Objective To derive the drag coefficient for a 2D object, defined as where D (N/m) is the aerodynamic drag force (per unit length in the third direction) acting on the object. The object

More information

Tutorial Ten Residence Time Distribution

Tutorial Ten Residence Time Distribution Residence Time Distribution 4 th edition, Jan. 2018 This offering is not approved or endorsed by ESI Group, ESI-OpenCFD or the OpenFOAM Foundation, the producer of the OpenFOAM software and owner of the

More information

Handling Parallelisation in OpenFOAM

Handling Parallelisation in OpenFOAM Handling Parallelisation in OpenFOAM Hrvoje Jasak hrvoje.jasak@fsb.hr Faculty of Mechanical Engineering and Naval Architecture University of Zagreb, Croatia Handling Parallelisation in OpenFOAM p. 1 Parallelisation

More information

The viscous forces on the cylinder are proportional to the gradient of the velocity field at the

The viscous forces on the cylinder are proportional to the gradient of the velocity field at the Fluid Dynamics Models : Flow Past a Cylinder Flow Past a Cylinder Introduction The flow of fluid behind a blunt body such as an automobile is difficult to compute due to the unsteady flows. The wake behind

More information

Coupling of Serpent Neutron Transport Code to OpenFOAM

Coupling of Serpent Neutron Transport Code to OpenFOAM Coupling of Serpent Neutron Transport Code to OpenFOAM Ashkhen Nalbandyan Center for Nuclear Technologies, Technnical University of Denmark, Roskilde, Denmark 2018-11-29 Ashkhen Nalabndyan Beamer slides

More information

Folder structure and pre-defined File Names in OpenFOAM

Folder structure and pre-defined File Names in OpenFOAM Folder structure and re-defined File Names in OenFOAM Folder Sub-Folders Files / Folder Files / Folder Files / Folder Files / Folder Exlanation constant/ Allclean Allrun olymesh/ - - - oints File to remove

More information

The Durham gmsh Tutorial

The Durham gmsh Tutorial Introduction The Durham This provides a short step by step guide to meshing an aerofoil using the gmsh package. The aim being to introduce you the important features of the program in the shortest possible

More information

Simulation of nasal. flow...

Simulation of nasal. flow... ...... Simulation of nasal flow Development of a process for estimating the pressure drop W.Liu, U.Janoske Lehrstuhl Strömungsmechanik, Bergische Universität Wuppertal B.Schmalenbeck, S.Langenberg, KWG

More information

Simulation of Turbulent Flow over the Ahmed Body

Simulation of Turbulent Flow over the Ahmed Body Simulation of Turbulent Flow over the Ahmed Body 58:160 Intermediate Mechanics of Fluids CFD LAB 4 By Timur K. Dogan, Michael Conger, Maysam Mousaviraad, and Fred Stern IIHR-Hydroscience & Engineering

More information

OpenFOAM Tutorial. Adaptive mesh refinement. - The development of a new application. Anton Berce, October 16, 2010

OpenFOAM Tutorial. Adaptive mesh refinement. - The development of a new application. Anton Berce, October 16, 2010 OpenFOAM Tutorial Adaptive mesh refinement - The development of a new application, October 16, 2010, Chalmers / Solid and Fluid Dynamics 1 Project Definition Agenda Tutorial icoerrorestimate Tutorial refinemesh

More information

Adjoint Solver Workshop

Adjoint Solver Workshop Adjoint Solver Workshop Why is an Adjoint Solver useful? Design and manufacture for better performance: e.g. airfoil, combustor, rotor blade, ducts, body shape, etc. by optimising a certain characteristic

More information

Simulation of Turbulent Flow around an Airfoil

Simulation of Turbulent Flow around an Airfoil Simulation of Turbulent Flow around an Airfoil ENGR:2510 Mechanics of Fluids and Transfer Processes CFD Pre-Lab 2 (ANSYS 17.1; Last Updated: Nov. 7, 2016) By Timur Dogan, Michael Conger, Andrew Opyd, Dong-Hwan

More information

A look inside icofoam (and pisofoam) Håkan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 235

A look inside icofoam (and pisofoam) Håkan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 235 A look inside icofoam (and pisofoam) Håkan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 235 A look inside icofoam TheicoFoam directory consists of the following: createfields.h Make/ icofoam.c

More information

Convective Heat transfer in a vertical slot for the course CFD with OpenSource Software

Convective Heat transfer in a vertical slot for the course CFD with OpenSource Software for the course CFD with OpenSource Software Applied Mechanics/Fluid Dynamics, Chalmers University of Technology, Gothenburg, Sweden December 10, 2016 December 10, 2016 1 / Contents 1 Introduction 2 buoyantboussinesqsimplefoam

More information

A FSI tutorial on the axialturbine tutorial case

A FSI tutorial on the axialturbine tutorial case CFD with OpenSource software A course at Chalmers University of Technology Taught by Håkan Nilsson Project work: A FSI tutorial on the axialturbine tutorial case Developed for FOAM-3.1-ext Case files:

More information

A COUPLED FINITE VOLUME SOLVER FOR THE SOLUTION OF LAMINAR TURBULENT INCOMPRESSIBLE AND COMPRESSIBLE FLOWS

A COUPLED FINITE VOLUME SOLVER FOR THE SOLUTION OF LAMINAR TURBULENT INCOMPRESSIBLE AND COMPRESSIBLE FLOWS A COUPLED FINITE VOLUME SOLVER FOR THE SOLUTION OF LAMINAR TURBULENT INCOMPRESSIBLE AND COMPRESSIBLE FLOWS L. Mangani Maschinentechnik CC Fluidmechanik und Hydromaschinen Hochschule Luzern Technik& Architektur

More information

Verification of Laminar and Validation of Turbulent Pipe Flows

Verification of Laminar and Validation of Turbulent Pipe Flows 1 Verification of Laminar and Validation of Turbulent Pipe Flows 1. Purpose ME:5160 Intermediate Mechanics of Fluids CFD LAB 1 (ANSYS 18.1; Last Updated: Aug. 1, 2017) By Timur Dogan, Michael Conger, Dong-Hwan

More information

Simulation and Validation of Turbulent Pipe Flows

Simulation and Validation of Turbulent Pipe Flows Simulation and Validation of Turbulent Pipe Flows ENGR:2510 Mechanics of Fluids and Transport Processes CFD LAB 1 (ANSYS 17.1; Last Updated: Oct. 10, 2016) By Timur Dogan, Michael Conger, Dong-Hwan Kim,

More information

Verification and Validation of Turbulent Flow around a Clark-Y Airfoil

Verification and Validation of Turbulent Flow around a Clark-Y Airfoil 1 Verification and Validation of Turbulent Flow around a Clark-Y Airfoil 1. Purpose ME:5160 Intermediate Mechanics of Fluids CFD LAB 2 (ANSYS 19.1; Last Updated: Aug. 7, 2018) By Timur Dogan, Michael Conger,

More information

Verification and Validation in CFD and Heat Transfer: ANSYS Practice and the New ASME Standard

Verification and Validation in CFD and Heat Transfer: ANSYS Practice and the New ASME Standard Verification and Validation in CFD and Heat Transfer: ANSYS Practice and the New ASME Standard Dimitri P. Tselepidakis & Lewis Collins ASME 2012 Verification and Validation Symposium May 3 rd, 2012 1 Outline

More information

Appendix: To be performed during the lab session

Appendix: To be performed during the lab session Appendix: To be performed during the lab session Flow over a Cylinder Two Dimensional Case Using ANSYS Workbench Simple Mesh Latest revision: September 18, 2014 The primary objective of this Tutorial is

More information

OpenFOAM Project: Different ways to treat rotating geometries

OpenFOAM Project: Different ways to treat rotating geometries /*-------------------------------------------------------------------------------------------------------*\ ======== \\ / F ield OpenFOAM: The Open Source CFD Toolbox \\ / O peration \\ / A nd Copyright

More information

Flow prediction in brain aneurysms using OpenFOAM. M. de Groot

Flow prediction in brain aneurysms using OpenFOAM. M. de Groot Flow prediction in brain aneurysms using OpenFOAM M. de Groot September 2, 204 Abstract Methods to detect aneurysms in the brain have existed for some decades. A relatively new method, 3D rotational angiography

More information

AM119: HW4 and more OpenFOAM tutorials

AM119: HW4 and more OpenFOAM tutorials AM119: HW4 and more OpenFOAM tutorials Prof. Trask April 25, 2016 1 Final assignment: the k ɛ model in Open- Foam In the last two lectures we ve learned a little bit about the ideas behind turbulence modeling.

More information

Tutorial: Simulating a 3D Check Valve Using Dynamic Mesh 6DOF Model And Diffusion Smoothing

Tutorial: Simulating a 3D Check Valve Using Dynamic Mesh 6DOF Model And Diffusion Smoothing Tutorial: Simulating a 3D Check Valve Using Dynamic Mesh 6DOF Model And Diffusion Smoothing Introduction The purpose of this tutorial is to demonstrate how to simulate a ball check valve with small displacement

More information

CCP-WSI Programming Day : Course Notes

CCP-WSI Programming Day : Course Notes CCP-WSI Programming Day : Course Notes Learning Outcomes: Modifying, writing and compiling OpenFOAM apps, model (shared object) libraries for runtime selection. These notes accompny the code examples which

More information

Terminal Falling Velocity of a Sand Grain

Terminal Falling Velocity of a Sand Grain Terminal Falling Velocity of a Sand Grain Introduction The first stop for polluted water entering a water work is normally a large tank, where large particles are left to settle. More generally, gravity

More information

Coupled Analysis of FSI

Coupled Analysis of FSI Coupled Analysis of FSI Qin Yin Fan Oct. 11, 2008 Important Key Words Fluid Structure Interface = FSI Computational Fluid Dynamics = CFD Pressure Displacement Analysis = PDA Thermal Stress Analysis = TSA

More information

This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM and OpenCFD trade marks.

This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM and OpenCFD trade marks. Disclaimer This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM and OpenCFD trade marks. Introductory OpenFOAM Course From 8 th

More information

Coupling OpenFOAM and MBDyn with precice coupling tool

Coupling OpenFOAM and MBDyn with precice coupling tool Coupling OpenFOAM and MBDyn with precice coupling tool Mikko Folkersma Faculty of Aerospace Engineering Section of Wind Energy Delft University of Technology Delft, The Netherlands Outline 1. Introduction

More information

OpenFOAM and Third Party Structural Solver for Fluid Structure Interaction Simulations

OpenFOAM and Third Party Structural Solver for Fluid Structure Interaction Simulations OpenFOAM and Third Party Structural Solver for Fluid Structure Interaction Simulations Robert L. Campbell rlc138@arl.psu.edu Fluids and Structural Mechanics Office Applied Research Laboratory The Pennsylvania

More information

RhinoCFD Tutorial. Flow Past a Sphere

RhinoCFD Tutorial. Flow Past a Sphere RhinoCFD Tutorial Flow Past a Sphere RhinoCFD Ocial document produced by CHAM September 26, 2017 Introduction Flow Past a Sphere This tutorial will describe a simple calculation of ow around a sphere and

More information

Post-processing in parafoam (ParaView-5.0.1)

Post-processing in parafoam (ParaView-5.0.1) Post-processing in parafoam (ParaView-5.0.1) The 2018 installation instructions are for ParaView-5.4.1, and for the native/built-in reader. Differences will be pointed out. Note that in some cases there

More information

Implementing third order compressible flow solver for hexahedral meshes in OpenFoam

Implementing third order compressible flow solver for hexahedral meshes in OpenFoam Tutorial/Report in OpenFoam Course 8 Implementing third order compressible flow solver for hexahedral meshes in OpenFoam Martin Olausson, Chalmers University of Technology, SE-1 9 Gothenburg, Sweden Abstract

More information

snappyhexmesh Basic Training multi Region meshing simulation of heat transfer with chtmultiregionfoam

snappyhexmesh Basic Training multi Region meshing simulation of heat transfer with chtmultiregionfoam Basic Training multi Region meshing simulation of heat transfer with chtmultiregionfoam 1 st edition, Aug. 2015 Editor: Philipp Schretter (TU Wien) Tutorial Two: Multi Region Meshing Mesh creation The

More information