Coupling of Serpent Neutron Transport Code to OpenFOAM

Size: px
Start display at page:

Download "Coupling of Serpent Neutron Transport Code to OpenFOAM"

Transcription

1 Coupling of Serpent Neutron Transport Code to OpenFOAM Ashkhen Nalbandyan Center for Nuclear Technologies, Technnical University of Denmark, Roskilde, Denmark Ashkhen Nalabndyan Beamer slides template / 25

2 1 Introduction 2 Theory 3 The buoyantboussinesqpimplefoam solver 4 Mesh generation 5 Volumetric power source generation with Serpent 6 OpenFOAM case setup 7 Results Ashkhen Nalabndyan Beamer slides template / 25

3 Aim and Motivation The aim of this tutorial is to demonstrate the coupling mechanism between OpenFOAM and a neutron transport software Serpent. The topic of the tutorial is motivated by the need to find new approaches for tight coupling of neutron kinetics to thermal hydraulics for liquid fueled power plants. Ashkhen Nalabndyan Beamer slides template / 25

4 Prerequisites The tutorial is developed for the OpenFOAMv1806 and Serpent2.0. The later is developed at the VTT Finalnd and can be obtained on demand. To maximize benefits from the tutorial some prior experience with OpenFOAM is necessary. It is also suggested to take a look at Serpent documentation [2,3]. Ashkhen Nalabndyan Beamer slides template / 25

5 Heat generation and heat transfer in nuclear fuel Nuclear fuel is composed of heave fissile actinide elements such as U-235, U-233, Th-232. The proccess responsible for heat generation if nuclear fission, e.g. Ashkhen Nalabndyan Beamer slides template / 25

6 Test Case Cylindrical liquid fuel element, d=6 cm, l=20 cm Inlet, outlet, walls Ashkhen Nalabndyan Beamer slides template / 25

7 1 directory, 7 files Ashkhen Nalabndyan Beamer slides template / 25 The buoyantboussinesqpimplefoam solver buoyantboussinesqpimplefoam is a transient heat transfer solver for incompressible, turbulent flow with natural convection. OFv1806 run cd \$FOAM_SOLVERS tree heattransfer/buoyantboussinesqpimplefoam buoyantboussinesqpimplefoam.c createfields.h Make files options peqn.h TEqn.H UEqn.H

8 The buoyantboussinesqpimplefoam.c Description: Transient solver for buoyant, turbulent flow of incompressible fluids. Uses the Boussinesq approximation: rho k=(1-beta(t-t ref)) rho k = the effective (driving) kinematic density beta = thermal expansion coefficient [1/K] T = temperature [K] T ref = reference temperature [K] Valid when: beta(t - T ref)/rho ref << 1 # include fvcfd.h # include singlephasetransportmodel.h # include turbulenttransportmodel.h # include radiationmodel.h # include fvoptions.h # include pimplecontrol.h Ashkhen Nalabndyan Beamer slides template / 25

9 The buoyantboussinesqpimplefoam.c Ashkhen Nalabndyan Beamer slides template / 25

10 The buoyantboussinesqpimplefoam.c Ashkhen Nalabndyan Beamer slides template / 25

11 TEqn.H Ashkhen Nalabndyan Beamer slides template / 25

12 Generating identical mesh for OpenFOAM and Serpent The mesh is generated using the ANSYS CFX inbuilt mesher. Alternatively, one can use the gmesh software. Generate the mesh file and export it in.msh format Copy to any OpenFOAM case directory, e.g. $FOAM TUTORIALS/heatTransfer/buoyantSimpleFoam/buoyantCavity Type: fluentmeshtofoam inputfilename.msh Run: checkmesh Ashkhen Nalabndyan Beamer slides template / 25

