Moving boundary in openfoam

Size: px
Start display at page:

Download "Moving boundary in openfoam"

Transcription

1 Moving boundary in openfoam Linear motion - OpenFoam #2 Julien Réveillon University of Rouen and CORIA Julien.reveillon@coria.fr 7 juin 2012 Intent: The objective is to present the procedure to generate a moving boundary mesh. It is directly inspired of the work of Gonzalez [Mesh motion alternatives in OpenFoam Andreu Oliver Gonzalez December 2009, Göteborg, Sweden], which contains much more details. It has been adapted to the interdymfoam solver in order to work on a water tank case. Prerequisites: All the environment variables concerning openfoam must be correctly defined. OF solver compilation knowledge necessary c.f. OF #1). Procedure: 1/ Creation of the working repository jr:~/openfoam/jr-2.1.0/run$ cp -r $FOAM_TUTORIALS/multiphase/interDyMFoam/ras/damBreakWithObstacle movingbc 2/ Grid construction jr:~/openfoam/jr2.1.0/run$ cd movingbc jr:~/openfoam/jr2.1.0/run/movingbc$ gedit constant/polymesh/blockmeshdict And modify the file according to annex 1. jr:~/openfoam/jr/2.1.0/run/movingbc$ blockmesh

2 3/ Solver preparation interdymfoam is modified so that only the mesh motion is computed. No resolution of the fluid will be carried out. First, let's go in the user solver repository see OF #1). jr:~/openfoam/jr-2.1.0/run/movingbc$ cd ~/OpenFOAM/jr-2.1.0/solvers/ One will use interdymfoam. There is a small peculiarity : interdymfoam is part of interfoam solver and needs the «creatfields.h» file for the interfoam solver to compile. Thus we need to copy the complete interfoam + interdymfoam solver : jr:~/openfoam/jr-2.1.0/solvers$ cp -r $FOAM_SOLVERS/multiphase/interFoam BCFoam Just to be clear, rename interdymfoam : jr:~/openfoam/jr-2.1.0/solvers$ mv BCFoam/interDyMFoam BCFoam/meshBCFoam Then, continue the renaming jr:~/openfoam/jr-2.1.0/solvers$ cd BCFoam/meshBCFoam jr:~/openfoam/jr-2.1.0/solvers/bcfoam/meshbcfoam$ mv interdymfoam.c meshbcfoam.c in file Make/files jr:~/openfoam/jr-2.1.0/solvers/bcfoam/meshbcfoam$ gedit Make/files Modify warning : do not forget FOAM_USER_APPBIN) such as meshbcfoam.c EXE = $FOAM_USER_APPBIN)/meshBCFoam 4/Modification of the code Edit the solver: jr:~/openfoam/jr-2.1.0/solvers/bcfoam/meshbcfoam $ gedit meshbcfoam.c and comment the parts that does not concern the mesh.update. /* JR */ in annex 2). 5/Compilation jr:~/openfoam/jr /solvers/BCFoam/meshBCFoam$ wclean

3 jr:~/openfoam/jr /solvers/BCFoam/meshBCFoam$ wmake 6/ Initial Fields Back in your 'run' directory, initial fields. jr:~/openfoam/jr /solvers/BCFoam/meshBCFoam$ cd ~/OpenFOAM/jr /run/movingBC jr:~/openfoam/jr /run/movingBC $ mv 0.org 0 jr:~/openfoam/jr /run/movingBC $ gedit 0/alpha1 0/p_rgh 0/U Modify the face names so that it corresponds to boundaries and do not generate errors. Fields won't be used anyway. Annex / Set the prefcell and prefvalue jr:~/openfoam/jr /run/movingBC/0$ cd.. jr:~/openfoam/jr /run/movingBC$ gedit system/fvsolution Put the prefcell value to 0 prefvalue remains null). prefcell 0; in the PIMPLE section. 9/ Set the moving boundary properties. jr:~/openfoam/jr-2.1.0/run/movingbc$ gedit constant/dynamicmeshdict See Appendix 6 10/ Set the execution properties. jr:~/openfoam/jr /run/movingBC$ gedit system/controldict See Appendix 7 11/ Run jr:~/openfoam/jr /run/movingBC$ meshbcfoam

4 12/ Visualization

5 Annex 1 blockmeshdict /* *- C++ -* *\ ========= \\ / F ield OpenFOAM: The Open Source CFD Toolbox \\ / O peration Version: 1.6 \\ / A nd Web: \\/ M anipulation FoamFile version 2.0; format ascii; class dictionary; object blockmeshdict; converttometers 0.1; vertices ) 0 0 0) 0 1 0) ) ) ) ) ) ); blocks hex ) ) simplegrading 1 1 1) ); edges ); patches patch atmosphere ) ) wall movingwall ) ) wall fixedwalls ) ) ) empty frontandback ) ) ) ); mergepatchpairs );

6 Annex 2 meshbcfoam.c /* *\ ========= \\ / F ield OpenFOAM: The Open Source CFD Toolbox \\ / O peration \\ / A nd Copyright C) 2011 OpenFOAM Foundation \\/ M anipulation License This file is part of OpenFOAM. OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or at your option) any later version. OpenFOAM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenFOAM. If not, see < Application meshbcfoam Description Solver for 2 incompressible, isothermal immiscible fluids using a VOF volume of fluid) phase-fraction based interface capturing approach, with optional mesh motion and mesh topology changes including adaptive re-meshing. #include "fvcfd.h" #include "dynamicfvmesh.h" #include "MULES.H" #include "subcycle.h" #include "interfaceproperties.h" #include "twophasemixture.h" #include "turbulencemodel.h" #include "pimplecontrol.h" int mainint argc, char *argv[]) #include "setrootcase.h" #include "createtime.h" #include "createdynamicfvmesh.h" #include "initcontinuityerrs.h" #include "createfields.h" #include "readtimecontrols.h" pimplecontrol pimplemesh);

7 /* JR surfacescalarfield phiabs"phiabs", phi); fvc::makeabsolutephiabs, U); #include "correctphi.h" #include "CourantNo.H" #include "setinitialdeltat.h"*/ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Info<< "\nstarting time loop\n" << endl; while runtime.run)) #include "readcontrols.h" #include "alphacourantno.h" #include "CourantNo.H" #include "setdeltat.h" runtime++; Info<< "Time = " << runtime.timename) << nl << endl; scalar timebeforemeshupdate = runtime.elapsedcputime); /* JR // Calculate the relative velocity used to map the relative flux phi volvectorfield Urel"Urel", U); */ if mesh.moving)) Urel -= fvc::reconstructfvc::meshphiu)); // Do any mesh changes mesh.update);

