Open Source CFD Solver - OpenFOAM



Similar documents
OpenFOAM Opensource and CFD

Modeling of Earth Surface Dynamics and Related Problems Using OpenFOAM

How To Run A Steady Case On A Creeper

CastNet: Modelling platform for open source solver technology

HPC Deployment of OpenFOAM in an Industrial Setting

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

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

CastNet: GUI environment for OpenFOAM

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

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

OpenFOAM postprocessing and advanced running options

OpenFOAM open source CFD on ANSELM

CFD: What is it good for?

ME6130 An introduction to CFD 1-1

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.

How To Create A Cdf Optimisation System

2013 Code_Saturne User Group Meeting. EDF R&D Chatou, France. 9 th April 2013

COMPUTATIONAL FLUID DYNAMICS USING COMMERCIAL CFD CODES

Self Financed One Week Training

Customer Training Material. Lecture 2. Introduction to. Methodology ANSYS FLUENT. ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.

Advanced discretisation techniques (a collection of first and second order schemes); Innovative algorithms and robust solvers for fast convergence.

Introduction to CFD Analysis

Express Introductory Training in ANSYS Fluent Lecture 1 Introduction to the CFD Methodology

Accelerating CFD using OpenFOAM with GPUs

CCTech TM. ICEM-CFD & FLUENT Software Training. Course Brochure. Simulation is The Future

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

Visualization and Post Processing of OpenFOAM results a Brie. a Brief Introduction to VTK

Multiphase Flow - Appendices

Titelmasterformat durch Klicken bearbeiten

Numerical Calculation of Laminar Flame Propagation with Parallelism Assignment ZERO, CS 267, UC Berkeley, Spring 2015

Experts in Computational Fluid Dynamics

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

Introduction to CFD Analysis

bluecape s Official Website

Introduction to ANSYS

2.1 CFD PROJECT PLANNING ANSYS, Inc. All rights reserved. ANSYS, Inc. Proprietary

Computational Modeling of Wind Turbines in OpenFOAM

POLITECNICO DI MILANO Department of Energy

Open Source Computational Fluid Dynamics

Tutorials from CAD through CFD for Beginners

Computational Fluid Dynamics in Automotive Applications

CFD Simulation of Subcooled Flow Boiling using OpenFOAM

TVM 4155 Numerical modelling and hydraulics 10. March OpenFOAM homework

version 3.0 tutorial - Turbulent mixing in a T-junction with CFDSTUDY in SALOME contact: saturne-support@edf.fr

Computational Fluid Dynamics. Department of Aerospace Engineering, IIT Bombay

Lecture 7 - Meshing. Applied Computational Fluid Dynamics

Adaptation and validation of OpenFOAM CFD-solvers for nuclear safety related flow simulations

OPEN-SOURCE CFD ANALYSIS OF MULTI-DOMAIN UNSTEADY HEATING WITH NATURAL CONVECTION

How To Run A Cdef Simulation

ADVANCED TOOL FOR FLUID DYNAMICS- CFD AND ITS APPLICATIONS IN AUTOMOTIVE, AERODYNAMICS AND MACHINE INDUSTRY

Steady Flow: Laminar and Turbulent in an S-Bend

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

HPC at Tata Steel. 39 th IDC HPC User SARA Amsterdam, October 12 th, 2010

CFD modelling of floating body response to regular waves

DANSIS 2007 New Trends in CFD. OpenFOAM and STAR-CD. Integration, Interoperability and Symbiosis. Dr. Mark Olesen.

Parallel Large-Scale Visualization

Introduction to Visualization with VTK and ParaView

Model of a flow in intersecting microchannels. Denis Semyonov

OpenFOAM and SGI Designed to Work Together. Christian Tanasescu Vice President Software Engineering

OpenFOAM: Year in Review

f o r d e m a n d i n g C F D pre- & post-processing ANSA μετα p i o n e e r i n g software systems

CFD with OpenSource software

Workshop plan. From zero to results

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

OpenFOAM Optimization Tools

Computational Fluid Dynamic Modeling Applications

Visualization with ParaView

This tutorial provides a recipe for simulating L

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

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

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

HPC enabling of OpenFOAM R for CFD applications

