54
CFD Based Optimisation of a River Ferry CFD Based Optimisation of a River Ferry Binoy Pilakkat EMSHIP Week 2016, Istanbul 17 th Februay 2016

CFD Based Optimisation of a River Ferry - EMSHIP

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

CFD Based Optimisation of a River Ferry

Binoy Pilakkat

EMSHIP Week 2016, Istanbul

17th Februay 2016

Page 2: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Part I

Introduction

Page 3: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Introduction

This work deals with development of an optimisation frameworkwhich can be implemented in an general ship design office. Thedeveloped framework is used to optimise an River ferry hull forimproving its wave making characteristics. Work was developed atNAVYK Design & Engineering, Galati and Dunarea de JosUniversity of Galati

Page 4: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

CFD in Ship Design Optimisation

CFD in Ship Design Optimisation

In recent years, CFD has been decisive factor in developmentof new efficient hull forms.

C FD usage for america’s cupa

aCAPONNETTO M, Solutions for Marine Applications, CD-adapco MarineWebinar, 22nd January 2009

Page 5: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

CFD in Ship Design Optimisation

CFD in Ship Design Optimisation

In recent years, CFD has been decisive factor in developmentof new efficient hull forms.

It is possible to analyse a large number of design variationusing CFD codes in less time which is an arduous task in EFD.

Can be used to optimise sea-keeping, manoeuvring &propulsion characteristics

Page 6: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

CFD in Ship Design Optimisation

CFD in Ship Design Optimisation

In recent years, CFD has been decisive factor in developmentof new efficient hull forms.

It is possible to analyse a large number of design variationusing CFD codes in less time which is an arduous task in EFD.

Can be used to optimise sea-keeping, manoeuvring &propulsion characteristics

Page 7: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Motivation & Objectives

Motivation

Key motivations for this work:

Developments of design with superior performance.

Better understanding of the design task.

To obtain optimum design in practical time.

Reduction of design cost for optimisation

Page 8: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Motivation & Objectives

Motivation

Key motivations for this work:

Developments of design with superior performance.

Better understanding of the design task.

To obtain optimum design in practical time.

Reduction of design cost for optimisation

Page 9: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Motivation & Objectives

Motivation

Key motivations for this work:

Developments of design with superior performance.

Better understanding of the design task.

To obtain optimum design in practical time.

Reduction of design cost for optimisation

Potential CFD

No of Licence/CPU 1 licence 1 core 1 licence 32 core 10 licence 320 core 20 licence 640 core

Study Duration 24 hours 208 days 20 days 10 days

courtesy : Hydrocean

Page 10: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Motivation & Objectives

Motivation

Key motivations for this work:

Developments of design with superior performance.

Better understanding of the design task.

To obtain optimum design in practical time.

Reduction of design cost for optimisation

Page 11: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Motivation & Objectives

Objectives

Objectives of this work are:

Formulation of practical optimisation method

A method which can be implemented in general ship designoffice with minimum costIncorporate open source tools

Optimisation of hull form of a River Cruise Ferry

To obtain minimum wave making resistance

Page 12: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Motivation & Objectives

Objectives

Objectives of this work are:

Formulation of practical optimisation method

A method which can be implemented in general ship designoffice with minimum cost

Incorporate open source tools

Optimisation of hull form of a River Cruise Ferry

To obtain minimum wave making resistance

Page 13: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Motivation & Objectives

Objectives

Objectives of this work are:

Formulation of practical optimisation method

A method which can be implemented in general ship designoffice with minimum costIncorporate open source tools

Optimisation of hull form of a River Cruise Ferry

To obtain minimum wave making resistance

Page 14: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Motivation & Objectives

Objectives

Objectives of this work are:

Formulation of practical optimisation method

A method which can be implemented in general ship designoffice with minimum costIncorporate open source tools

Optimisation of hull form of a River Cruise Ferry

To obtain minimum wave making resistance

Page 15: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Practical Difficulties

Practical Difficulties

General difficulties in Optimisation using CFD are:

Parametric Modelling of hull

Accuracy of CFD solvers

Interfacing of softwares

Page 16: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Practical Difficulties

Practical Difficulties

General difficulties in Optimisation using CFD are:

Parametric Modelling of hull

Accuracy of CFD solvers

Interfacing of softwares

Page 17: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Practical Difficulties

Practical Difficulties

General difficulties in Optimisation using CFD are:

Parametric Modelling of hull

Accuracy of CFD solvers

Interfacing of softwares

Page 18: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Part II

Tools Used

Page 19: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Tools Used

Geometric Modeller

Tools Used - Geometric Modelling

Requirements:

Parametric representation

Possibility of automation

Robust and Widely used

Rhino R©

Common in Industry

Highly customisable, Python and .NET support

Very less licensing cost

NURBS representation