13 Mesh generation Do: (Serpent2.0 is the user case dir for Serpent) cp points /home/asnalb/dtu/courses/chalmersoscfd/serpent2.0 cp faces /home/asnalb/dtu/courses/chalmersoscfd/serpent2.0 cp neighbour /home/asnalb/dtu/courses/chalmersoscfd/serpent2.0 cp owner /home/asnalb/dtu/courses/chalmersoscfd/serpent2.0 Ashkhen Nalabndyan Beamer slides template / 25

14 Description of Serpent input Ashkhen Nalabndyan Beamer slides template / 25

15 Description of Serpent input Ashkhen Nalabndyan Beamer slides template / 25

16 Coupling interface card Serpent Multiphysics interface is a set of routines implemented at the source code level and intended to easily bring in temperature and density distributions into OpenFOAM and exporting volumetic power in a format supported by coupled codes such as OpenFOAM. There are 9 interfaces in total, and type 9 is based on the OpenFOAM file format and supports FOAM field and mesh files. Ashkhen Nalabndyan Beamer slides template / 25

17 Running Serpent: volpower file In the Serpent case dir the following files should exist: inp Ts.txt rhos.txt materials.txt points neighbour faces owner sss2 Serpentmeshimport.py Execution:./sss2 inp a volpower file is generated in the case folder, which defines a volpower object belonging to Foam volscalarfield class. Ashkhen Nalabndyan Beamer slides template / 25

18 FOAM case OF v1806 cd $FOAM_RUN cp -r $F OAM_TUTORIALS/heatTransfer/buoyantBoussinesqPimpl mv BernardCells testcase tree Ashkhen Nalabndyan Beamer slides template / 25

19 0/volpower Put the inputfile.msh in the case directory and generate mesh Open the volpower file generated by Serpent, and add boundarie Ashkhen Nalabndyan Beamer slides template / 25

20 system/fvoptions FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvoptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * heatsource { type FieldSource; active yes; selectionmode all; Ashkhen Nalabndyan Beamer slides template / 25

21 system/fvoptions FieldSourceCoeffs { fieldnames (h); sourcefieldnames (volpower); } However, if one tries to run the case, an error message appears that FieldSource is not a recognized Foam source type. Thus, we have to add it. Ashkhen Nalabndyan Beamer slides template / 25

22 Copyright (C) Timo Niemi, Riku Tuominen 2018 VTT Technical Re fielddource.c namespace Foam { namespace fv { definetypenameanddebug(fieldsource, 0); addtoruntimeselectiontable ( option, FieldSource, dictionary ); } }... Ashkhen Nalabndyan Beamer slides template / 25 fieldsource library

23 fieldsource library The structure of the the fieldsource folder tree fieldsource fieldsource.c fieldsource.h lninclude fieldsource.c ->../fieldsource.c fieldsource.h ->../fieldsource.h Make files options Compile by : wclean wmake Ashkhen Nalabndyan Beamer slides template / 25

24 system/controldict libs ("libfieldsource.so"); application buoyantboussinesqpimplefoam; startfrom latesttime; starttime 0; stopat endtime; endtime 10; deltat 0.1; writecontrol runtime; writeinterval 1; purgewrite 0; writeformat ascii; writeprecision 6; writecompression off; timeformat general; Ashkhen Nalabndyan Beamer slides template / 25

25 iterate.py This tutorial describes only one-through iteration between Serpent and OpenFOAM. However, it might be of interest to be able to iterate the process for a specified OpenFOAM timestep. A python script is currently in development to allow to do this. So, as it can be noticed, first the parameter x and n are specified; the iteration will either stop when the temperature variation within the cell from one iteration to another is less than x%, or when the n number of iterations is done. A corresponding while loop has to be chosen to do that. Ashkhen Nalabndyan Beamer slides template / 25

26 T and volpower Ashkhen Nalabndyan Beamer slides template / 25

Coupling OpenFOAM to Serpent2.0

Coupling OpenFOAM to Serpent2.0 Cite as: Nalbandyan, A.: Coupling OpenFOAM to Serpent. In Proceedings of CFD with OpenSource Software, 2018, Edited by Nilsson. H., http://dx.doi.org/10.17196/os_cfd#year_2018 CFD with OpenSource software

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

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

Implementation of a myinterfoamdiabatic Solver with OpenFOAM

Implementation of a myinterfoamdiabatic Solver with OpenFOAM CFD with OpenSource Software A course at Chalmers University of Technology Taught by Håkan Nilsson Project work: Implementation of a myinterfoamdiabatic Solver with OpenFOAM Developed for OpenFOAM-1.7.x

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

A interphasechangefoam tutorial

A interphasechangefoam tutorial CFD with OpenSource software A course at Chalmers University of Technology Taught by Håkan Nilsson Project work: A interphasechangefoam tutorial Developed for OpenFOAM-2.0.x Author: Martin Andersen Peer

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

Top-Level Code Walk-Through: scalartransportfoam and magu

Top-Level Code Walk-Through: scalartransportfoam and magu Top-Level Code Walk-Through: scalartransportfoam and magu Hrvoje Jasak and Henrik Rusche h.jasak@wikki.co.uk, h.rusche@wikki-gmbh.de Wikki, United Kingdom and Germany Advanced Training at the OpenFOAM

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

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

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

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

1 st International Serpent User Group Meeting in Dresden, Germany, September 15 16, 2011

1 st International Serpent User Group Meeting in Dresden, Germany, September 15 16, 2011 1 st International Serpent User Group Meeting in Dresden, Germany, September 15 16, 2011 Discussion notes The first international Serpent user group meeting was held at the Helmholtz Zentrum Dresden Rossendorf

More information

OpenFOAM Tutorials: Programming Session

OpenFOAM Tutorials: Programming Session OpenFOAM Tutorials: Programming Session Hrvoje Jasak and Henrik Rusche h.jasak@wikki.co.uk, h.rusche@wikki-gmbh.de Wikki, United Kingdom and Germany Advanced Training at the OpenFOAM Workshop 21.6.2010,

More information

Adding the scalar transport equation to icofoam

Adding the scalar transport equation to icofoam Let us modify a solver, we will work with icofoam. We will add a passive scalar convection-diffusion equation). At this point, you can work in any directory. But we recommend you to work in your OpenFOAM

