23
Background Development of overset mesh CFD solver in OpenFOAM Preliminary results Conclusions & future work WP1: Multiphase modelling with overset mesh Zhihua Ma, Ling Qian, Derek Causon, Clive Mingham, and Pedro Martínez Ferrer Centre for Mathematical Modelling and Flow Analysis The Manchester Metropolitan University 2016-06-06 Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 1/23

WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

WP1: Multiphase modelling with overset mesh

Zhihua Ma, Ling Qian, Derek Causon, Clive Mingham,and Pedro Martínez Ferrer

Centre for Mathematical Modelling and Flow AnalysisThe Manchester Metropolitan University

2016-06-06

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 1/23

Page 2: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

Outline

1 BackgroundLaunch and Recovery OperationsOpenFOAM and dynamic meshOverset mesh method (OGM)

2 Development of overset mesh CFD solver in OpenFOAMThe overall strategyogFoam: a multiphase overset mesh modelling tool

3 Preliminary resultsDambreakWave tankWedge

4 Conclusions & future workConclusions

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 2/23

Page 3: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

Launch and Recovery OperationsOpenFOAM and dynamic meshOverset mesh method (OGM)

Launch and Recovery Operations

Rescue and recoveryChallenges

High sea statesModelling tool

accuratefast

Risk predictioncollisionunacceptablemotions

Testingnew concept andsystem

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 3/23

Page 4: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

Launch and Recovery OperationsOpenFOAM and dynamic meshOverset mesh method (OGM)

OpenFOAM

Framework

Open sourcePack: single/multiphase flowmodellingLanguage: C++Parallelisation: MPIin/compressible air andwaterVolume of fluid method

Meshing

Static meshDynamic mesh

dynamic mesh refinementdynamic deforming mesharbitrary mesh interface(turbomachinery)

Limitationsmesh qualityamplitude of motion

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 4/23

Page 5: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

Launch and Recovery OperationsOpenFOAM and dynamic meshOverset mesh method (OGM)

Dynamic deforming mesh

The main issues with dynamic deforming mesh are mesh quality aswell as limited amplitude of motion.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 5/23

Page 6: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

Launch and Recovery OperationsOpenFOAM and dynamic meshOverset mesh method (OGM)

Overset mesh method

Start: Late 1970s and 1980s, Joseph Steger, NASA AMES

Steger JL, Dougherty FC, Benek JA. A Chimera gridscheme. In: Ghia KN, Ghia U, editors. Advances in gridgeneration. ASME FED-Vol. 5, 1983.

Original concepts of OGMTo model multi-component systems where an optimumbody-fitted grid is used for each component

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 6/23

Page 7: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

The overall strategyogFoam: a multiphase overset mesh modelling tool

Zonal approach for L and R

7

e of this research and following industrial partners’ suggestions, the new tool will

odel. However, the velocity potential needed for the QALE-FEM will velocity he multi-s zero in non-zero d so the ocity and on differ- region. ues will ored to ing be- in the

, QALE-e steps o max- e NS

NS

FNPT

Larger vessel

Smaller vessel

Inner domain

Outer domain

Meshes for larger and small vessels are generated independentlythen assembled together. The small mesh surrounding the smallvessel moves with the vessel (6DoF), the big mesh could move withthe large vessel or stay stationary.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 7/23

Page 8: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

The overall strategyogFoam: a multiphase overset mesh modelling tool

Basic steps of OGM

1 Mesh generation: component grids are generated in a(virtually) independent manner.

2 Domain connectivity information (DCI):Hole cutting: blank out the mesh cells out of flow domain.Locate the fringe points and seek interpolation stencils (onother meshes).Orphan point: a proper interpolation stencil cannot beestablished.

3 Flow information exchange: the information at a fringe pointis interpolated from its supporting stencil.

4 Solve the flow on the filed points/cells, update the flow.5 Repeat steps 2 to 4 for deforming/moving boundary problems.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 8/23

Page 9: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

The overall strategyogFoam: a multiphase overset mesh modelling tool

wsiFoam

A multi-region two-phase flow solver for wave-structureinteractions.

Coupling of incompressible and compressible two-phaseNavier-Stokes solvers.Coupling of single-phase potential flow and two-phase NSsolvers.Wave generation:

Velocity profileWave paddle: piston, plunger, flap

6DoF:Dynamic deforming meshArbitrary mesh interface

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 9/23

Page 10: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

The overall strategyogFoam: a multiphase overset mesh modelling tool

ogFoam

On top of wsiFoam and enhanced with overset mesh capability:Hole cuttingDCI informationData interpolation

int main(int argc, char *argv[]){

...//load meshes and initialise flow regions

//cut hole#include "holeCutInterFoam.H"

//set DCI#include "dciInterFoam.H"

...while (runTime.run()){

...//- PIMPLE loop over the regionsfor (int oCorr=0; oCorr<nOuterCorrMultiRegion; oCorr++){

//Interpolate information for fringe cells#include "interFringeInterFoam.H"

//solve the incompressible region

//solve the compressible region...

}

runTime.write();

Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"<< " ClockTime = " << runTime.elapsedClockTime() << " s"<< nl << endl;

}

Info<< "End\n" << endl;

return 0;}

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 10/23

Page 11: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

DambreakWave tankWedge

Dambreak-1

The red and green lines represent the free surface obtained onoverset meshes and a single-block mesh. The white lines illustratethe pressure contour lines on the two overset meshes.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 11/23

Page 12: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

DambreakWave tankWedge

Dambreak-2

Comparison of the overset mesh solution and the single-block-meshsolution. The red and green lines represent the free surfaceobtained on overset meshes and a single-block mesh.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 12/23

Page 13: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

DambreakWave tankWedge