Developing A Complete And Accessible CFD Simulation Platform For Building Applications

Tomasz STELMACH. WindSim Annual User Meeting 16 June 2011

CFD Applications using CFD++ Paul Batten & Vedat Akdag

Meshing of a detailed DrivAer Body with ANSYS Meshing and ANSYS ICEM CFD

Aerodynamic Department Institute of Aviation. Adam Dziubiński CFD group FLUENT

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

OpenFOAM. The Open Source CFD Toolbox. User Guide

OpenFOAM Tutorial. 4. Units

ABAQUS Tutorial. 3D Modeling

List of Problems Solved Introduction p. 1 Concept p. 1 Nodes p. 3 Elements p. 4 Direct Approach p. 5 Linear Spring p. 5 Heat Flow p.

3. Prescribe boundary conditions at all boundary Zones:

How To Model With Cfd Using Phoenics

Post-processing and Visualization with Open-Source Tools. Journée Scientifique Centre Image April 9, Julien Jomier

ANSYS Meshing User's Guide

FloEFD TM. Concurrent CFD for Creo Parametric.

BBIPED: BCAM-Baltogar Industrial Platform for Engineering design

salome-platform.org SALOME7 THE OPEN SOURCE INTEGRATION PLATFORM FOR NUMERICAL SIMULATION

How is EnSight Uniquely Suited to FLOW-3D Data?

IMPROVING ENERGY EFFICIENCY IN CEMENT PLANTS

Coupling micro-scale CFD simulations to meso-scale models

Importing Boundary and Volume Meshes

Auxiliary Processing swak4foam and PyFoam

CFD Lab Department of Engineering The University of Liverpool

OMIQ srl. Advanced Post-Processing of Flow3D Calculations using Ensight. Federico Monterosso. Ingegneria di componenti e sistemi industriali

Good Practice in CFD. A rough guide.

Scientific Visualization with Open Source Tools. HM 2014 Julien Jomier

Technology Update: Workbench, Geometry, Meshing, Workflow. ANSYS Users Group Meeting Prague, 2011

CFD SIMULATION OF IPR-R1 TRIGA SUBCHANNELS FLUID FLOW