More information

interphasechangefoam

interphasechangefoam interphasechangefoam This assignment is solved in OpenFOAM 2.0.x. How to apply a heat source to interphasechangefoam to evaporate water. In this presentation will go through the following steps: Short

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

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

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

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

Tutorial: Hydrodynamics of Bubble Column Reactors

Tutorial: Hydrodynamics of Bubble Column Reactors Tutorial: Introduction The purpose of this tutorial is to provide guidelines and recommendations for solving a gas-liquid bubble column problem using the multiphase mixture model, including advice on solver

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

OpenFOAM directory organization

OpenFOAM directory organization OpenFOAM directory organization Håkan Nilsson, Chalmers / Mechanics and Maritime Sciences / Fluid Dynamics 1 Prerequisites OpenFOAM directory organization You know how to use OpenFOAM, and how to find

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

Step-by-step guide for the modeling of a simple geometry and solving for its electric field with CAELinux

Step-by-step guide for the modeling of a simple geometry and solving for its electric field with CAELinux Step-by-step guide for the modeling of a simple geometry and solving for its electric field with CAELinux 1 Introduction What is CAELinux? CAELinux is a Linux distribution intended to provide a fully functional

More information

A modified version of the reactingfoam tutorial for LES

A modified version of the reactingfoam tutorial for LES A modified version of the reactingfoam tutorial for LES PhD course in CFD with OpenSource software, december 2009 Outline change the reactingfoam solver from RAS to LES download the original tutorial from

More information

Calculate a solution using the pressure-based coupled solver.

Calculate a solution using the pressure-based coupled solver. Tutorial 19. Modeling Cavitation Introduction This tutorial examines the pressure-driven cavitating flow of water through a sharpedged orifice. This is a typical configuration in fuel injectors, and brings