Wave tank

Tank size: 320 m × 55 m; Water depth: 30 m; Wave height: 5 m.Wave Period: 10 s. Comparison of the overset mesh solution andthe single-block-mesh solution. Red and blue colours indicate thediscrepancy between the two solutions.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 13/23

Page 14: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

DambreakWave tankWedge

Wave tank

-1.5

-1

-0.5

0

0.5

1

1.5

2

0 20 40 60 80 100

Wave e

levati

on (

m)

Time (s)

Wave gauge at x=10 m

interFoamogFoam-zeroGradient

ogFoam-mapped

-1.5

-1

-0.5

0

0.5

1

1.5

2

0 20 40 60 80 100

Wave e

levati

on (

m)

Time (s)

Wave gauge at x=50 m

interFoamogFoam-zeroGradient

ogFoam-mapped

Figure 1: Comparison of the overset mesh solutions and the single-blockmesh results.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 14/23

Page 15: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

DambreakWave tankWedge

Wave tank

-1.5

-1

-0.5

0

0.5

1

1.5

2

0 20 40 60 80 100

Wave e

levati

on (

m)

Time (s)

Wave gauge at x=100 m

interFoamogFoam-zeroGradient

ogFoam-mapped

-1.5

-1

-0.5

0

0.5

1

1.5

2

0 20 40 60 80 100

Wave e

levati

on (

m)

Time (s)

Wave gauge at x=150 m

interFoamogFoam-zeroGradient

ogFoam-mapped

Figure 2: Comparison of the overset mesh solution and the single-blockmesh results.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 15/23

Page 16: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

DambreakWave tankWedge

Wave tank

-1.5

-1

-0.5

0

0.5

1

1.5

2

0 20 40 60 80 100

Wave e

levati

on (

m)

Time (s)

Wave gauge at x=200 m

interFoamogFoam-zeroGradient

ogFoam-mapped

-1.5

-1

-0.5

0

0.5

1

1.5

2

0 20 40 60 80 100

Wave e

levati

on (

m)

Time (s)

Wave gauge at x=250 m

interFoamogFoam-zeroGradient

ogFoam-mapped

Figure 3: Comparison of the overset mesh solutions and the single-blockmesh results.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 16/23

Page 17: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

DambreakWave tankWedge

Wave tank

-1.5

-1

-0.5

0

0.5

1

1.5

2

0 20 40 60 80 100

Wave e

levati

on (

m)

Time (s)

Wave gauge at x=10 m

reference waveshort-error-zeroGradientshort-error-mappedlong-error-zeroGradient

-1.5

-1

-0.5

0

0.5

1

1.5

2

0 20 40 60 80 100

Wave e

levati

on (

m)

Time (s)

Wave gauge at x=50 m

reference waveshort-error-zeroGradientshort-error-mappedlong-error-zeroGradient

Figure 4: Discrepancies between the overset mesh solutions and thesingle-block mesh results.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 17/23

Page 18: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

DambreakWave tankWedge

Wave tank

-1.5

-1

-0.5

0

0.5

1

1.5

2

0 20 40 60 80 100

Wave e

levati

on (

m)

Time (s)

Wave gauge at x=100 m

reference waveshort-error-zeroGradientshort-error-mappedlong-error-zeroGradient

-1.5

-1

-0.5

0

0.5

1

1.5

2

0 20 40 60 80 100

Wave e

levati

on (

m)

Time (s)

Wave gauge at x=150 m

reference waveshort-error-zeroGradientshort-error-mappedlong-error-zeroGradient

Figure 5: Discrepancies between the overset mesh solutions and thesingle-block mesh results.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 18/23

Page 19: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

DambreakWave tankWedge

Wave tank

-1.5

-1

-0.5

0

0.5

1

1.5

2

0 20 40 60 80 100

Wave e

levati

on (

m)

Time (s)

Wave gauge at x=200 m

reference waveshort-error-zeroGradientshort-error-mappedlong-error-zeroGradient

-1.5

-1

-0.5

0

0.5

1

1.5

2

0 20 40 60 80 100

Wave e

levati

on (

m)

Time (s)

Wave gauge at x=250 m

reference waveshort-error-zeroGradientshort-error-mappedlong-error-zeroGradient

Figure 6: Discrepancies between the overset mesh solutions and thesingle-block mesh results.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 19/23

Page 20: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

DambreakWave tankWedge

Oscillating wedge

The wedge oscillates in the vertical direction with a sinusoidal lawy = A sin(ωt).

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 20/23

Page 21: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

DambreakWave tankWedge

Freefall of a wedge

The wedge falls freely under gravity.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 21/23

Page 22: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

Conclusions

Conclusions

An accurate and fast modelling tool is a necessity to predictrisks and to facilitate testing for launch and recoveryoperations at high sea states.Dynamic deforming mesh method has limitations in dealingwith the large amplitude of structure motion and mesh quality.A multiphase overset mesh modelling tool is being developedwithin the framework of OpenFOAM. Preliminary results havebeen produced and presented for several test cases. The toolshows its advantages in dealing with relatively large amplitudeof structure motion.Next step’s work will focus on the improvement ofhole-cutting, information interpolation, parallelisation of thenumerical tool and further extension to handle L and Roperations.

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 22/23

Page 23: WP1: Multiphase modelling with overset mesh · WP1: Multiphase modelling with overset mesh ZhihuaMa,LingQian,DerekCauson,CliveMingham, andPedroMartínezFerrer Centre for Mathematical

BackgroundDevelopment of overset mesh CFD solver in OpenFOAM

Preliminary resultsConclusions & future work

Conclusions

Thank you

Ma, Qian, Causon, Mingham & Ferrer CMMFA – MMU 23/23