Page 20: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Tools Used

Geometric Modeller

Tools Used - Geometric Modelling

Requirements:

Parametric representation

Possibility of automation

Robust and Widely used

Rhino R©

Common in Industry

Highly customisable, Python and .NET support

Very less licensing cost

NURBS representation

Page 21: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Tools Used

Geometric Modeller

Tools Used - Geometric Modelling

Requirements:

Parametric representation

Possibility of automation

Robust and Widely used

Rhino R©

Common in Industry

Highly customisable, Python and .NET support

Very less licensing cost

NURBS representation

Page 22: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Tools Used

Geometric Modeller

Tools Used - Geometric Modelling

Requirements:

Parametric representation

Possibility of automation

Robust and Widely used

Rhino R©

Common in Industry

Highly customisable, Python and .NET support

Very less licensing cost

NURBS representation

Page 23: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Tools Used

CFD Tool

Tools Used - CFD Tool

Requirements in optimisation chain:

Accurate & fast

Reliable & automatic

Able to communicate with other components in chain

Page 24: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Tools Used

CFD Tool

Tools Used - CFD Tool

Requirements in optimisation chain:

Accurate & fast

Reliable & automatic

Able to communicate with other components in chain

Page 25: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Tools Used

CFD Tool

Tools Used - CFD Tool

Requirements in optimisation chain:

Accurate & fast

Reliable & automatic

Able to communicate with other components in chain

Page 26: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Tools Used

CFD Tool

SHIPFLOW-XPAN

Why???

Validated free surface potential flow solver

Fast and Robust

Integrated automatic meshing

Console based and works with text files

Page 27: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Tools Used

CFD Tool

SHIPFLOW-XPAN

Why???

Validated free surface potential flow solver

Fast and Robust

Integrated automatic meshing

Console based and works with text files

Page 28: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Tools Used

Optimiser

Tools Used - Optimiser

Dakota

Open Source / GNU LesserGeneral Public license

Many Methods in One Tool:Sensitivity analysis, optimisationand uncertainty

Flexible Interface to simulationcodes: one interface; manymethods

Familiarity with mathematics,statistics and computer sciencerequired

Page 29: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Tools Used

Optimiser

Tools Used - Optimiser

Dakota

Open Source / GNU LesserGeneral Public license

Many Methods in One Tool:Sensitivity analysis, optimisationand uncertainty

Flexible Interface to simulationcodes: one interface; manymethods

Familiarity with mathematics,statistics and computer sciencerequired

Page 30: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Part III

Methodology

Page 31: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Methodology

Overview

Overview

Hull Modelling

ResistanceWave PatternOptimisation Algorithm

DeformationParameters(Design Variable)

Outputs

Objective function

HydrodynamicPerformance

analysisAutomatic Meshing

Page 32: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Methodology

Optimisation

Selection of Design Variables

Identify sources of wavegeneration? cp distribution on hull? If cp is high results localwave crest plus a trailing wavesystem

Perturbation of control points ofNURBS surface

Limits of perturbation foundusing Grasshopper

Page 33: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Methodology

Optimisation

Selection of Design Variables

Identify sources of wavegeneration

Perturbation of control points ofNURBS surface? Translation of control pointalong co-ordinate axis

Limits of perturbation foundusing Grasshopper

Page 34: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Methodology

Optimisation

Selection of Design Variables

Identify sources of wavegeneration

Perturbation of control points ofNURBS surface

Limits of perturbation foundusing Grasshopper? Ensures no double curvatureis developed on modification

Page 35: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Methodology

Optimisation

Optimiser configuration

Genetic algorithm used

Input configuration

Interfacing through python programdeveloped by author

Initial Population

Select 2 Parents

Reproduction

Analyse and Rank

Mutation

Crossover Clone Best

Put Child intoNew Generation

Final Population

Coliny EA

Page 36: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Methodology

Optimisation

Optimiser configuration

Genetic algorithm used

Input configuration

Interfacing through python programdeveloped by author

Variable definition

Genetic algorithmconfiguration

File descriptors

Page 37: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Methodology

Optimisation

Optimiser configuration

Genetic algorithm used

Input configuration

Interfacing through python programdeveloped by author

Modification of hull

Generation of offsets

Execution of Shipflow

Creation of results files forDakota from output filesgenerated by ShipFlow

Capture of failure in caseof failed calculation

Coordination of aboveprocesses

Page 38: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Methodology

Optimisation

Dakota Executable(METHOD)

Dakota Parameters File(Variables)

PYTHON INTERFACE

Preprocessing functions

+Read Input Variables(in dakota vars)+Generate Output for Rhino(out csv)

Interfacing

+Invoke Rhino Interface script()+Execute Shipflow(in hull,out Results)

Post Processing

+Parse shipflow Results(in Results,out cw)+Generate Dakota Results(out cw)