More information

Moving Wave class. 1. Introduction

Moving Wave class. 1. Introduction Moving Wave class 1. Introduction This tutorial describes how to generate moving waves in OpenFoam. This class can be used to simulate for example the effect of ocean waves on offshore structures. A mesh

More information

OpenFOAM Basic Training

OpenFOAM Basic Training OpenFOAM Basic Training 4th 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

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

Co-Simulation von Flownex und ANSYS CFX am Beispiel einer Verdrängermaschine

Co-Simulation von Flownex und ANSYS CFX am Beispiel einer Verdrängermaschine Co-Simulation von Flownex und ANSYS CFX am Beispiel einer Verdrängermaschine Benoit Bosc-Bierne, Dr. Andreas Spille-Kohoff, Farai Hetze CFX Berlin Software GmbH, Berlin Contents Positive displacement compressors

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

Modelling of chemical batch reactor

Modelling of chemical batch reactor CFD with OpenSource software A course at Chalmers University of Technology Taught by Håkan Nilsson Project work: Modelling of chemical batch reactor Developed for OpenFOAM-2.4x Author: Rajukiran Antham

More information

Evoking existing function objects and creating new user-defined function objects for Post- Processing

Evoking existing function objects and creating new user-defined function objects for Post- Processing Cite as: Sankar Raju.N : Evoking existing function objects and creating new user-defined function objects for Post- Processing. In Proceedings of CFD with OpenSource Software, 2017, Edited by Nilsson.

More information

MSc/PhD course in CFD with OpenSource software, 2011

MSc/PhD course in CFD with OpenSource software, 2011 MSc/PhD course in CFD with OpenSource software, 2011 Implementation of lift and drag coefficinets in transient condition Developed for OpenFOAM-1.7-x Håkan Nilsson, Chalmers/ Applied Mechanics/ Fluid Dynamics

More information

How to implement a new boundary condition

How to implement a new boundary condition How to implement a new boundary condition The implementations of the boundary conditions are located in $FOAM_SRC/finiteVolume/fields/fvPatchFields/ To add a new boundary condition, start by finding one

More information

Auto Injector Syringe. A Fluent Dynamic Mesh 1DOF Tutorial

Auto Injector Syringe. A Fluent Dynamic Mesh 1DOF Tutorial Auto Injector Syringe A Fluent Dynamic Mesh 1DOF Tutorial 1 2015 ANSYS, Inc. June 26, 2015 Prerequisites This tutorial is written with the assumption that You have attended the Introduction to ANSYS Fluent

More information

CEE 618 Scientific Parallel Computing (Lecture 10)

CEE 618 Scientific Parallel Computing (Lecture 10) 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

More information

Write your own solver

Write your own solver Write your own solver Prof Gavin Tabor Friday 25th May 2018 Prof Gavin Tabor Write your own solver Friday 25th May 2018 1 / 16 Writing Apps where to start? Installation directory structure /opt/foam/openfoam

More information

OpenFOAM directory organization

OpenFOAM directory organization OpenFOAM directory organization Håkan Nilsson, Chalmers / Mechanics and Maritime Sciences / Fluid Dynamics 1 OpenFOAM directory organization We will first browse the directories graphically in Linux. Below

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

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

Status and development of multi-physics capabilities in Serpent 2

Status and development of multi-physics capabilities in Serpent 2 Status and development of multi-physics capabilities in Serpent 2 V. Valtavirta VTT Technical Research Centre of Finland ville.valtavirta@vtt.fi 2014 Serpent User Group Meeting Structure Click to of edit

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

Multiphysics simulations of nuclear reactors and more

Multiphysics simulations of nuclear reactors and more Multiphysics simulations of nuclear reactors and more Gothenburg Region OpenFOAM User Group Meeting Klas Jareteg klasjareteg@chalmersse Division of Nuclear Engineering Department of Applied Physics Chalmers

