Вы находитесь на странице: 1из 24

Tutorial Ship Resistance

Analysis

Hannes Kroger
hannes.kroeger@silentdynamics.de
GOFUN2017

c Copyright silentdynamics GmbH



GOFUN2017 1/23
Contents
Overview | Single Phase | Two Phase | Eciency Improvements |

c Copyright silentdynamics GmbH



GOFUN2017 2/23
Overview
Overview | Single Phase | Two Phase | Eciency Improvements |

At small Froude Numbers and low wave making resistance:


Simulation assuming a at water surface
I enable single phase simulation
I stationary solver
I faster than two-phase simulation
simpleFoam solver

c Copyright silentdynamics GmbH



GOFUN2017 3/23
Overview
Overview | Single Phase | Two Phase | Eciency Improvements |

Approximate consideration of free surface in single phase


simulation possible:
potentialFreeSurfaceFoam
I through special boundary condition waveSurfacePressure

c Copyright silentdynamics GmbH



GOFUN2017 4/23
Overview
Overview | Single Phase | Two Phase | Eciency Improvements |

If wave making resistance cannot be neglected:


Resolution of water surface
I two-phase simulation (water + air)
I only time resolved solvers in OpenFOAM
interFoam
I for steady problems: quasi-steady approach with local
timestepping
LTSInterFoam / localEuler

c Copyright silentdynamics GmbH



GOFUN2017 5/23
Overview
Overview | Single Phase | Two Phase | Eciency Improvements |

If trim and sinkage is freely changing and needs to be determined:


Resolution of water surface + mesh deformation
I two-phase simulation (water + air)
I only time resolved solvers in OpenFOAM
interDyMFoam

c Copyright silentdynamics GmbH



GOFUN2017 6/23
Case Setup for simpleFoam
Overview | Single Phase | Two Phase | Eciency Improvements |

Domain for single-phase simulation

c Copyright silentdynamics GmbH



GOFUN2017 7/23
Meshing
Overview | Single Phase | Two Phase | Eciency Improvements |

1. create template mesh using blockMesh


2. setup snappyHexMesh
3. run snappyHexMesh
4. setup solver, BCs
5. run solver
6. postprocessing

c Copyright silentdynamics GmbH



GOFUN2017 8/23
Extract Wake Field for Propeller
Overview | Single Phase | Two Phase | Eciency Improvements |

Example post processing: extract wake eld for propeller design


I Method 1
1. using tool sample
2. star-shaped pattern of multiple line sampleSets
I Method 2
I using ParaView
I cutting plane

c Copyright silentdynamics GmbH



GOFUN2017 9/23
Wake Field
Overview | Single Phase | Two Phase | Eciency Improvements |

Propeller location: ~p = (0.17 0 0.21)T , R = 0.1


1. Slice Filter: Origin ~p, Normal ~ex
2. Calculator Filter: Result R, Expression
sqrt((coordsX-0.17)^2+coordsY^2+(coordsZ+0.21)^2)
3. Threshold Filter: R between 0 and 0.1
4. Calculator Filter: Mode Cell Data, Result wLocal, Expression
(2.196+U_X)/2.196
5. Integrate Variables Filter: Field Association Cell Data
6. Calculator Filter: Mode Cell Data, Result wMean, Expression
wLocal/Area

c Copyright silentdynamics GmbH



GOFUN2017 10/23
Wake Field
Overview | Single Phase | Two Phase | Eciency Improvements |

c Copyright silentdynamics GmbH



GOFUN2017 11/23
Two Phase Modelling
Overview | Single Phase | Two Phase | Eciency Improvements |

Volume-of-Fluid method (VOF)


I volume fraction

= w + (1 )L

= w + (1 )L
I transport of volume fraction


+ (~u) = 0
t

c Copyright silentdynamics GmbH



GOFUN2017 12/23
VOF
Overview | Single Phase | Two Phase | Eciency Improvements |

I volume fraction is not continuous


I problem: numerical simulation, such that
I interface stays sharp and is not excessively smeared
I solution remains stable
I spurious velocities at boundary are avoided
I mass conservation is fullled

c Copyright silentdynamics GmbH



GOFUN2017 13/23
VOF in OpenFOAM
Overview | Single Phase | Two Phase | Eciency Improvements |

Solution of VOF equation in OpenFOAM


I sharpening of interface by additional compressive term


+ (~u) + (~uc ) = 0
t
I time integration my MULES

c Copyright silentdynamics GmbH



GOFUN2017 14/23
VOF in OpenFOAM
Overview | Single Phase | Two Phase | Eciency Improvements |

For steady state problems:


local time stepping approach
I spatially varying time step size
I as large as possible according to stability criterion
I unphysical, but convergent at innite time
I requires spatial smoothing of time step size

c Copyright silentdynamics GmbH



GOFUN2017 15/23
Case Setup for interFoam
Overview | Single Phase | Two Phase | Eciency Improvements |

Domain for two-phase simulation

c Copyright silentdynamics GmbH



GOFUN2017 16/23
BCs for
Overview | Single Phase | Two Phase | Eciency Improvements |

I walls:
type zeroGradient;
I inlet: specication if incoming water level necessary
type fixedValue;
I outlet: extrapolation from interior
type zeroGradient;

c Copyright silentdynamics GmbH



GOFUN2017 17/23
BCs for Pressure
Overview | Single Phase | Two Phase | Eciency Improvements |

interFoam calculates with modied pressure prgh = p gh


(with h = ~x ~g /|~g | href )
I walls:
type fixedFluxPressure;
I inlet with prescribed velocity
type fixedFluxPressure;
I outlet (water surface needs to be aligned with h=0)
type fixedValue;
value uniform 0;

c Copyright silentdynamics GmbH



GOFUN2017 18/23
Two Phase: Initialisation
Overview | Single Phase | Two Phase | Eciency Improvements |

I elds needs to be initialised


1 in water
0 in air
I tool setFields

c Copyright silentdynamics GmbH



GOFUN2017 19/23
Steady-State Two-Phase Solver
Overview | Single Phase | Two Phase | Eciency Improvements |

Current development: steady-state VOF solver

I considerable faster
convergence
I same accuracy

c Copyright silentdynamics GmbH



GOFUN2017 20/23
Insight Automated Workows
Overview | Single Phase | Two Phase | Eciency Improvements |

I different automated
workows available
I single-phase
I two-phase
I dynamic mesh

c Copyright silentdynamics GmbH



GOFUN2017 21/23
Insight Automated Ship Resistance Analysis
Overview | Single Phase | Two Phase | Eciency Improvements |

I most parameters
need not to be
touched
I only some required
(red)

c Copyright silentdynamics GmbH



GOFUN2017 22/23
Insight Automated Ship Resistance Analysis
Overview | Single Phase | Two Phase | Eciency Improvements |

I most parameters
need not to be
touched
I only some required
(red)

c Copyright silentdynamics GmbH



GOFUN2017 23/23
End
Overview | Single Phase | Two Phase | Eciency Improvements |

Thank you for your attention!

Dr.-Ing. Hannes Kroger


Email: hannes.kroeger@silentdynamics.de
Tel.: +49 381 36 77 98 53

http://silentdynamics.de
http://sourceforge.net/projects/insightcae

c Copyright silentdynamics GmbH



GOFUN2017 24/23

Вам также может понравиться