Beruflich Dokumente
Kultur Dokumente
DI MILANO
POLITECNICO DI MILANO
Department of Energy
http://www.engines.polimi.it
Gianluca Montenegro
POLITECNICO
DI MILANO
http://www.engines.polimi.it
2
PhD students
Luca Cornolti, MSc
Roberto Torelli, MSc
http://www.engines.polimi.it
Visiting PhD
Aalto , Sidney, Chalmers,
Freiberg, Valencia, etc.,
MSc students
15 per year
POLITECNICO
DI MILANO
Advanced combustion
process (HCCI)
Downsizing,
Supercharging
Alternative fuels
for I.C. engines
Exhaust gas
after-treatment
http://www.engines.polimi.it
POLITECNICO
DI MILANO
POLITECNICO
DI MILANO
Throttle valves
to actuate the VIS
http://www.engines.polimi.it
5
P
(chemical
probe)
POLITECNICO
DI MILANO
Combustion
Intake system
Turbocharger
Silencers
Noise
1D-3D
thermo-fluid
dynamic
modeling
(GASDYN-OpenFOAM/Lib-ICE) of S.I. engines (gasoline, natural
gas, hydrogen) and C.I. engines (Diesel, HCCI).
Simulation of wave motion and chemical species transport, with
reactions in the gas and solid phase along the exhaust ducts.
Integrated modeling of the main after-treatment devices: 3W
catalyst, DPF, DOC, SCR, deNOx trap, secondary air
injection, etc..
http://www.engines.polimi.it
6
AVL
GAMMA TECH.
LMS-IMAGINE
LIEBHERR
LAMBORGHINI
NISSAN
MVAGUSTA
PIAGGIO-APRILIA
SEATEK
CATERPILLAR
new atomization systems for Diesel engines
CONTINENTAL
3D modeling of direct injection/combustion
FAURECIA
1D-3D modeling of exhaust system
MAGNETI MARELLI
3D modeling of direct injection/combustion
MARKIV
1D-3D modeling of intake system
IFP
ENI
http://www.engines.polimi.it
7
POLITECNICO
DI MILANO
POLITECNICO
DI MILANO
Academic collaborations
Chalmers University
IM-CNR Naples
Ohio State University
University of Bologna
University of Genova
University of Louvain
University of New South Wales of Sydney
University of Valencia
University of Wisconsin
University of Zagreb
University of Exeter
http://www.engines.polimi.it
8
What is CFD?
POLITECNICO
DI MILANO
http://www.engines.polimi.it
What is CFD?
POLITECNICO
DI MILANO
http://www.engines.polimi.it
What is CFD?
POLITECNICO
DI MILANO
http://www.engines.polimi.it
CFD history
POLITECNICO
DI MILANO
http://www.engines.polimi.it
CFD Today
POLITECNICO
DI MILANO
http://www.engines.polimi.it
CFD Today
Requirements on Software Design
Industrial Environment
Integration into CAD-based process
Complex geometry and automatic meshing
Robust, fast and accurate solvers
Research Organizations
Quick and reliable model implementation
Experimentation with various model forms
Separation between physics and numerics
http://www.engines.polimi.it
POLITECNICO
DI MILANO
http://www.engines.polimi.it
POLITECNICO
DI MILANO
POLITECNICO
DI MILANO
Simple, mainly smooth geometry in clear air with few moving parts
Relatively simple flows, well controlled boundary conditions, clear
design parameters, e.g. lift and drag, stall conditions
http://www.engines.polimi.it
1
7
POLITECNICO
DI MILANO
http://www.engines.polimi.it
http://www.engines.polimi.it
POLITECNICO
DI MILANO
POLITECNICO
DI MILANO
http://www.engines.polimi.it
2
0
POLITECNICO
DI MILANO
Mesh generation
Boundary conditions set up
Choice of the discretization schemes
Set up the control parameters (Courant number, deltaT,)
Running the case
Visualization of the results (CFD: Colorful Fluid Dynamics);
Analysis of the results, comparison with experimental data
(CFD: Curve Fitting until Doomsday)
http://www.engines.polimi.it
http://www.engines.polimi.it
POLITECNICO
DI MILANO
2
2
http://www.engines.polimi.it
POLITECNICO
DI MILANO
2
3
http://www.engines.polimi.it
POLITECNICO
DI MILANO
Requirements
University
Advanced physical and numerical models.
Possibility to customize the code to study new problems.
Industry
Automatic meshing, easy pre- and post-processing,
parallelization
http://www.engines.polimi.it
POLITECNICO
DI MILANO
POLITECNICO
DI MILANO
http://www.engines.polimi.it
OpenFOAM
POLITECNICO
DI MILANO
http://www.engines.polimi.it
OpenFOAM
POLITECNICO
DI MILANO
Free-to-use means using the software without paying for license and support,
including massively parallel computers: free 1000-CPU CFD license!
Software under active development, capabilities mirror those of commercial CFD
Possibility of extension to non-traditional, complex or coupled physics:
fluid-structure interaction, complex heat/mass transfer, complex chemistry,
internal combustion engines, nuclear engineering, acoustics etc.
Main Components
Discretisation: Polyhedral Finite Volume Method, second order in space and time
Lagrangian particle tracking
Finite Area Method: 2-D FVM on curved surface in 3-D
Automatic mesh motion (FEM), support for topological changes
Massive parallelism in domain decomposition mode
Physics model implementation through equation mimicking
http://www.engines.polimi.it
OpenFOAM: history
POLITECNICO
DI MILANO
Early 90s: the research code FOAM was created by Henry Weller
and Hrvoje Jasak at Imperial College of London under the
supervision of prof. David Gosman. Objective of the work: create an
object-oriented platform where it was possible to efficenctly
implement and test numerical and physical models.
1995-2000: The number of FOAM developers increased (H. Rusche,
N. Nordin, F. Juretic, G. Tabor, C. Fureby).
2000-2004: FOAM becomes a commercial code (open-source),
commercialized by Nabla Ltd. The code had limited success.
December 2004: FOAM becomes OpenFOAM and is released
under the GPL License. Number of user and developers rapidly
increased (>20000). Now it is widely adopted both for research and
industrial applications
http://www.engines.polimi.it
OpenFOAM
POLITECNICO
DI MILANO
http://www.engines.polimi.it
POLITECNICO
DI MILANO
http://www.engines.polimi.it
OpenFOAM
Object Orientation
Recognize main objects from
the numerical modeling
viewpoint
Objects consist of data they
encapsulate
and functions which operate
on the data
http://www.engines.polimi.it
POLITECNICO
DI MILANO
OpenFOAM
Object Orientation example
http://www.engines.polimi.it
POLITECNICO
DI MILANO
POLITECNICO
DI MILANO
Basic Components
Scalars, vectors and tensors with algebra
Computational mesh: mesh motion, adaptive refinement, topological
changes
Fields (scalar, vector, tensor) and boundary conditions: Dirichlet, Neumann,
Sparse matrix support with linear solver technology
Discretisation Classes
Implemented as interpolation, differentiation and discretisation operators
All discretisation methods use identical basic components (common mesh
and matrix support. Better testing and more compact software
implementation)
Physical Modelling Libraries and Top-Level Solvers
Libraries encapsulate interchangeable models answering to a common
interfaces
Models implement the interface functions, isolated with run-time selection
Custom-written and optimised top-level solvers for class of physics
http://www.engines.polimi.it
POLITECNICO
DI MILANO
Top-Level Solvers
Libraries encapsulate interchangeable models with run-time selection
New models provide functionality by adhering to a common interface
Custom-written and optimised top-level solvers written for a class of
physics (compressible combusting LES or VOF free-surface flow,)
Code clarity is paramount: existing solvers act as examples for further
development or customisation
Utilities
Pre-processing, data manipulation, mesh-to-mesh mapping etc.
Mesh import and export, mesh generation and manipulation
Parallel processing tools: decomposition and reconstruction
Post processor hook-up (reader module) and data export
A-posteriori error estimation and solution analysis
http://www.engines.polimi.it
3
5
http://www.engines.polimi.it
POLITECNICO
DI MILANO
3
6
http://www.engines.polimi.it
POLITECNICO
DI MILANO
3
7
POLITECNICO
DI MILANO
Implemented Capabilities
Discretisation
Polyhedral Finite Volume Method with moving mesh
support (second and fourth-order)
Finite Element Method on polyhedral cells
Finite Area Method (2-D FVM on a surface)
Lagrangian particle tracking model
Ordinary differential equation solver
http://www.engines.polimi.it
3
8
http://www.engines.polimi.it
POLITECNICO
DI MILANO
OpenFOAM: post-processing
POLITECNICO
DI MILANO
ParaView
Graphical post-processing is performed by using the open-source platform
ParaView. The data exploration can be done interactively in 3D or
programmatically using ParaView's batch processing capabilities.
paraFOAM converts OpenFOAM data into ParaView format on-the-fly.
http://www.engines.polimi.it
POLITECNICO
DI MILANO
OpenFOAM
applications
doc
Doxygen documentation
user
src
tutorials
Tutorial cases
wmake
Compiler options
http://www.engines.polimi.it
4
1
POLITECNICO
DI MILANO
Summary on fundamentals
Object-oriented approach facilitates model implementation: layered design
+ re-use
Equation mimicking opens new CCM grounds
Extensive capabilities already implemented
Open design for easy user customisation
Further Info
For more info on OpenFOAM, please visit http://www.openfoam.org
OpenFOAM resources: http://www.foamcfd.org
OpenFOAM User Group: http://openfoam.cfd-online.com
OpenFOAM Workshops and Seminars
http://www.engines.polimi.it
4
2
POLITECNICO
DI MILANO
Fluid-Structure Interaction
Solution Techniques for Coupled Problems
Partitioned approach: Picard iterations
- Optimal for weakly coupled FSI problems
- Separate mathematical model for fluid and solid continua
- Shared or different discretisation method: FVM and FEM
- Coupling achieved by enforcing the kinematic and dynamic conditions
on the fluid-solid interface
- Strong coupling by additional iteration loop over partial solvers
Monolithic approach: Simultaneous solution
- Appropriate when fluid-structure interaction is very strong
- Good stability and convergence properties
- In some cases may lead to ill-conditioned matrices or sub-optimal
discretisation or solution procedure in fluid or solid region
http://www.engines.polimi.it
4
3
POLITECNICO
DI MILANO
Fluid-Structure Interaction
Levels of Fluid-Structure Coupling
- Unified mathematical model: single equation set
- Unified discretisation method and boundary coupling consistency
- Unified solution procedure: fluid + structure matrix solved in a single solver
Data Transfer
- Data transfer and coupling significantly easier: both domains and
- Equations sets are implemented in the same solver
- Data interpolation routines already available: patch-to-patch interpolation
http://www.engines.polimi.it
POLITECNICO
DI MILANO
Ship-hydrodynamics
Research group of Prof. Eric Patterson from Penn-State University.
Simulation of multiphase flows for ship hydrodynamics
Surface-piercing foil
and breaking waves
http://www.engines.polimi.it
LES of sub-merged
near-Surface jets
POLITECNICO
DI MILANO
http://www.engines.polimi.it
POLITECNICO
DI MILANO
http://www.engines.polimi.it
POLITECNICO
DI MILANO
Pressure
http://www.engines.polimi.it
TKE spectrum
POLITECNICO
DI MILANO
3D junction
with
OpenFOAM
http://www.engines.polimi.it
POLITECNICO
DI MILANO
http://www.engines.polimi.it
POLITECNICO
DI MILANO
Complex silencers
http://www.engines.polimi.it
http://www.engines.polimi.it
POLITECNICO
DI MILANO
http://www.engines.polimi.it
POLITECNICO
DI MILANO
OpenFOAM example
http://www.engines.polimi.it
54
POLITECNICO
DI MILANO
http://www.engines.polimi.it
POLITECNICO
DI MILANO
OpenFOAM events
POLITECNICO
DI MILANO
OpenFOAM workshop:
1st Workshop: Zagreb, January 2006
2nd Workshop: Zagreb, June 2007
3rd Workshop: Milan, July 2008 (more than 250 participants!)
4th Workshop: Montreal, June 2009
5th Workshop: Goteborg, June 2010
6th Workshop: Penn State University, June 2011
OpenSource CFD conference
1st Conference: London, December 2007
2nd Conference: Berlin, December 2008
3rd Conference: Barcellona, November 2009.
http://www.engines.polimi.it
OpenFOAM resources
POLITECNICO
DI MILANO
http://www.engines.polimi.it