More information

Pitz-Daily Turbulence Case. Jonathan Russell

Pitz-Daily Turbulence Case. Jonathan Russell Pitz-Daily Turbulence Case Jonathan Russell Content Pitz-Daily Problem 1) Description of the Case 2) Hypothesis 3) Physics of the problem 4) Preprocessing a. Mesh Generation b. Initial/Boundary Conditions

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

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

reactingfoam Solver to Calculate Radiative Heat Transfer

reactingfoam Solver to Calculate Radiative Heat Transfer reactingfoam Solver Calculate Radiative Heat Transfer By: Sajjad Haider Assignment for the Course CFD with OpenSource software, 2011 Chalmers University of Technology In some combustion devices, involving

More information

icofsifoam and interfsifoam

icofsifoam and interfsifoam icofsifoam and interfsifoam Constructing solvers for weakly coupled problems using OpenFOAM-1.5-dev Håkan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 1 Fluid structure interaction Fluid structure

More information

Tutorial 1. Introduction to Using FLUENT: Fluid Flow and Heat Transfer in a Mixing Elbow

Tutorial 1. Introduction to Using FLUENT: Fluid Flow and Heat Transfer in a Mixing Elbow Tutorial 1. Introduction to Using FLUENT: Fluid Flow and Heat Transfer in a Mixing Elbow Introduction This tutorial illustrates the setup and solution of the two-dimensional turbulent fluid flow and heat

More information

Adapting chtmultiregionsimplefoam to include the effects of a rotating frame of reference and heat source term

Adapting chtmultiregionsimplefoam to include the effects of a rotating frame of reference and heat source term Cite as: Niebles Atencio, B.: Adapting chtmultiregionsimplefoam to include the effects of a rotating frame of reference and heat source term. In Proceedings of CFD with OpenSource Software, 2017, Edited

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

Numerical Simulation of Heat Transfer by Natural Convection in Horizontal Finned Channels

Numerical Simulation of Heat Transfer by Natural Convection in Horizontal Finned Channels Numerical Simulation of Heat Transfer by Natural Convection in Horizontal Finned Channels Gabriel Gonçalves da Silva Ferreira, Luiz Fernando Lopes Rodrigues Silva Escola de Química, UFRJ Paulo L. C. Lage

More information

Speed and Accuracy of CFD: Achieving Both Successfully ANSYS UK S.A.Silvester

Speed and Accuracy of CFD: Achieving Both Successfully ANSYS UK S.A.Silvester Speed and Accuracy of CFD: Achieving Both Successfully ANSYS UK S.A.Silvester 2010 ANSYS, Inc. All rights reserved. 1 ANSYS, Inc. Proprietary Content ANSYS CFD Introduction ANSYS, the company Simulation

More information

Simulation of Flow Development in a Pipe

Simulation of Flow Development in a Pipe Tutorial 4. Simulation of Flow Development in a Pipe Introduction The purpose of this tutorial is to illustrate the setup and solution of a 3D turbulent fluid flow in a pipe. The pipe networks are common

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

Click to edit Master title style

Click to edit Master title style Greetings from the Serpent Developer Team 7th International Serpent UGM, Gainesville, FL, Nov. 6 9, 2017 Jaakko Leppänen VTT Technical Research Center of Finland Source code development: Click Jaakko to

More information

OpenFOAM case: Mixing

OpenFOAM case: Mixing OpenFOAM case: Mixing nelson.marques@fsdynamics.pt; bruno.santos@fsdynamics.pt 30 th September 1 st October 2017 optim ises you rtec hnology 2 1 1. Case Description Overview Solver selection 2. Meshing

More information

Cold Flow Simulation Inside an SI Engine

Cold Flow Simulation Inside an SI Engine Tutorial 12. Cold Flow Simulation Inside an SI Engine Introduction The purpose of this tutorial is to illustrate the case setup and solution of the two dimensional, four stroke spark ignition (SI) engine