8 /* JR if mesh.changing)) Info<< "Execution time for mesh.update) = " << runtime.elapsedcputime) - timebeforemeshupdate << " s" << endl; gh = g & mesh.c); ghf = g & mesh.cf); if mesh.changing) && correctphi) #include "correctphi.h" if mesh.changing) && checkmeshcourantno) #include "meshcourantno.h" twophaseproperties.correct); #include "alphaeqnsubcycle.h" // --- Pressure-velocity PIMPLE corrector loop while pimple.loop)) #include "UEqn.H" // --- Pressure corrector loop while pimple.correct)) #include "peqn.h" */ if pimple.turbcorr)) turbulence->correct); runtime.write); Info<< "ExecutionTime = " << runtime.elapsedcputime) << " s" << " ClockTime = " << runtime.elapsedclocktime) << " s" << nl << endl; Info<< "End\n" << endl; return 0;

9 Annex 3 alpha1 /* *- C++ -* *\ ========= \\ / F ield OpenFOAM: The Open Source CFD Toolbox \\ / O peration Version: \\ / A nd Web: \\/ M anipulation FoamFile version 2.0; format ascii; class volscalarfield; object alpha1; dimensions [ ]; internalfield uniform 0; boundaryfield movingwall fixedwalls zerogradient; zerogradient; atmosphere inletoutlet; inletvalue uniform 0; value uniform 0; frontandback empty;

10 Annex 4 p_rgh /* *- C++ -* *\ ========= \\ / F ield OpenFOAM: The Open Source CFD Toolbox \\ / O peration Version: \\ / A nd Web: \\/ M anipulation FoamFile version 2.0; format ascii; class volscalarfield; object p_rgh; dimensions [ ]; internalfield uniform 0; boundaryfield movingwall buoyantpressure; value uniform 0; fixedwalls buoyantpressure; value uniform 0; atmosphere totalpressure; p0 uniform 0; U U; phi phi; rho rho; psi none; gamma 1; value uniform 0; frontandback empty;

11 Annex 5 U /* *- C++ -* *\ ========= \\ / F ield OpenFOAM: The Open Source CFD Toolbox \\ / O peration Version: \\ / A nd Web: \\/ M anipulation FoamFile version 2.0; format ascii; class location "0"; object U; volvectorfield; dimensions [ ]; internalfield uniform 0 0 0); boundaryfield fixedwalls fixedvalue; value uniform 0 0 0); movingwall movingwallvelocity; value uniform 0 0 0); atmosphere pressureinletoutletvelocity; value uniform 0 0 0); frontandback empty;

12 Annex 6 /* *- C++ -* *\ ========= \\ / F ield OpenFOAM: The Open Source CFD Toolbox \\ / O peration Version: \\ / A nd Web: \\/ M anipulation FoamFile version 2.0; format ascii; class dictionary; location "constant"; object dynamicmeshdict; dynamicfvmesh dynamicinkjetfvmesh; motionsolverlibs "libfvmotionsolvers.so" ); dynamicinkjetfvmeshcoeffs amplitude 0.3; frequency 2; refplanex 0;

13 Annex 7 /* *- C++ -* *\ ========= \\ / F ield OpenFOAM: The Open Source CFD Toolbox \\ / O peration Version: \\ / A nd Web: \\/ M anipulation FoamFile version 2.0; format ascii; class dictionary; location "system"; object controldict; application startfrom interdymfoam; latesttime; starttime 0; stopat endtime; endtime 2; deltat 0.001; writecontrol timestep; writeinterval 10; purgewrite 0; writeformat ascii; writeprecision 6; writecompression uncompressed; timeformat general; timeprecision 6; runtimemodifiable yes; adjusttimestep no; maxco 0.1; maxalphaco 0.1; maxdeltat 1;

A simplefoam tutorial

A simplefoam tutorial CFD with OpenSource software A course at Chalmers University of Technology Taught by Håkan Nilsson Project work: A simplefoam tutorial Developed for OpenFOAM-1.7.x Author: Hamidreza Abedi Peer reviewed

More information

Simulating Wind Over Terrain: How to Build an OpenFOAM Case from GRASS GIS Digital Elevation Models

Simulating Wind Over Terrain: How to Build an OpenFOAM Case from GRASS GIS Digital Elevation Models Simulating Wind Over Terrain: How to Build an OpenFOAM Case from GRASS GIS Digital Elevation Models Eric Hardin hardinej@gmail.com April 26, 2013 Abstract This document describes the process for generating

More information

OpenFOAM. The Open Source CFD Toolbox. User Guide

OpenFOAM. The Open Source CFD Toolbox. User Guide OpenFOAM The Open Source CFD Toolbox User Guide Version 3.0.1 13th December 2015 U-2 Copyright c 2011-2015 OpenFOAM Foundation Ltd. Author: Christopher J. Greenshields, CFD Direct Ltd. This work is licensed

More information

Draft Version. For personal use. c Copyright 2011 - Máté Márton LOHÁSZ. Tutorial for Channel Flow by LES using Open Source CFD

Draft Version. For personal use. c Copyright 2011 - Máté Márton LOHÁSZ. Tutorial for Channel Flow by LES using Open Source CFD Tutorial for Channel Flow by LES using Open Source CFD Máté Márton Lohász February 2011 i CONTENTS ii Contents 1 Overview 1 2 Set up your environment 1 3 Very short intro to OpenFOAM 1 3.1 Simulation set-up............................

More information

Simple beginning 3D OpenFOAM Tutorial

Simple beginning 3D OpenFOAM Tutorial Eng. Sebastian Rodriguez www.libremechanics.com Background. 1 Case definition. 1 3D modeling. 2 Units. 4 Physical parameters. 4 Meshing. 6 Structuring the case folders. 7 Boundary conditions. 7 Solving

More information

OpenFOAM Tutorial. 4. Units

OpenFOAM Tutorial. 4. Units External Incompressible 3D floww CFD Analysis OpenFOAM Tutorial 1. Background 2. Case Introduction 3. 3d Modeling 4. Units 5. Physical Parameters 6. Meshing with Gmsh 7. Structuring the case folders 8.

More information

OpenFOAM Opensource and CFD

OpenFOAM Opensource and CFD OpenFOAM Opensource and CFD Andrew King Department of Mechanical Engineering Curtin University Outline What is Opensource Software OpenFOAM Overview Utilities, Libraries and Solvers Data Formats The CFD

More information

Solver Development in OpenFOAM

Solver Development in OpenFOAM Solver Development in OpenFOAM OpenFOAM Course 2 nd Edition C. Fernandes, L.L. Ferrás, J.M.Nóbrega i3n/ipc Institute for Polymers and Composites, University of Minho, Campus de Azurém, Guimarães, Portugal

More information

Studienarbeit. Simulation in Computational Fluid Dynamics and parallel computing

Studienarbeit. Simulation in Computational Fluid Dynamics and parallel computing Institut für Algorithmen und Kognitive Systeme Studienarbeit Simulation in Computational Fluid Dynamics and parallel computing Simulation in der numerischen Strömungsmechanik und paralleles Rechnen) Feng,

More information

Application of Wray-Agarwal Model to Turbulent Flow in a 2D Lid-Driven Cavity and a 3D Lid- Driven Box

Application of Wray-Agarwal Model to Turbulent Flow in a 2D Lid-Driven Cavity and a 3D Lid- Driven Box Washington University in St. Louis Washington University Open Scholarship Engineering and Applied Science Theses & Dissertations Engineering and Applied Science Summer 8-14-2015 Application of Wray-Agarwal

More information

Which strategy to move the mesh in the Computational Fluid Dynamic code OpenFOAM

Which strategy to move the mesh in the Computational Fluid Dynamic code OpenFOAM Which strategy to move the mesh in the Computational Fluid Dynamic code OpenFOAM Christophe Kassiotis April 12, 2008 École Normale Supérieure de Cachan, Laboratoire de Mécanique et Technologies (LMT) Secteur

More information

Auxiliary Processing swak4foam and PyFoam

Auxiliary Processing swak4foam and PyFoam Auxiliary Processing swak4foam and PyFoam Bruno Santos and Nelson Marques BlueCAPE, http://joomla.bluecape.com.pt/ bruno.santos@bluecape.com.pt nelson.marques@bluecape.com.pt El proyecto CloudPYME (id:

More information

TVM 4155 Numerical modelling and hydraulics 10. March 2014. OpenFOAM homework

TVM 4155 Numerical modelling and hydraulics 10. March 2014. OpenFOAM homework TVM 4155 Numerical modelling and hydraulics 10. March 2014 OpenFOAM homework OpenFOAM is the most popular open-source CFD program in the world today. In this homework we will use the program to determine

More information

Numerical Modelling of Regular Waves Propagation and Breaking Using Waves2Foam

Numerical Modelling of Regular Waves Propagation and Breaking Using Waves2Foam Journal of Clean Energy Technologies, Vol. 3, No. 4, July 05 Numerical Modelling of Regular Waves Propagation and Breaking Using WavesFoam B. Chenari, S. S. Saadatian, and Almerindo D. Ferreira numerical

More information

How To Run A Steady Case On A Creeper

How To Run A Steady Case On A Creeper Crash Course Introduction to OpenFOAM Artur Lidtke University of Southampton akl1g09@soton.ac.uk November 4, 2014 Artur Lidtke Crash Course Introduction to OpenFOAM 1 / 32 What is OpenFOAM? Using OpenFOAM

More information

OpenFOAM postprocessing and advanced running options

OpenFOAM postprocessing and advanced running options OpenFOAM postprocessing and advanced running options Tommaso Lucchini Department of Energy Politecnico di Milano The post processing tool: parafoam The main post-processing tool provided with OpenFOAM

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 14 th

More information

Incorporation of OpenFOAM software into Computational Fluid Dynamics process in Volvo Technology

Incorporation of OpenFOAM software into Computational Fluid Dynamics process in Volvo Technology Technical report, IDE1136, June 2011 Incorporation of OpenFOAM software into Computational Fluid Dynamics process in Volvo Technology Master s Thesis in Computational Science and Engineering Alexander

More information

CastNet: Modelling platform for open source solver technology

CastNet: Modelling platform for open source solver technology CastNet: Modelling platform for open source solver technology. DHCAE Tools GmbH Address: Friedrich-Ebert-Str. 368, 47800 Krefeld, Germany / Company site: Alte Rather Str. 207 / 47802 Krefeld Phone +49

More information

CFD Simulation of Subcooled Flow Boiling using OpenFOAM

CFD Simulation of Subcooled Flow Boiling using OpenFOAM Research Article International Journal of Current Engineering and Technology E-ISSN 2277 4106, P-ISSN 2347-5161 2014 INPRESSCO, All Rights Reserved Available at http://inpressco.com/category/ijcet CFD

More information

CFD Analysis of Container Ship Sinkage, Trim and Resistance

CFD Analysis of Container Ship Sinkage, Trim and Resistance CFD Analysis of Container Ship Sinkage, Trim and Resistance (abridged) Shaun Wortley B. Eng. Mechanical Engineering Project Report Department of Mechanical Engineering Curtin University 2013 21 Guillardon

More information

OpenFOAM open source CFD on ANSELM

OpenFOAM open source CFD on ANSELM OpenFOAM Tomáš Brzobohatý Supercomputing for industry SC4Industry Research Programme 3 - Libraries for Parallel Computing, VŠB-TU Ostrava OpenFOAM - Introduction - Features - OpenFOAM Case Outline OpenFOAM

More information

CastNet: GUI environment for OpenFOAM

CastNet: GUI environment for OpenFOAM CastNet: GUI environment for OpenFOAM CastNet is a preprocessing system and job-control system for OpenFOAM. CastNet works with the standard OpenFOAM releases provided by ESI Group as well as ports for

More information

NUMERICAL SIMULATION OF REGULAR WAVES RUN-UP OVER SLOPPING BEACH BY OPEN FOAM

NUMERICAL SIMULATION OF REGULAR WAVES RUN-UP OVER SLOPPING BEACH BY OPEN FOAM NUMERICAL SIMULATION OF REGULAR WAVES RUN-UP OVER SLOPPING BEACH BY OPEN FOAM Parviz Ghadimi 1*, Mohammad Ghandali 2, Mohammad Reza Ahmadi Balootaki 3 1*, 2, 3 Department of Marine Technology, Amirkabir

More information

Self Financed One Week Training

Self Financed One Week Training Self Financed One Week Training On Computational Fluid Dynamics (CFD) with OpenFOAM December 14 20, 2015 (Basic Training: 3days, Advanced Training: 5days and Programmer Training: 7days) Organized by Department

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

OpenFOAM: Open source CFD in research and industry

OpenFOAM: Open source CFD in research and industry Inter J Nav Archit Oc Engng 29) 1:89~94 DOI 1.3744/JNAOE.29.1.2.89 OpenFOAM: Open source CFD in research and industry Hrvoje Jasak 1,2 1 Wikki Ltd. London, United Kingdom, 2 FSB, University of Zagreb,

More information

OpenFOAM-extend on SourceForge.net

OpenFOAM-extend on SourceForge.net OpenFOAM-extend on SourceForge.net Bernhard F.W. Gschaider 1 Martin Beaudoin 2 1 ICE Strömungsforschung Leoben, Austria 2 Institut de recherche d Hydro-Québec Varennes, Canada 4th OpenFOAM-Workshop 1st-4th

More information

CFD software overview comparison, limitations and user interfaces

CFD software overview comparison, limitations and user interfaces CFD software overview comparison, limitations and user interfaces Daniel Legendre Introduction to CFD Turku, 05.05.2015 Åbo Akademi University Thermal and Flow Engineering Laboratory 05.05.2015 1 Some

More information

Model of a flow in intersecting microchannels. Denis Semyonov

Model of a flow in intersecting microchannels. Denis Semyonov Model of a flow in intersecting microchannels Denis Semyonov LUT 2012 Content Objectives Motivation Model implementation Simulation Results Conclusion Objectives A flow and a reaction model is required

More information

Numerical Wave Generation In OpenFOAM R

Numerical Wave Generation In OpenFOAM R Numerical Wave Generation In OpenFOAM R Master of Science Thesis MOSTAFA AMINI AFSHAR Department of Shipping and Marine Technology CHALMERS UNIVERSITY OF TECHNOLOGY Göteborg, Sweden, 2010 Report No. X-10/252

More information

O.F.Wind Wind Site Assessment Simulation in complex terrain based on OpenFOAM. Darmstadt, 27.06.2012

O.F.Wind Wind Site Assessment Simulation in complex terrain based on OpenFOAM. Darmstadt, 27.06.2012 O.F.Wind Wind Site Assessment Simulation in complex terrain based on OpenFOAM Darmstadt, 27.06.2012 Michael Ehlen IB Fischer CFD+engineering GmbH Lipowskystr. 12 81373 München Tel. 089/74118743 Fax 089/74118749

More information

OPTIMISE TANK DESIGN USING CFD. Lisa Brown. Parsons Brinckerhoff

OPTIMISE TANK DESIGN USING CFD. Lisa Brown. Parsons Brinckerhoff OPTIMISE TANK DESIGN USING CFD Paper Presented by: Lisa Brown Authors: Lisa Brown, General Manager, Franz Jacobsen, Senior Water Engineer, Parsons Brinckerhoff 72 nd Annual Water Industry Engineers and

More information

STUDY OF MESH DEFORMATION FEATURES OF AN OPEN SOURCE CFD PACKAGE AND APPLICATION TO A GEAR PUMP SIMULATION

STUDY OF MESH DEFORMATION FEATURES OF AN OPEN SOURCE CFD PACKAGE AND APPLICATION TO A GEAR PUMP SIMULATION Escola Tècnica Superior d'enginyerires Industrial i Aeronàutica de Terrassa UNIVERSITAT POLITÈCNICA DE CATALUNYA Titulació: Enginyeria Aeronàutica Alumne: Títol PFC: STUDY OF MESH DEFORMATION FEATURES

More information

A moving piston boundary condition including gap flow in OpenFOAM

A moving piston boundary condition including gap flow in OpenFOAM A piston boundary condition including gap flow in OpenFOAM CLEMENS FRIES Johannes Kepler University IMH Altenbergerstrasse 69, 44 Linz AUSTRIA clemens.fries@jku.at BERNHARD MANHARTSGRUBER Johannes Kepler

More information

STCE. Outline. Introduction. Applications. Ongoing work. Summary. STCE RWTH-Aachen, Industrial Applications of discrete adjoint OpenFOAM, EuroAD 2014

STCE. Outline. Introduction. Applications. Ongoing work. Summary. STCE RWTH-Aachen, Industrial Applications of discrete adjoint OpenFOAM, EuroAD 2014 Industrial Applications of discrete adjoint OpenFOAM Arindam Sen Software and Tools for Computational Engineering Science RWTH Aachen University EuroAD 2014, Nice, 16-17. June 2014 Outline Introduction

More information

Tutorial: Using a UDF to Control the Dynamic Mesh of a Flexible Oscillating Membrane

Tutorial: Using a UDF to Control the Dynamic Mesh of a Flexible Oscillating Membrane Tutorial: Using a UDF to Control the Dynamic Mesh of a Flexible Oscillating Membrane Introduction The purpose of this tutorial is to illustrate how to use a user defined function (UDF) to control the dynamic

More information

The Multiphase Capabilities of the CFD Toolbox OpenFOAM for Hydraulic Engineering Applications

The Multiphase Capabilities of the CFD Toolbox OpenFOAM for Hydraulic Engineering Applications ICHE 2014, Hamburg - Lehfeldt & Kopmann (eds) - 2014 Bundesanstalt für Wasserbau ISBN 978-3-939230-32-8 The Multiphase Capabilities of the CFD Toolbox OpenFOAM for Hydraulic Engineering Applications L.

More information

CFD Simulation of the NREL Phase VI Rotor

CFD Simulation of the NREL Phase VI Rotor CFD Simulation of the NREL Phase VI Rotor Y. Song* and J. B. Perot # *Theoretical & Computational Fluid Dynamics Laboratory, Department of Mechanical & Industrial Engineering, University of Massachusetts

More information

Coupling micro-scale CFD simulations to meso-scale models

Coupling micro-scale CFD simulations to meso-scale models Coupling micro-scale CFD simulations to meso-scale models IB Fischer CFD+engineering GmbH Fabien Farella Michael Ehlen Achim Fischer Vortex Factoria de Càlculs SL Gil Lizcano Outline Introduction O.F.Wind

More information

Christof Hinterberger, Mark Olesen

Christof Hinterberger, Mark Olesen Application of of a Continuous Adjoint Flow Solver for for Geometry Optimisation of of Automotive Exhaust Systems Christof Hinterberger, Mark Olesen FLOWHEAD Workshop, Varna Sept. 2010 Workshop on industrial

More information

A Guide to the free mesh program Discretizer with OpenFOAM for CFD (Computational Fluid Dynamics)

A Guide to the free mesh program Discretizer with OpenFOAM for CFD (Computational Fluid Dynamics) Discretizer Manual Release date 09/01/10 Side 1 of 13 A Guide to the free mesh program Discretizer with OpenFOAM for CFD (Computational Fluid Dynamics) Homepage: http://www.discretizer.org/ Creator of

More information

THE CFD SIMULATION OF THE FLOW AROUND THE AIRCRAFT USING OPENFOAM AND ANSA

THE CFD SIMULATION OF THE FLOW AROUND THE AIRCRAFT USING OPENFOAM AND ANSA THE CFD SIMULATION OF THE FLOW AROUND THE AIRCRAFT USING OPENFOAM AND ANSA Adam Kosík Evektor s.r.o., Czech Republic KEYWORDS CFD simulation, mesh generation, OpenFOAM, ANSA ABSTRACT In this paper we describe

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 13 th

More information

HPC Deployment of OpenFOAM in an Industrial Setting

HPC Deployment of OpenFOAM in an Industrial Setting HPC Deployment of OpenFOAM in an Industrial Setting Hrvoje Jasak h.jasak@wikki.co.uk Wikki Ltd, United Kingdom PRACE Seminar: Industrial Usage of HPC Stockholm, Sweden, 28-29 March 2011 HPC Deployment

More information

Radiation heat transfer in OpenFOAM

Radiation heat transfer in OpenFOAM Final Assignment for the course «CFD with OpenSource Software» Radiation heat transfer in OpenFOAM Student: Alexey Vdovin, vdovin@student.chalmers.se Reviewed by: Andreu Oliver González, andrewo@student.chalmers.se

More information

Open Source CFD Solver - OpenFOAM

Open Source CFD Solver - OpenFOAM Open Source CFD Solver - OpenFOAM Wang Junhong (HPC, Computer Centre) 1. INTRODUCTION The OpenFOAM (Open Field Operation and Manipulation) Computational Fluid Dynamics (CFD) Toolbox is a free, open source

More information

Effect of Aspect Ratio on Laminar Natural Convection in Partially Heated Enclosure

Effect of Aspect Ratio on Laminar Natural Convection in Partially Heated Enclosure Universal Journal of Mechanical Engineering (1): 8-33, 014 DOI: 10.13189/ujme.014.00104 http://www.hrpub.org Effect of Aspect Ratio on Laminar Natural Convection in Partially Heated Enclosure Alireza Falahat

More information

CFD modelling of floating body response to regular waves

CFD modelling of floating body response to regular waves CFD modelling of floating body response to regular waves Dr Yann Delauré School of Mechanical and Manufacturing Engineering Dublin City University Ocean Energy Workshop NUI Maynooth, October 21, 2010 Table

More information

NUMERICAL INVESTIGATIONS ON HEAT TRANSFER IN FALLING FILMS AROUND TURBULENCE WIRES

NUMERICAL INVESTIGATIONS ON HEAT TRANSFER IN FALLING FILMS AROUND TURBULENCE WIRES NUMERICAL INVESTIGATIONS ON HEAT TRANSFER IN FALLING FILMS AROUND TURBULENCE WIRES Abstract H. Raach and S. Somasundaram Thermal Process Engineering, University of Paderborn, Paderborn, Germany Turbulence

More information

System-Level Simulation of Floating Platform and Wind Turbine Using High-Fidelity and Engineering Models

System-Level Simulation of Floating Platform and Wind Turbine Using High-Fidelity and Engineering Models Image copyright Mercator Media 2015 System-Level Simulation of Floating Platform and Wind Turbine Using High-Fidelity and Engineering Models Di Zhang and Eric Paterson Aerospace and Ocean Engineering Virginia

More information

Eu-NORSEWInD - Assessment of Viability of Open Source CFD Code for the Wind Industry

Eu-NORSEWInD - Assessment of Viability of Open Source CFD Code for the Wind Industry Downloaded from orbit.dtu.dk on: Jun 28, 2016 Eu-NORSEWInD - Assessment of Viability of Open Source CFD Code for the Wind Industry Stickland, Matt; Scanlon, Tom; Fabre, Sylvie; Ahmad, Abdul; Oldroyd, Andrew;

More information

CFD: What is it good for?

CFD: What is it good for? CFD: What is it good for? Tom O Mahoney TNO Fluid Dynamics Introduction to CFD CFD - Computational Fluid Dynamics Computational the using of computers to simulate the physics of fluids Fluid Either gas

More information

Mathematical modeling of energy flow in a geothermal reservoir

Mathematical modeling of energy flow in a geothermal reservoir Mathematical modeling of energy flow in a geothermal reservoir Halldór Pálsson University of Iceland Mathematical modeling of energy flow in a geothermal reservoir p. 1 Objective of the project To develop

More information

LSCFD: Meshing Tools for Open Source CFD A Practical Point of View

LSCFD: Meshing Tools for Open Source CFD A Practical Point of View LSCFD: Meshing Tools for Open Source CFD A Practical Point of View Juha Kortelainen Report: Meshing Tools for Open Source CFD A Practical Point of View LSCFD Tools for Large Scale

More information

POLITECNICO DI MILANO Department of Energy

POLITECNICO DI MILANO Department of Energy 1D-3D coupling between GT-Power and OpenFOAM for cylinder and duct system domains G. Montenegro, A. Onorati, M. Zanardi, M. Awasthi +, J. Silvestri + ( ) Dipartimento di Energia - Politecnico di Milano

More information

How To Create A Cdf Optimisation System

How To Create A Cdf Optimisation System ADVANCED ENGINEERING 4(2010)2, ISSN 1846-5900 INTERFACES FOR EMBEDDING CFD OPTIMISATION WORKFLOWS INTO THE PRODUCT DEVELOPMENT PROCESS Todorov, G.; Ovcharova, J.; Romanov, B. & Kamberov, K. Abstract: The

More information

Importing Boundary and Volume Meshes

Importing Boundary and Volume Meshes Appendix A. Importing Boundary and Volume Meshes The volume mesh generation scheme of TGrid requires sets of line segments (2D) or triangular and/or quadrilateral elements (3D) defining the boundaries

More information

OpenFOAM Workshop. Yağmur Gülkanat Res.Assist.

OpenFOAM Workshop. Yağmur Gülkanat Res.Assist. OpenFOAM Workshop Yağmur Gülkanat Res.Assist. Introduction to OpenFOAM What is OpenFOAM? FOAM = Field Operation And Manipulation OpenFOAM is a free-to-use open-source numerical simulation software with

More information

Quality and Reliability in CFD

Quality and Reliability in CFD Quality and Reliability in CFD Open Source Challenges Hrvoje Jasak Wikki Ltd, United Kingdom Faculty of Mechanical Engineering and Naval Architecture University of Zagreb, Croatia Quality and Reliability

More information

TwinMesh for Positive Displacement Machines: Structured Meshes and reliable CFD Simulations

TwinMesh for Positive Displacement Machines: Structured Meshes and reliable CFD Simulations TwinMesh for Positive Displacement Machines: Structured Meshes and reliable CFD Simulations 05.06.2014 Dipl.-Ing. Jan Hesse, Dr. Andreas Spille-Kohoff CFX Berlin Software GmbH Karl-Marx-Allee 90 A 10243

More information

Pre-processing in openfoam, mesh generation. OpenFOAM kurs 2013 Håkan Nilsson Olivier Petit

Pre-processing in openfoam, mesh generation. OpenFOAM kurs 2013 Håkan Nilsson Olivier Petit Pre-processing in openfoam, mesh generation. OpenFOAM kurs 2013 Håkan Nilsson Olivier Petit Different ways of creating the mesh. Outline Using SnappyHexMesh, an OpenFOAM mesh generation tool. Using blockmesh,

More information

Numerical Simulations of Pulsed-Air Mixing Technology using Multiphase Computational Fluid Dynamics Methods

Numerical Simulations of Pulsed-Air Mixing Technology using Multiphase Computational Fluid Dynamics Methods Numerical Simulations of Pulsed-Air Mixing Technology using Multiphase Computational Fluid Dynamics Methods Rinaldo G. Galdamez, Stephen Wood, Seckin Gokaltun Florida International University, Applied

More information

Getting started with CFD packages. OpenFOAM R and FLUENT R

Getting started with CFD packages. OpenFOAM R and FLUENT R Getting started with CFD packages OpenFOAM R and FLUENT R Copyright c 2015 Contents I Automotive 1 Ahmed Body................................................. 13 1.1 CREO R 13 1.1.1 Geometry.....................................................

More information

Performance Comparison of a Vertical Axis Wind Turbine using Commercial and Open Source Computational Fluid Dynamics based Codes

Performance Comparison of a Vertical Axis Wind Turbine using Commercial and Open Source Computational Fluid Dynamics based Codes Performance Comparison of a Vertical Axis Wind Turbine using Commercial and Open Source Computational Fluid Dynamics based Codes Taimoor Asim 1, Rakesh Mishra 1, Sree Nirjhor Kaysthagir 1, Ghada Aboufares

More information

Marine CFD applications using OpenFOAM

Marine CFD applications using OpenFOAM Marine CFD applications using OpenFOAM Andrea Penza, CINECA 27/03/2014 Contents Background at CINECA: LRC experience CFD skills Automatic workflow Reliability workflow OpenFOAM solvers for marine CFD analysis

More information

OpenFOAM Optimization Tools

OpenFOAM Optimization Tools OpenFOAM Optimization Tools Henrik Rusche and Aleks Jemcov h.rusche@wikki-gmbh.de and a.jemcov@wikki.co.uk Wikki, Germany and United Kingdom OpenFOAM Optimization Tools p. 1 Agenda Objective Review optimisation

More information

bluecape s Official Website

bluecape s Official Website bluecfdcore {tab=introduction} bluecape is proud to present bluecfd Core, a freely available software package, of a high quality build of OpenFOAM for uptodate Windows 7, 8, 8.1 and 10 64bit, fully compilable

More information

Lecture 16 - Free Surface Flows. Applied Computational Fluid Dynamics

Lecture 16 - Free Surface Flows. Applied Computational Fluid Dynamics Lecture 16 - Free Surface Flows Applied Computational Fluid Dynamics Instructor: André Bakker http://www.bakker.org André Bakker (2002-2006) Fluent Inc. (2002) 1 Example: spinning bowl Example: flow in

More information

A DISCRETE ADJOINT VERSION OF AN UNSTEADY INCOMPRESSIBLE SOLVER FOR OPENFOAM USING ALGORITHMIC DIFFERENTIATION

A DISCRETE ADJOINT VERSION OF AN UNSTEADY INCOMPRESSIBLE SOLVER FOR OPENFOAM USING ALGORITHMIC DIFFERENTIATION 11th World Congress on Computational Mechanics (WCCM XI) 5th European Conference on Computational Mechanics (ECCM V) 6th European Conference on Computational Fluid Dynamics (ECFD VI) E. Oñate, J. Oliver

More information

CFD SIMULATION OF IPR-R1 TRIGA SUBCHANNELS FLUID FLOW

CFD SIMULATION OF IPR-R1 TRIGA SUBCHANNELS FLUID FLOW 2013 International Nuclear Atlantic Conference - INAC 2013 Recife, PE, Brazil, November 24-29, 2013 ASSOCIAÇÃO BRASILEIRA DE ENERGIA NUCLEAR - ABEN ISBN: 978-85-99141-05-2 CFD SIMULATION OF IPR-R1 TRIGA

More information

HowTo Rhino & ICEM. 1) New file setup: choose Millimeter (automatically converts to Meters if imported to ICEM)

HowTo Rhino & ICEM. 1) New file setup: choose Millimeter (automatically converts to Meters if imported to ICEM) HowTo Rhino & ICEM Simple 2D model 1) New file setup: choose Millimeter (automatically converts to Meters if imported to ICEM) 2) Set units: File Properties Units: Model units: should already be Millimeters

More information

Faculty of Science and Technology MASTER S THESIS

Faculty of Science and Technology MASTER S THESIS Faculty of Science and Technology MASTER S THESIS Study program/ Specialization: Offshore Technology/ Risk Management Writer: Reyhaneh Ghahremani Faculty supervisor: Bjørn H. Hjertager Spring semester,

More information

Numerical Analysis of the Jeans Instability

Numerical Analysis of the Jeans Instability June 15, 2010 Background Goal Refine our understanding of Jeans Length and its relation to astrophysical simulations. Currently, it is widely accepted that one needs four cells per Jeans Length to get

More information

Application of a Tightly-Coupled CFD/6-DOF Solver For Simulating Offshore Wind Turbine Platforms

Application of a Tightly-Coupled CFD/6-DOF Solver For Simulating Offshore Wind Turbine Platforms Application of a Tightly-Coupled CFD/6-DOF Solver For Simulating Offshore Wind Turbine Platforms Alexander J. Dunbar 1, Brent A. Craven 1, Eric G. Paterson 2, and James G. Brasseur 1 1 Penn State University;

More information

Loads and response from steep and breaking waves on monopiles

Loads and response from steep and breaking waves on monopiles Downloaded from orbit.dtu.dk on: Jan 12, 2016 Loads and response from steep and breaking waves on monopiles Bredmose, Henrik; Schløer, Signe; Sahlberg-Nielsen, Lasse; Slabiak, Peter ; Larsen, Torben J.;

More information

Adaptation of General Purpose CFD Code for Fusion MHD Applications*

Adaptation of General Purpose CFD Code for Fusion MHD Applications* Adaptation of General Purpose CFD Code for Fusion MHD Applications* Andrei Khodak Princeton Plasma Physics Laboratory P.O. Box 451 Princeton, NJ, 08540 USA akhodak@pppl.gov Abstract Analysis of many fusion

More information

Laminar Flow in a Baffled Stirred Mixer

Laminar Flow in a Baffled Stirred Mixer Laminar Flow in a Baffled Stirred Mixer Introduction This exercise exemplifies the use of the rotating machinery feature in the CFD Module. The Rotating Machinery interface allows you to model moving rotating

More information

Impact CM: Model-Based Software Change and Configuration Management

Impact CM: Model-Based Software Change and Configuration Management Title Impact CM: Model-Based Software Change and Configuration Management Eclipse Integrated Development Day Berlin, 30 May 2012 Michael Diers elego Software Solutions GmbH 2012 1 Agenda

More information

OpenFOAM computation of interacting wind turbine flows and control (I): free rotating case

OpenFOAM computation of interacting wind turbine flows and control (I): free rotating case OpenFOAM computation of interacting wind turbine flows and control (I): free rotating case Goong Chen 1,2,3, Cong Gu 1, Hichem Hajaiej 4, Philip J. Morris 5, Eric G. Paterson 6 and Alexey Sergeev 1,3 1

More information

CFD SIMULATION OF NATURAL GAS COMBUSTION AND IST APPLICATION TO TUNNEL KILN FIRING

CFD SIMULATION OF NATURAL GAS COMBUSTION AND IST APPLICATION TO TUNNEL KILN FIRING CFD SIMULATION OF NATURAL GAS COMBUSTION AND IST APPLICATION TO TUNNEL KILN FIRING. R. Obenaus-Emler University of Leoben Contents 1. Intoduction to combustion models in OpenFOAM 2. The Flamelet-Model

More information

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER International Journal of Advancements in Research & Technology, Volume 1, Issue2, July-2012 1 CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER ABSTRACT (1) Mr. Mainak Bhaumik M.E. (Thermal Engg.)

More information

Steady Flow: Laminar and Turbulent in an S-Bend

Steady Flow: Laminar and Turbulent in an S-Bend STAR-CCM+ User Guide 6663 Steady Flow: Laminar and Turbulent in an S-Bend This tutorial demonstrates the flow of an incompressible gas through an s-bend of constant diameter (2 cm), for both laminar and

More information

Set up and solve a transient problem using the pressure-based solver and VOF model.

Set up and solve a transient problem using the pressure-based solver and VOF model. Tutorial 18. Using the VOF Model This tutorial was run using ANSYS FLUENT 12.1. The results have been updated to reflect the change in the default setting of node-based smoothing for the surface tension

More information

1. Lid driven flow in a cavity [Time: 1 h 30 ]

1. Lid driven flow in a cavity [Time: 1 h 30 ] Hands on computer session: 1. Lid driven flow in a cavity [Time: 1 h 30 ] Objects choice of computational domain, problem adimensionalization and definition of boundary conditions; influence of the mesh

More information

CS 103 Lab Linux and Virtual Machines

CS 103 Lab Linux and Virtual Machines 1 Introduction In this lab you will login to your Linux VM and write your first C/C++ program, compile it, and then execute it. 2 What you will learn In this lab you will learn the basic commands and navigation

More information

Good Practice in CFD. A rough guide.

Good Practice in CFD. A rough guide. Good Practice in CFD. A rough guide. Prof. Neil W. Bressloff March 2015 Material covered Introduction External and internal flow The CFD process Geometry, meshing, simulation, post-processing The issues

More information

Recent Developments in OpenFOAM

Recent Developments in OpenFOAM Recent Developments in OpenFOAM Henrik Rusche Wikki GmbH, Germany henrik.rusche@wikki-gmbh.de III International Conference Cloud computing. Education. Research. Development. ISP RAS, Moscow, 5.-6. December

More information

NUMERICAL SIMULATION OF FLOW FIELDS IN CASE OF FIRE AND FORCED VENTILATION IN A CLOSED CAR PARK

NUMERICAL SIMULATION OF FLOW FIELDS IN CASE OF FIRE AND FORCED VENTILATION IN A CLOSED CAR PARK FACULTY OF ENGINEERING NUMERICAL SIMULATION OF FLOW FIELDS IN CASE OF FIRE AND FORCED VENTILATION IN A CLOSED CAR PARK Xavier Deckers, Mehdi Jangi, Siri Haga and Bart Merci Department of Flow, Heat and

More information

Design and Optimization of OpenFOAM-based CFD Applications for Hybrid and Heterogeneous HPC Platforms

Design and Optimization of OpenFOAM-based CFD Applications for Hybrid and Heterogeneous HPC Platforms Design and Optimization of OpenFOAM-based CFD Applications for Hybrid and Heterogeneous HPC Platforms Amani AlOnazi, David E. Keyes, Alexey Lastovetsky, Vladimir Rychkov Extreme Computing Research Center,

More information

URI and UUID. Identifying things on the Web.

URI and UUID. Identifying things on the Web. URI and UUID Identifying things on the Web. Overview > Uniform Resource Identifiers (URIs) > URIStreamOpener > Universally Unique Identifiers (UUIDs) Uniform Resource Identifiers > Uniform Resource Identifiers

More information

Flow in data racks. 1 Aim/Motivation. 3 Data rack modification. 2 Current state. EPJ Web of Conferences 67, 02070 (2014)

Flow in data racks. 1 Aim/Motivation. 3 Data rack modification. 2 Current state. EPJ Web of Conferences 67, 02070 (2014) EPJ Web of Conferences 67, 02070 (2014) DOI: 10.1051/ epjconf/20146702070 C Owned by the authors, published by EDP Sciences, 2014 Flow in data racks Lukáš Manoch 1,a, Jan Matěcha 1,b, Jan Novotný 1,c,JiříNožička

More information

Turbulence Modeling in CFD Simulation of Intake Manifold for a 4 Cylinder Engine

Turbulence Modeling in CFD Simulation of Intake Manifold for a 4 Cylinder Engine HEFAT2012 9 th International Conference on Heat Transfer, Fluid Mechanics and Thermodynamics 16 18 July 2012 Malta Turbulence Modeling in CFD Simulation of Intake Manifold for a 4 Cylinder Engine Dr MK

More information

Computational Modeling of Wind Turbines in OpenFOAM

Computational Modeling of Wind Turbines in OpenFOAM Computational Modeling of Wind Turbines in OpenFOAM Hamid Rahimi hamid.rahimi@uni-oldenburg.de ForWind - Center for Wind Energy Research Institute of Physics, University of Oldenburg, Germany Outline Computational

More information

This tutorial provides a recipe for simulating L

This tutorial provides a recipe for simulating L Pipe Flow Tutorial for STAR-CCM+ ME 448/548 February 5, 2014 Gerald Recktenwald gerry@me.pdx.edu 1 Overview This tutorial provides a recipe for simulating laminar flow in a pipe with STAR- L CCM+. The

More information

How To Model A Horseshoe Vortex

How To Model A Horseshoe Vortex Comparison of CFD models for multiphase flow evolution in bridge scour processes A. Bayón-Barrachina, D. Valero, F.J. Vallès Morán, P. A. López-Jiménez Dept. of Hydraulic and Environmental Engineering

More information

1. Fluids Mechanics and Fluid Properties. 1.1 Objectives of this section. 1.2 Fluids

1. Fluids Mechanics and Fluid Properties. 1.1 Objectives of this section. 1.2 Fluids 1. Fluids Mechanics and Fluid Properties What is fluid mechanics? As its name suggests it is the branch of applied mechanics concerned with the statics and dynamics of fluids - both liquids and gases.

More information

OpenFOAM Simulation for Electromagnetic Problems. Zhe Huang. Master of Science Thesis in Electric Power Engineering

OpenFOAM Simulation for Electromagnetic Problems. Zhe Huang. Master of Science Thesis in Electric Power Engineering OpenFOAM Simulation for Electromagnetic Problems Zhe Huang Master of Science Thesis in Electric Power Engineering Department of Energy and Environment Division of Electric Power Engineering CHALMERS UNIVERSITY

More information

Introduction to COMSOL. The Navier-Stokes Equations

Introduction to COMSOL. The Navier-Stokes Equations Flow Between Parallel Plates Modified from the COMSOL ChE Library module rev 10/13/08 Modified by Robert P. Hesketh, Chemical Engineering, Rowan University Fall 2008 Introduction to COMSOL The following

More information

ABS TECHNICAL PAPERS 2008 A STERN SLAMMING ANALYSIS USING THREE-DIMENSIONAL CFD SIMULATION. Suqin Wang Email: SWang@eagle.org

ABS TECHNICAL PAPERS 2008 A STERN SLAMMING ANALYSIS USING THREE-DIMENSIONAL CFD SIMULATION. Suqin Wang Email: SWang@eagle.org ABS TECHNICAL PAPERS 8 Proceedings of OMAE 8 7 th International Conference on Offshore Mechanics and Arctic Engineering 15- June, 8, Estoril, Portugal OMAE8-5785 A STERN SLAMMING ANALYSIS USING THREE-DIMENSIONAL

More information