80

OpenFOAM@mimesis - Cineca · 2012. 12. 11. · mimesis s.r.l. - 26 –28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna • Experiments were performed for

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

  • Diego Angeli Ph.D

    OpenFOAM@mimesis

    26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Acknowledgements

    Members of mimesis involved

    • Paolo Levoni (CEO)

    • Marco Cavazzuti

    Collaborators of mimesis

    • Elia Agnani

    • Stefano Martella

    (once were) undergraduate students @UNIMORE

    • Ruggero Verzulli

    • Federico Rossi

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Outline

    mimesis introduction

    • a road vehicle application

    • an agricultural vehicle application

    • a fire protection engineering application

    Master Thesis Projects @UNIMORE• OpenFOAM vs. Fluent

    • aerodynamics of a Formula Student car

    OpenFOAM-based industrial research: 3 examples

    Education and training

  • mimesis is an engineering company working in the fields of thermofluids and energy

    “mimesis” means imitation of nature, a nature which

    always evolves, improves and refines itself... if the goal

    is to optimize, for sure there is no better muse.

    mimesis was born as a spinoff company of DIEF (Dipartimento di Ingegneria “Enzo Ferrari”) from the

    Applied Phisics Research Group of the University of

    Modena and Reggio Emilia

    The company was then expanded in order to

    incorporate specific knowledge in the fields of energy

    and sustainable mobility, that represent main

    challenges for modern human society

  • energy

    thermofluids

  • thermofluidsservices

  • thermofluidsservices

    design & 3D modelling

  • design & 3D modelling

    CFD thermofluid analyses

    thermofluidsservices

  • standard experimental analysis

    CFD thermofluid analyses

    thermofluidsservices

    design & 3D modelling

  • advanced experimental analysis

    standard experimental analysis

    CFD thermofluid analyses

    thermofluidsservices

    design & 3D modelling

  • advanced experimental analysis

    prototype development

    standard experimental analysis

    thermofluidsservices

    CFD thermofluid analyses

    design & 3D modelling

  • optimization processes

    prototype development

    standard experimental analysis

    thermofluidsservices

    CFD thermofluid

    advanced experimental analysis

    design & 3D modelling

  • optimization processes

    prototype development

    standard experimental analysis

    thermofluidsservices

    CFD thermofluid analyses

    advanced experimental analysis

    design & 3D modelling

  • servicesenergy

  • servicesenergy

    stationary applications

  • servicesenergy

    energy management and planning

    stationary applications

  • renewable energy plants

    energy management and planning

    servicesenergy

    stationary applications

  • plants and component testing

    renewable energy plants

    servicesenergy

    stationary applications

    energy management and planning

  • development of advanced energy processes and products

    renewable energy plants

    plants and component testing

    servicesenergy

    stationary applications

    energy management and planning

  • development of advanced energy processes and products

    buildings energy diagnosis and plants optimization

    servicesenergy

    stationary applications

    energy management and planning

    plants and component testing

    renewable energy plants

  • servicesenergy

    stationary applications

    development of advanced energy processes and products

    energy management and planning

    buildings energy diagnosis and plants optimization

    plants and component testing

    renewable energy plants

  • servicesenergy

    mobility

  • servicesenergy

    electric prototype development

    mobility

  • servicesenergy

    electric prototype development

    mobility

    power supply transformationkits

  • power supply transformation kits

    smart mobility & social pooling

    electric prototype development

    servicesenergy

    mobility

  • electric prototype development

    smart mobility & social pooling

    servicesenergy

    power supply transformation kits

    mobility

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Outline

    mimesis introduction

    • a road vehicle application

    • an agricultural vehicle application

    • a fire protection engineering application

    Master Thesis Projects @UNIMORE• OpenFOAM vs. Fluent

    • aerodynamics of a Formula Student car

    OpenFOAM-based industrial research: 3 examples

    Education and training

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Road vehicle application

    Self-ventilated brake disk for a HP road car

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Road vehicle application

    Computational mesh and numerical details

    • 36° slice, rotational

    symmetry

    • flow induced by rotation

    • ~1.6 million cells

    • hybrid tet-prism mesh

    • SRFSimpleFoam

    • RANS (k-ω SST)

    • I order schemes

    • 2 days on an i7 CPU

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Road vehicle application

    A snapshot of the results…

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Outline

    mimesis introduction

    • a road vehicle application

    • an agricultural vehicle application

    • a fire protection engineering application

    Master Thesis Projects @UNIMORE• OpenFOAM vs. Fluent

    • aerodynamics of a Formula Student car

    OpenFOAM-based industrial research: 3 examples

    Education and training

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Agricultural vehicle application

    Lubrication circuit of a tractor clutch

    Cross-section of the whole

    clutch group

    Reverse gear group

    Detail of the reverse gear

    group

    Main idea:

    • 0D approach

    • Subparts are represented by

    their flow rate/head loss curve

    (obtained by OpenFOAM)

    • experimental tuning/verification

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Agricultural vehicle application

    Subsystem modeling: the friction plates

    Metallic disk

    Friction material

    • the friction plates are made up of a permeable material with many

    microchannels, whose full modeling is out of scope

    • adoption of a (rotating) porous medium model

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Agricultural vehicle application

    A small fix of OpenFOAM development…

    • porousSimpleFoam + SRFSimpleFoam = porousSRFSimpleFoam

    • Porosity Model: power-law:

    • Two coefficients to be tuned

    based on experimental data (non-rotating system)

    • Extrapolation of the characteristic curve under rotation

    21

    0

    1 /)(C

    ii uCS

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Outline

    mimesis introduction

    • a road vehicle application

    • an agricultural vehicle application

    • a fire protection engineering application

    Master Thesis Projects @UNIMORE• OpenFOAM vs. Fluent

    • aerodynamics of a Formula Student car

    OpenFOAM-based industrial research: 3 examples

    Education and training

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    • Experiments were performed for the case of a heptane pool fire in a full-

    scale under-ventilated environment (a closed garage), measuring the

    temperature at several locations by the use of thermocouples

    • The experimental layout has been numerically reproduced and simulated

    using fireFoam

    • This is a preliminary study in order to validate the CFD solver and

    understand the critical issues in fire modelling

    • The work is still in progress and the numerical model still has to be

    calibrated properly, just a quick overwiev on the problem and the results

    obtained so far will be given

    Fire Safety Engineering Application

    Numerical validation of the OpenFOAM-based CFD solver fireFoam

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Fire Safety Engineering Application

    Experimental room and thermocouples layout: front view and top view

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Fire Safety Engineering Application

    Experimental room and thermocouples layout: front view and top view

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Fire Safety Engineering Application

    Experimental room and thermocouples layout: front view and top view

    • A steel panel is located 1m above the

    pool fire

    • Thermocouples were mainly located

    on the central x-z plane at different

    heights, at the wall, at the room

    centre, and on the right of the steel

    panel

    • Temperatures were recorded every

    11s

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    • Inlet BC: the fuel burning rate of a pool fire is not known a priori and must

    be set according to experimental results

    • Wall BC: a 3rd type (wallHeatTransfer) condition is applied, however a

    global wall heat transfer coefficient is not known from experiments

    • Outlet BC: two thin outlet sections are added to the numerical model in

    correspondence to the garage door in order to avoid the pressurization of

    the room

    • In strongly under-ventilated conditions such as the one we are addressing

    fuel combustion is incomplete and a lot of soot is produced, thus the actual

    Heat Release Rate of the fuel is not known a priori; as a first guess it is

    assumed a combustion efficiency of 75% both in terms of fully burnt fuel

    mass and HRR: the following combustion reaction is adopted

    C7H

    16+ 11O

    2+ 37.27 N

    25CO

    2+ 2CO + 8H

    2O + 37.27N

    2+ 34MJ/kg

    Fire Safety Engineering Application

    Numerical setup: BCs and critical issues

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Fire Safety Engineering Application

    Fire evolution: experiment vs simulation

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Fire Safety Engineering Application

    Temperature history at various locations

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Fire Safety Engineering Application

    Temperature history at various locations

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Fire Safety Engineering Application

    Temperature history at various locations

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Outline

    mimesis introduction

    • a road vehicle application

    • an agricultural vehicle application

    • a fire protection engineering application

    Master Thesis Projects @UNIMORE• OpenFOAM vs. Fluent

    • aerodynamics of a Formula Student car

    OpenFOAM-based industrial research: 3 examples

    Education and training

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    MS Projects – OpenFOAM vs. Fluent

    Test case n.1 – hydrodynamics of appendages

    3 turbulence models:

    • Spalart-Allmaras

    • SST k-ω

    • RSM *(I order)

    Simulation types:

    • simpleFoam

    • RANS

    • II order schemes*

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    MS Projects – OpenFOAM vs. Fluent

    Test case n.1 – hydrodynamics of appendages

    FluentOpenFOAM

    k-ω SST model: qualitative comparison

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    MS Projects – OpenFOAM vs. Fluent

    Test case n.1 – hydrodynamics of appendages

    FluentOpenFOAM

    Spalart-allmaras model: qualitative comparison

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    MS Projects – OpenFOAM vs. Fluent

    Test case n.1 – hydrodynamics of appendages

    RSM model: quantitative comparison

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    MS Projects – OpenFOAM vs. Fluent

    Test case n.2 – Wigley-Hull

    Simulation types:

    • interFoam

    • RANS (k-ω SST)

    • II order schemes

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    MS Projects – OpenFOAM vs. Fluent

    Test case n.2 – Wigley-Hull

    FluentOpenFOAM FluentOpenFOAM

    pressure distribution on

    the free surface

    free surface

    relative height

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Outline

    mimesis introduction

    • a road vehicle application

    • an agricultural vehicle application

    • a fire protection engineering application

    Master Thesis Projects @UNIMORE• OpenFOAM vs. Fluent

    • aerodynamics of a Formula Student car

    OpenFOAM-based industrial research: 3 examples

    Education and training

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    MS Projects – Formula Student

    External aerodynamics study of the UNIMORE 2012 IMechE Formula Student single-seater

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    MS Projects – Formula Student

    External aerodynamics study of the UNIMORE 2012 IMechE Formula Student single-seater

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    MS Projects – Formula Student

    External aerodynamics study of the UNIMORE 2012 IMechE Formula Student single-seater

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Outline

    mimesis introduction

    • a road vehicle application

    • an agricultural vehicle application

    • a fire protection engineering application

    Master Thesis Projects @UNIMORE• OpenFOAM vs. Fluent

    • aerodynamics of a Formula Student car

    OpenFOAM-based industrial research: 3 examples

    Education and training

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    • Since 2010, we teach an introductory course on OpenFOAM (20 hrs. +

    project work) to the Undergraduate Master Students of Mechanical

    Engineering and Vehicle Engineering, in the frame of the Numerical

    Thermofluid-dynamics course

    Education and training

    Education @ DIEF - UNIMORE

    • We held a small “crash course” on OpenFOAM at the 12th U.I.T. Summer

    School (organized by the Italian Union of Thermofluid-dynamics, Sep. 2012)

    • We are looking forward to organizing on-demand courses for industry

    researchers and/or to partnering existing training events (no community, no OF!)

    Training

  • mimesis s.r.l. - c/o DIEF Dipartimento Ingegneria “Enzo Ferrari” - via Vignolese 905, 41125 Modena

    CFD analysis of theMont Blanc Tunnel

    26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications

    Diego Angeli, Ph.D

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    • Collaboration among DIEF, Mimesis s.r.l. and GEIE-TMB started in 2009, on

    the study and optimization of the Mont Blanc tunnel ventilation system.

    • The research is carried out by both modeling and experiments, combined in

    an integrated approach for the analysis of this class of problems.

    • Experiments allowed to collect accurate in situ air velocity data for model

    development and validation, and for the verification of airflow control

    infrastructures.

    • Numerical work:

    • 3D full-scale CFD with OpenFOAM

    • development of 1D codes for simplified modeling

    Overview

    The project

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Experimental work

    Like moles in a wormhole…

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Huge domain

    Full-scale simulation

    Critical aspects

    Length 11611 m

    Height 6 m

    Width 9 m

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Huge domain

    Ventilation elements

    Full-scale simulation

    Critical aspects

    Jet fans

    Fresh air intake

    Smoke extraction outlet

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Ventilation elements

    Full-scale simulation

    Critical aspects

    Huge domain

    Complex modularity

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    TMB Modeling

    Geometrical simplifications

    Typical tunnel section

    No garages

    No sidewalk

    No road signs

    Equivalent wall roughness

    (tuned with experimental data)

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    TMB Modeling

    Geometrical simplifications

    Typical tunnel section

    Modeling of small air vents

    (one each 10 m) avoided

    Continuous boundary patch

    Fresh air intake

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Fresh air intake

    TMB Modeling

    Geometrical simplifications

    Typical tunnel section

    Internal machinery unmodeled

    Hollow cylinders with ad-hoc BCs

    Jet fans

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    TMB Modeling

    Meshing

    Optimal section grid

    Mesh convergence

    assessed by means of

    Richardson analysis

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Axial refinement

    TMB Modeling

    Meshing

    Optimal section grid

    Near high-gradient zones

    • Smoke extraction

    • Jet fans

    • Fresh air intake

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Jet fans modeling

    Modeling procedure

    Experimental

    characterization

    Hot-wire anemometry

    Measurement if Ur, Uϑ, Uz and k

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Jet fans modeling

    Modeling procedure

    Experimental

    characterization

    Curve fits of

    experimental data

    Ensure mass conservation

    Swirl taken into account

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Customized BC

    Jet fans modeling

    Modeling procedure

    Experimental

    characterization

    Available fanPressureBC

    • No mass conservation

    • No swirl

    Curve fits of

    experimental data

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    At the fan suction inlet (an outlet of the CFD model), pressure is imposed as

    equal to the average pressure at the discharge section, minus the nominal

    pressure jump given by the fan; a zero gradient condition is imposed for the

    velocity

    TMB Modeling

    Customized BC for jet fans

    0=Δ=S

    FANDS nppp

    ∂-

    u

    At the fan discharge (an inlet of the CFD model), velocity is imposed as

    equal to the average velocity at the suction, multiplied by the reconstructed

    dimensionless velocity profile (ensuring mass conservation); a zero gradient

    condition is imposed on pressure

    0=~•=D

    DSD n

    pU

    ∂uu

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Jet fans modeling

    Application of customized BC

    Swirl

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Jet fans modeling

    Application of customized BC

    Swirl

    Coanda effect

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Jet fans modeling

    Application of customized BC

    Coanda effect

    Swirl

    Validation vs. experimental data

    n. fans 1 2 3

    Uexp

    [m/s] 3.10 3.21 3.17

    UOF

    [m/s] 3.19 3.36 3.35

    E % 2.8 4.5 5.8

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    ~2 million cells

    k- realizable model,

    standard wall functions

    All ventilation elements in

    a 300 m long tunnel

    segment

    Trouble-free calculation

    Full-scale simulation

    Towards the complete TMB simulation

    Qualitative analysis

    of a tunnel segment

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    Full-scale simulation

    Towards the complete TMB simulation

    Qualitative analysis

    of a tunnel segment

    Decomposition in elemental

    blocks

    Arbitrary Mesh Interface (AMI)

    Control scripts

    How to build the

    whole model?

  • mimesis s.r.l. - 26 – 28.11.12 HPC enabling of OpenFOAM for CFD applications - CINECA - Bologna

    How to build the

    whole model?

    Full-scale simulation

    Towards the complete TMB simulation

    Qualitative analysis

    of a tunnel segment

    Full-scale simulation @ CINECA

    Multiscale coupling with 1D

    models

    Perspectives

  • www.mimesis.eu [email protected]

    o c/o DIEF - Dipartimento di Ingegneria “Enzo Ferrari”

    Via Vignolese 905, 41125 Modena - IT +39 3394307873

    o spanish office

    Calle Ortigosa 14, 08003 Barcelona - ES +34 654850706