More information

ENG ME702: Computational Fluid Mechanics (Fall 2016) Final Project

ENG ME702: Computational Fluid Mechanics (Fall 2016) Final Project ENG ME702: Computational Fluid Mechanics (Fall 2016) Final Project Shock Tube with rhocentralfoam, sonicfoam, Lax-Friedrichs and MacCormacks Ankush Gupta (U01997897) Submitted on: December 20, 2016 Submitted

More information

Using a Single Rotating Reference Frame

Using a Single Rotating Reference Frame Tutorial 9. Using a Single Rotating Reference Frame Introduction This tutorial considers the flow within a 2D, axisymmetric, co-rotating disk cavity system. Understanding the behavior of such flows is

More information

This tutorial illustrates how to set up and solve a problem involving solidification. This tutorial will demonstrate how to do the following:

This tutorial illustrates how to set up and solve a problem involving solidification. This tutorial will demonstrate how to do the following: Tutorial 22. Modeling Solidification Introduction This tutorial illustrates how to set up and solve a problem involving solidification. This tutorial will demonstrate how to do the following: Define a

More information

Instructional workshop on OpenFOAM programming LECTURE # 4

Instructional workshop on OpenFOAM programming LECTURE # 4 Instructional workshop on OpenFOAM programming LECTURE # 4 Pavanakumar Mohanamuraly April 26, 2014 Outline Time derivative User defined boundary conditions - part I ddt operator fvc and fvm versions of

More information

Modifying buoyantpimplefoam for the Simulation of Solid-Liquid Phase Change with Temperature-dependent Thermophysical Properties

Modifying buoyantpimplefoam for the Simulation of Solid-Liquid Phase Change with Temperature-dependent Thermophysical Properties Modifying buoyantpimplefoam for the Simulation of Solid-Liquid Phase Change with Temperature-dependent Thermophysical Properties Daniel Hummel Ostbayerische Technische Hochschule (OTH) Amberg-Weiden Friedrich-Alexander

More information

OpenFOAM Programming the basic classes

OpenFOAM Programming the basic classes OpenFOAM Programming the basic classes Prof Gavin Tabor Friday 25th May 2018 Prof Gavin Tabor OpenFOAM Programming the basic classes Friday 25th May 2018 1 / 30 OpenFOAM : Overview Overview : programming

More information

Improvement of the VOF-LPT Solver for Bubbles

Improvement of the VOF-LPT Solver for Bubbles Improvement of the VOF-LPT Solver for Bubbles Ebrahim Ghahramani Chalmers University of Technology, Gothenburg, Sweden 2016-12-05 Ebrahim Ghahramani Beamer slides template 2016-12-05 1 / 26 1 Introduction

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

Express Introductory Training in ANSYS Fluent Workshop 07 Tank Flushing

Express Introductory Training in ANSYS Fluent Workshop 07 Tank Flushing Express Introductory Training in ANSYS Fluent Workshop 07 Tank Flushing Dimitrios Sofialidis Technical Manager, SimTec Ltd. Mechanical Engineer, PhD PRACE Autumn School 2013 - Industry Oriented HPC Simulations,

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

A look inside icofoam (and pisofoam)

A look inside icofoam (and pisofoam) A look inside icofoam (and pisofoam) Håkan Nilsson, Chalmers / Mechanics and Maritime Sciences / Fluid Dynamics 1 A look inside icofoam TheicoFoam directory ($FOAM_SOLVERS/incompressible/icoFoam) consists

More information

Lecture 6 Static Data Transfers. Solving FSI Applications Using ANSYS Mechanical and ANSYS Fluent Release. Release 14.5

Lecture 6 Static Data Transfers. Solving FSI Applications Using ANSYS Mechanical and ANSYS Fluent Release. Release 14.5 Lecture 6 Static Data Transfers 14. 5 Release Solving FSI Applications Using ANSYS Mechanical and ANSYS Fluent 1 2011 ANSYS, Inc. January 4, 2013 Outline Direct Project Schematic Connections Details on

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

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