Dakota Results File(Responses)

+csv

+Results

variable csv

Rhino

Hull Modification script

+Read values from csv(in csv)+Generate offset(in Modified hull,out shipflow offset)

Console application using .NET#Invokes hull modification script in Rhino#

SHIPFLOW

CFD ANALYSIS

+Resistance and FS calculation(in offset,out Results)

offsets for shipflow Configuration file for shipflowBase Hull Surface

Results

param, result file name

Dakota Input File Dakota Output File

Page 39: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Part IV

Results

Page 40: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Optimisation with Linear calculation

Iteration History

0 50 100 150 200 250 300 350 400

Iteration

0.002

0.003

0.004

0.005

0.006

0.007

0.008

0.009

0.010

CW

Optimisation using Genetic algorithm

Optimisation pass

Running Mean

Page 41: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Optimisation with Linear calculation

Comparison

OD-1 Original % Variation

∇ 2.075e+02 2.139e+02 -2.976Sref 2.319e+02 2.351e+02 -1.367CW 3.175e-03 5.006e-03 -36.58RW 6.236e+03 9.969e+03 -37.44RT 1.053e+04 1.435e+04 -26.59

Page 42: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Optimisation with Linear calculation

Comparison

Hull

Green - OptimisedBlue - Original

Page 43: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Optimisation with Linear calculation

Wave Pattern

Page 44: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Optimisation with Linear calculation

Far field wave cuts

0.40.30.20.10.00.10.20.30.4

BOW STERN

y

LPP=0.1

Original

Optimised

0.40.30.20.10.00.10.20.30.4

BOW STERN

y

LPP=0.2

Original

Optimised

0.200.150.100.050.000.050.100.150.200.25

BOW STERN

y

LPP=0.3

Original

Optimised

0.200.150.100.050.000.050.100.150.200.25

BOW STERN

y

LPP=0.4

Original

Optimised

20 0 20 40 60 80 100

x (m)

0.200.150.100.050.000.050.100.150.200.25

BOW STERN

y

LPP=0.5

Original

Optimised

Page 45: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Optimisation with Linear calculation

2 3 4 5 6 7 8

Velocity in Knots

0.000

0.001

0.002

0.003

0.004

0.005

0.006

CW

Base Hull

Optimised Hull

Page 46: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Optimisation with Non-Linear calculation

Iteration History

0 50 100 150 200 250 300 350 400

Iteration

0.0035

0.0040

0.0045

0.0050

0.0055

0.0060

0.0065

CW

Optimisation using Genetic algorithm

Optimisation pass

Running Mean

Page 47: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Optimisation with Non-Linear calculation

Comparison

OD-1 Original % Variation

∇ 2.092e+02 2.139e+02 -2.187Sref 2.332e+02 2.351e+02 -0.812CW 3.673e-03 5.006e-03 -26.63RW 7.255e+03 9.969e+03 -27.22RT 1.158e+04 1.435e+04 -19.28

Page 48: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Conclusion & Recommendation

Conclusion

Potential calculation with linearised BC are effective for thehull in the study.

NURBS representation is very effective in quick geometrymodification.

About 37% reduction in wave resistance achieved. Validationusing model testing is required

Page 49: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Conclusion & Recommendation

Conclusion

Potential calculation with linearised BC are effective for thehull in the study.

NURBS representation is very effective in quick geometrymodification.

About 37% reduction in wave resistance achieved. Validationusing model testing is required

Page 50: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Conclusion & Recommendation

Conclusion

Potential calculation with linearised BC are effective for thehull in the study.

NURBS representation is very effective in quick geometrymodification.

About 37% reduction in wave resistance achieved. Validationusing model testing is required

Page 51: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Conclusion & Recommendation

Recommendation

Other flow solvers are required for complex hulls? Non-Linear method is recommended for flows with bulb.? Viscous flow solvers for hull with strong turbulent flows

Use of advanced algorithms

Extend for different problems

Free of software costs

Page 52: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Conclusion & Recommendation

Recommendation

Other flow solvers are required for complex hulls

Use of advanced algorithms? Surrogate models for reducing number of simulation incase of RANS solvers

Extend for different problems

Free of software costs

Page 53: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Conclusion & Recommendation

Recommendation

Other flow solvers are required for complex hulls

Use of advanced algorithms

Extend for different problems? Manoeuvring ? Seakeeping ? Propeller ? ....

Free of software costs

Page 54: CFD Based Optimisation of a River Ferry - EMSHIP

CFD Based Optimisation of a River Ferry

Conclusion & Recommendation

Recommendation

Other flow solvers are required for complex hulls

Use of advanced algorithms

Extend for different problems

Free of software costs? Use open source alternatives for Rhino and ShipFlow? FreeCAD and OpenFOAM is a good choice