Transcription:

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 CFD software package produced by OpenCFD Ltd (http://www.openfoam.com). It offers users the complete freedom to customise and extend its existing functionality, either by themselves or through support from OpenCFD. Established in 2004, OpenFOAM is adopted by many users from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics and electromagnetics. OpenFOAM leads the open source CFD software market and has a large, active user base across the engineering, science and the public sectors, consisting of over 80 solver and 170 utility applications. It is applicable to solve any complex fluid flows involving chemical reactions, turbulence and heat transfer. 2. FEATURES OF OpenFOAM OpenFOAM is a generic open source CFD solver that supports unstructured meshes of cells of any shape and can be integrated with many third part visualisation software tools for postprocessing. The solver can be run in parallel mode using multiple processors on a multiprocessor computer or on many computers across a network. The solver is written in C++ language. 2.1. Solver Capabilities Compressible and Incompressible flows Multiphase flows, such as bubble flow, cavitation, VOF, Euler and mixing. Combustion and Chemical Reaction flows Buoyancy-driven flows, with consideration of buoyant force for both compressible and incompressible flows Conjugate heat transfer, including radiation Particle methods (DEM, DSMC, MD) Other (Solid dynamics, electromagnetics) 1

2.2. Mesh Generation and Conversion OpenFOAM supports unstructured meshes of cells of any shape. Cells in OpenFOAM can have any number of faces and faces can have any number of edges. OpenFOAM provides a few meshing tools according to the complexity of the geometry. blockmesh for Simple Geometries The blockmesh is used to generate multi-block hexahedra mesh for simple geometries from a text configuration file. The OpenFOAM distribution contains numerous example configuration files for blockmesh to generate meshes for flows around simple geometries, e.g. a cylinder, a wedge, etc. snappyhexmesh for Complex Geometries For complex geometries, snappyhexmesh meshes surfaces from CAD, but also allows the user to define simple geometric entities such as boxes, spheres, planes, etc. The snappyhexmesh utility can run in parallel, generating meshes of hundreds of millions of cells, given a sufficient number of CPUs and memory. extrudemesh and polydualmesh The extrudemesh and polydualmesh are two special meshing tools. The extrudemesh generates a mesh by extruding cells from a patch of an existing mesh, or from a surface mesh. It can perform a range of extrusions to produce linear, wedge or spherical meshes. The polydualmesh creates the dual of a polymesh and can be used to generate a honeycomb polyhedral mesh from a tetrahedral mesh. Mesh Conversion In addition to the provided meshing tools, OpenFOAM accepts meshes generated by any of the major mesh generators and CAD systems. For example, you can use the mesh created by ANSYS, CFX, Fluent/Gambit, Plot3D, etc, using the specific mesh converters as listed in the table below. Table 1 Mesh Converters provided by OpenFOAM Mesh Converters ansystofoam cfx4tofoam fluent3dmeshtofoam gambittofoam plot3dtofoam writemeshobj Details Converts an ANSYS input mesh file, exported from I-DEAS, to OPENFOAM format Converts a CFX 4 mesh to OPENFOAM format Converts a Fluent mesh to OPENFOAM format Converts a GAMBIT mesh to OPENFOAM format Plot3d mesh (ascii/formatted format) converter For mesh debugging: writes mesh as three separate OBJ files which can be viewed with e.g. javaview 2

2.3. Post-Processing Visualisation using ParaView The open source visualisation application ParaView is integrated and used as the postprocessing tool to visualise results for OpenFOAM simulations. ParaView uses the Visualisation Toolkit (VTK) as its data processing and rendering engine, and can therefore read any data in VTK format. OpenFOAM includes the foamtovtk utility to convert data from its native format to VTK format, which means that any VTK-based graphics tools can be used to post-process OPENFOAM cases. The screen capture below shows the graphics user interface of ParaView. Further details about ParaView can be found at http://www.paraview.org. Besides ParaView, you can export results for OpenFOAM simulations to other third-party post-processing software such as EnSight, Tecplot, and even Fluent. The data converters for post-processing with other third party post-processing tools are listed below in Table 2. Table 2 Mesh Coventers provided by OpenFOAM Data Converters foamdatatofluent foamtoensight foamtotecplot360 foamtofieldview9 fieldview9reader Details Translates OPENFOAM data to Fluent format Translates OPENFOAM data to EnSight format Tecplot binary file format writer Write out the OPENFOAM mesh in Version 3.0 Fieldview- UNS format (binary) Reader module for Fieldview 9 to read OPENFOAM mesh and data 3

3. ACCESS OpenFOAM ON HPC CLUSTERS OpenFOAM version 2.0.x, the latest version released in June 2011, is installed on HPC clusters Atlas5 and Atlas6. You can follow the following steps to run the software. Step 1, Step 2, Logon to HPC Portal Run Jobs/Apps Click on atlas5-c01 cluster (xterm) or atlas6-c01 cluster (xterm) Step 3, Set the OpenFOAM environment by entering the following command at the xterm command line prompt. You can enter command blockmesh to verify Atlas6-c01>. /app1/common/openfoam/atlas6/openfoam/openfoam-2.0.x/etc/bashrc Step 4, To hands on the tutorials, you need to copy tutorial files to your own working space. The tutorial files are available at: Atlas6-c01> ls -l /app1/common/openfoam/atlas6/openfoam/openfoam-2.0.x/tutorials/ For example, to practice the first tutorial Lid-driven cavity flow on the tutorial documentation (http://www.openfoam.com/docs/user/cavity.php#x5-40002.1), you can copy the whole tutorial folder cavity as below: Atlas6-c01> cp -r /app1/common/openfoam/atlas6/openfoam/openfoam- 2.0.x/tutorials/incompressible/icoFoam/cavity. 4

4. Useful Links You can continue to try out the tutorial following the tutorial instruction guide. The following URLs are very helpful for learning and using OpenFOAM. Feel free to contact me at junhong@nus.edu.sg should you wish to explore the software or encounter any difficulties in accessing the software. OpenFOAM webpage: OpenFOAM Docs and Tutorials: OpenFOAM Online Forum: ParaView webpage: http://www.openfoam.org http://www.openfoam.com/docs/user/ http://www.cfd-online.com/forums/openfoam/ http://www.paraview.org/ 5