CFD Modelling of Erosion in Slurry Tee-Junction

CFD Modelling of Erosion in Slurry Tee-Junction CFD Modelling of Erosion in Slurry Tee-Junction Edward Yap Jeremy Leggoe Department of Chemical Engineering The University of Western Australia David Whyte CEED Client: Alumina Centre of Excellence, Alcoa

More information

A tutorial to urban wind flow using OpenFOAM for the course CFD with OpenSource Software

A tutorial to urban wind flow using OpenFOAM for the course CFD with OpenSource Software A tutorial to urban wind flow using OpenFOAM for the course CFD with OpenSource Software David Segersson Swedish Meteorological and Hydrological Institute & Stockholm University 2017-11-23 David Segersson

More information

Finite Volume Method: A Crash introduction

Finite Volume Method: A Crash introduction Finite Volume Method: A Crash introduction Before continuing, we want to remind you that this a brief introduction to the FVM. Let us use the general transport equation as the starting point to explain

More information

Simulation and Optimization in the wind energy industry

Simulation and Optimization in the wind energy industry Simulation and Optimization in the wind energy industry Numerical Simulation & Optimization www.ozeninc.com/optimization optimization@ozeninc.com Summary Why to use numerical simulations and optimization?

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

2010 ANSYS, Inc. All rights reserved. 1 ANSYS, Inc. Proprietary

2010 ANSYS, Inc. All rights reserved. 1 ANSYS, Inc. Proprietary Bi-directional Automatic Electromagnetic-Thermal Coupling for HEV/EV Traction Motor Design Using Maxwell and ANSYS Mechanical Peng Yuan Eric Lin Zed (Zhangjun) Tang ANSYS, Inc. 2010 ANSYS, Inc. All rights

More information

Click to edit Master title style

Click to edit Master title style Introduction to Serpent Code Fusion neutronics workshop, Cambridge, UK, June 11-12, 2015 Jaakko Leppänen VTT Technical Research Center of Finland Click to edit Master title Outline style Serpent overview

More information

How to implement a new boundary condition

How to implement a new boundary condition How to implement a new boundary condition The implementations of the boundary conditions are located in $FOAM_SRC/finiteVolume/fields/fvPatchFields/ Toaddanewboundarycondition,startbyfindingonethatdoesalmostwhatyouwant.

More information

Force based motion of a submerged object using immersed boundary method

Force based motion of a submerged object using immersed boundary method Cite as: Siggeirsson, E.M.V.: Force based motion of a submerged object using immersed boundary metod. In Proceedings of CFD with OpenSource Software, 2016, http://www.tfd.chalmers.se/~hani/kurser/os_cfd_2016

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

myenginefoam Implementation of different combustion model and newjanafthermo model

myenginefoam Implementation of different combustion model and newjanafthermo model myenginefoam Implementation of different and Lorenzo Bartolucci Department of Industrial Engineering University of Rome Tor Vergata Italy 28/11/2014 Lorenzo Bartolucci myenginefoam 1 Outline: implementation

More information

Implementing an application from scratch

Implementing an application from scratch Let us do a little bit of high level programming, this is the hard part of working with OpenFOAM. At this point, you can work in any directory. But we recommend you to work in your OpenFOAM user directory,

More information

Lab 9: FLUENT: Transient Natural Convection Between Concentric Cylinders

Lab 9: FLUENT: Transient Natural Convection Between Concentric Cylinders Lab 9: FLUENT: Transient Natural Convection Between Concentric Cylinders Objective: The objective of this laboratory is to introduce how to use FLUENT to solve both transient and natural convection problems.

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

Use 6DOF solver to calculate motion of the moving body. Create TIFF files for graphic visualization of the solution.

Use 6DOF solver to calculate motion of the moving body. Create TIFF files for graphic visualization of the solution. Introduction The purpose of this tutorial is to provide guidelines and recommendations for setting up and solving a moving deforming mesh (MDM) case along with the six degree of freedom (6DOF) solver and

More information

Solvers for Boussinesq shallow water equations

Solvers for Boussinesq shallow water equations Cite as: Koukounas, D.: Solvers for Boussinesq shallow water equations. In Proceedings of CFD with OpenSource Software, 2017, Edited by Nilsson. H., http://dx.doi.org/10.17196/os_cfd#year_2017 CFD with

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

Axial Channel Water Jacket Cooling

Axial Channel Water Jacket Cooling 28 November 2017 Motor-CAD Software Tutorial: Axial Channel Water Jacket Cooling Contents 1. Description... 1 2. Setting up the housing and axial channels... 2 3. Setting the water jacket fluid and flow

More information

Implementation of an air-entrainment model in interfoam for the course CFD with OpenSource Software

Implementation of an air-entrainment model in interfoam for the course CFD with OpenSource Software Implementation of an air-entrainment model in interfoam for the course CFD with OpenSource Software Silje Kreken Almeland Department of Civil and Environmental Engineering, Norwegian University of Science

More information

Tutorial: Heat and Mass Transfer with the Mixture Model

Tutorial: Heat and Mass Transfer with the Mixture Model Tutorial: Heat and Mass Transfer with the Mixture Model Purpose The purpose of this tutorial is to demonstrate the use of mixture model in FLUENT 6.0 to solve a mixture multiphase problem involving heat

More information

NUMERICAL INVESTIGATION OF THE FLOW BEHAVIOR INTO THE INLET GUIDE VANE SYSTEM (IGV)

NUMERICAL INVESTIGATION OF THE FLOW BEHAVIOR INTO THE INLET GUIDE VANE SYSTEM (IGV) University of West Bohemia» Department of Power System Engineering NUMERICAL INVESTIGATION OF THE FLOW BEHAVIOR INTO THE INLET GUIDE VANE SYSTEM (IGV) Publication was supported by project: Budování excelentního

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

CDA Workshop Physical & Numerical Hydraulic Modelling. STAR-CCM+ Presentation

CDA Workshop Physical & Numerical Hydraulic Modelling. STAR-CCM+ Presentation CDA Workshop Physical & Numerical Hydraulic Modelling STAR-CCM+ Presentation ENGINEERING SIMULATION CFD FEA Mission Increase the competitiveness of companies through optimization of their product development

More information

Design Optimization of a Weather Radar Antenna using Finite Element Analysis (FEA) and Computational Fluid Dynamics (CFD)

Design Optimization of a Weather Radar Antenna using Finite Element Analysis (FEA) and Computational Fluid Dynamics (CFD) Design Optimization of a Weather Radar Antenna using Finite Element Analysis (FEA) and Computational Fluid Dynamics (CFD) Fernando Prevedello Regis Ataídes Nícolas Spogis Wagner Ortega Guedes Fabiano Armellini

More information

Compressible Flow in a Nozzle

Compressible Flow in a Nozzle SPC 407 Supersonic & Hypersonic Fluid Dynamics Ansys Fluent Tutorial 1 Compressible Flow in a Nozzle Ahmed M Nagib Elmekawy, PhD, P.E. Problem Specification Consider air flowing at high-speed through a

More information

Elmer. Beoynd ElmerGUI About pre- and postprocessing, derived data and manually working with the case. ElmerTeam. CSC IT Center for Science Ltd.

Elmer. Beoynd ElmerGUI About pre- and postprocessing, derived data and manually working with the case. ElmerTeam. CSC IT Center for Science Ltd. Elmer Beoynd ElmerGUI About pre- and postprocessing, derived data and manually working with the case ElmerTeam CSC IT Center for Science Ltd. PATC Elmer Course CSC, August 2012 Topics Alternative preprocessors

More information