Use of OpenFOAM in Modelling of wave-structure interactions

Slides:



Advertisements
Similar presentations
CHAPTER 1: COMPUTATIONAL MODELLING
Advertisements

Specialization in Ocean Energy MODELLING OF WAVE ENERGY CONVERSION António F.O. Falcão Instituto Superior Técnico, Universidade de Lisboa 2014.
Formulation of an algorithm to implement Lowe-Andersen thermostat in parallel molecular simulation package, LAMMPS Prathyusha K. R. and P. B. Sunil Kumar.
Operational Forecasting Wave Models. WaveWatch III (Tolman 1997, 1999a) Model description: – Third generation wave model developed at NOAA/NCEP. – Solves.
An Experimental Investigation on Loading, Performance, and Wake Interactions between Floating VAWTs ____________________________________________ Morteza.
1 Coven a Framework for High Performance Problem Solving Environments Nathan A. DeBardeleben Walter B. Ligon III Sourabh Pandit Dan C. Stanzione Jr. Parallel.
Eu-NORSEWInD – Assessment Of Viability Of Open Source CFD Code For The Wind Industry Matt Stickland, Tom Scanlon, Sylvie Fabre, Abdul Ahmad University.
My Road to Supercomputing Holly Krutka The University of Oklahoma.
FPSO Roll Prediction and Mitigation
Parallelizing stencil computations Based on slides from David Culler, Jim Demmel, Bob Lucas, Horst Simon, Kathy Yelick, et al., UCB CS267.
OpenFOAM on a GPU-based Heterogeneous Cluster
Nonlinear Hydrodynamic Analysis of Floating Structures Subject to Ocean Environments Aichun Feng. Supervisors: Dr Zhimin Chen and Professor Jing Tang Xing.
HPC Impacts Automotive Aerodynamics Computational Fluid Dynamics HPC demands Kevin Golsch Aerodynamics – Energy Center 1 October 2010.
EFFECTS OF FLEXIBLE MOTION ON TSUNAMI WALL EFFICACY HARP REU 2011 Nicholas McClendon, Rice University Mentors: H.R. Riggs, Sungsu Lee, Krystian Paczkowski.
Nazgol Haghighat Supervisor: Prof. Dr. Ir. Daniel J. Rixen
1 Internal Seminar, November 14 th Effects of non conformal mesh on LES S. Rolfo The University of Manchester, M60 1QD, UK School of Mechanical,
ELEC Fall 05 1 Very- Long Instruction Word (VLIW) Computer Architecture Fan Wang Department of Electrical and Computer Engineering Auburn.
WFM 6311: Climate Risk Management © Dr. Akm Saiful Islam WFM 6311: Climate Change Risk Management Akm Saiful Islam Lecture-4: Module- 3 Regional Climate.
DETAILED TURBULENCE CALCULATIONS FOR OPEN CHANNEL FLOW
A TWO-FLUID NUMERICAL MODEL OF THE LIMPET OWC CG Mingham, L Qian, DM Causon and DM Ingram Centre for Mathematical Modelling and Flow Analysis Manchester.
Radar Impact Assessment UK Offshore Wind 2003, March 2003 Dr John G Gallagher.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
1 CFD Analysis Process. 2 1.Formulate the Flow Problem 2.Model the Geometry 3.Model the Flow (Computational) Domain 4.Generate the Grid 5.Specify the.
Computational Modelling of Unsteady Rotor Effects Duncan McNae – PhD candidate Professor J Michael R Graham.
An approach for solving the Helmholtz Equation on heterogeneous platforms An approach for solving the Helmholtz Equation on heterogeneous platforms G.
First Dutch OpenFOAM Day
Review of IEA Wind Task 23 OC3 Project Operated for the U.S. Department of Energy Office of Energy Efficiency and Renewable Energy by the Alliance for.
Alok 1Northwestern University Access Patterns, Metadata, and Performance Alok Choudhary and Wei-Keng Liao Department of ECE,
Processing of a CAD/CAE Jobs in grid environment using Elmer Electronics Group, Physics Department, Faculty of Science, Ain Shams University, Mohamed Hussein.
NCAS/APRIL Meeting on Urban Air Quality Modelling Dispersion modelling at Imperial College London Professor Helen ApSimon and Dr Roy Colvile Page 1/N ©
TransAT Tutorial Particle Tracking July 2015 ASCOMP
Scheduling Many-Body Short Range MD Simulations on a Cluster of Workstations and Custom VLSI Hardware Sumanth J.V, David R. Swanson and Hong Jiang University.
Nimrod & NetSolve Sathish Vadhiyar. Nimrod Sources/Credits: Nimrod web site & papers.
Diane Marinkas CDA 6938 April 30, Outline Motivation Algorithm CPU Implementation GPU Implementation Performance Lessons Learned Future Work.
Realistic Modeling of Animatable Faces in MPEG-4 Marco Fratarcangeli and Marco Schaerf University of Rome “La Sapienza”
Causes of added resistance in waves Unfavourable shifts in buoyancy forces causing heaving and pitching. This absorbs energy both from the waves themselves.
HPC for Statistics Grad Students. A Cluster Not just a bunch of computers Linked CPUs managed by queuing software – Cluster – Node – CPU.
FSI for Assessing Nerve Injury During Whiplash Motion
IDC HPC USER FORUM Weather & Climate PANEL September 2009 Broomfield, CO Panel questions: 1 response per question Limit length to 1 slide.
Interactive Computational Sciences Laboratory Clarence O. E. Burg Assistant Professor of Mathematics University of Central Arkansas Science Museum of Minnesota.
A RANS Based Prediction Method of Ship Roll Damping Moment Kumar Bappaditya Salui Supervisors of study: Professor Dracos Vassalos and Dr. Vladimir Shigunov.
Computational Fluid Dynamics in OpenFOAM Henrik Kaald Melbø Supervisor: Heinz Preisig Department of Chemical Engineering.
Finite Element Analysis
Walter Schostak Center for Materials Under eXtreme Environment
TransAT Tutorial Separation of Oil, Gas & Water July 2015 ASCOMP
CS 351/ IT 351 Modeling and Simulation Technologies HPC Architectures Dr. Jim Holten.
Density Currents Over Smooth and Rough Surfaces Nic Johnson/Environmental Science/Senior/Local Utilities, Sustainable Development using GIS Dr. Kiran Bhaganagar,
Ulrich Heck, DHCAE-Tools UG ___________________________ CAD geometry based pre-processing for CFD using abstract modeling techniques CastNet: CAD-based.
LCSE – NCSA Partnership Accomplishments, FY01 Paul R. Woodward Laboratory for Computational Science & Engineering University of Minnesota October 17, 2001.
Real-time fluid physics library The goal was to create a physics library, specialized on water fluid physics, for real-time applications.
OPTIMIZATION OF DIESEL INJECTION USING GRID COMPUTING Miguel Caballer Universidad Politécnica de Valencia.
3/12/2013Computer Engg, IIT(BHU)1 INTRODUCTION-1.
TransAT Tutorial Dam Break June 2015 ASCOMP
TransAT Tutorial Flow over a Cylinder (Re=150) June 2015 ASCOMP
EU-Russia Call Dr. Panagiotis Tsarchopoulos Computing Systems ICT Programme European Commission.
RANS-VOF Modelling of Floating Tidal Turbine Concepts Edward Ransley* and Scott Brown School of Marine Science and Engineering University of Plymouth
Computational Fluid Dynamics P AVEL P ETRUNEAC B ACHELOR OF S CIENCE D ISSERTATION R ENEWABLE E NERGY OF TURBULENCE EFFECTS ON THE SEABED Supervisor(s):
Multicore Applications in Physics and Biochemical Research Hristo Iliev Faculty of Physics Sofia University “St. Kliment Ohridski” 3 rd Balkan Conference.
Offshore Code Comparison Collaboration, Continued (IEA Task 30): Phase II Results of a Floating Semisubmersible Wind System EWEA Offshore Conference November.
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
OpenFOAM  Open source CFD toolbox, which supplies preconfigured solvers, utilities and libraries.  Flexible set of efficient C++ modules---object-oriented.
Parallel OpenFOAM CFD Performance Studies Student: Adi Farshteindiker Advisors: Dr. Guy Tel-Zur,Prof. Shlomi Dolev The Department of Computer Science Faculty.
TransAT Tutorial Backward Step May 2015 ASCOMP
Motivation and Background:
Engineering (Richard D. Braatz and Umberto Ravaioli)
Xing Cai University of Oslo
A TWO-FLUID NUMERICAL MODEL OF THE LIMPET OWC
Date of download: 11/9/2017 Copyright © ASME. All rights reserved.
Rotors in Complex Inflow, AVATAR, WP2
Software Cradle Releases SC/Tetra V8
Presentation transcript:

Use of OpenFOAM in Modelling of wave-structure interactions Lifen Chen Supervisors: Dr JunZang, Dr Andrew Hillis, Prof Andrew Plummer Architecture and Civil Engineering department University of Bath lc499@bath.ac.uk Hello, everyone. My name is Lifen Chen, a 2nd year PhD in Arch & Civil Engineering department. My research topic is modelling of wave-structure interactions using OpenFOAM, one kind of CFD codes. (Today I am going to talk about modelling of wave-structure interactions using OpenFOAM, one kind of CFD codes.) Bath HPC symposium 4th, June, 2013 Bath, UK

Background Ocean waves: wind generated waves Irregular waves wind-generated waves are surface waves that occur on the free surface of oceans, seas, lakes, rivers, and canals or even on small puddles and ponds. They usually result from the wind blowing over a vast enough stretch of fluid surface. Waves in the oceans can travel thousands of miles before reaching land. Wind waves range in size from small ripples to huge waves over 30 m high. Stokes' wave theory is of direct practical use for waves on intermediate and deep water. It is used in the design of coastal and offshore structures, in order to determine the wave kinematics (free surface elevation and flow velocities). The wave kinematics are subsequently needed in the design process to determine the wave loads on a structure.[2] For long waves (as compared to depth) – and using only a few terms in the Stokes expansion – its applicability is limited to waves of small amplitude. In such shallow water, a cnoidal wave theory often provides better periodic-wave approximations. Wind waves are mechanical waves that propagate along the interface between water and air; the restoring force is provided by gravity, and so they are often referred to as surface gravity waves. As the wind blows, pressure and friction forces perturb the equilibrium of the water surface. These forces transfer energy from the air to the water, forming waves. The initial formation of waves by the wind is described in the theory of Phillips from 1957. Ocean waves are wind generated waves. (Waves are generated when the wind blowing over the free surface of oceans, seas as well as rivers and so on.) Energy is transferred from the wind to the waves. Generally, waves in real ocean are irregular waves shown on the top left. Wave loading is a key factor considered for coastal and offshore structure design. Additionally, wave energy is one of the most environmentally benign 良好的 forms of electricity generation. So people started studying waves since a long time ago. Waves can be described mathematically. Regular wave is the simplest one, shown on the right down hand side. Firstly, let me share some information about my research. As many of you know, waves are generated when the wind blowing over the free surface of oceans, seas as well as rivers. Energy is transferred from the wind to the waves. Generally, waves in real ocean are irregular waves shown on the top left. In intermediate and deep water, wave motion can be defined by sine or cosine function, what is called regular wave, shown on the bottom right. Intermediate and deep waters Approximations Regular waves: sine/ cosine function

Background The wave motion can be describe by several parameters, which are called wave parameters. They are wave amplitude, which is the distance from mean water level to wave crest, water depth, distance from sea bed to mean water level, wave length, distance between two wave crest. And wave period is another important parameter. People started studying waves since a long time ago. Several parameters are used to describe the wave motion. They are wave amplitude, which is the distance from mean water level to wave crest, water depth, distance from sea bed to mean water level, wave length, distance between two wave crests. And wave period is another important parameter to show the periodic character of waves. Wave motion: Wave amplitude/elevation Water depth Wave length

Background Waves are generated by the wind as it blows across the sea surface. Energy is transferred from the wind to the waves. Wave energy has the potential to be one of the most environmentally benign 良好的 forms of electricity generation. It is a clean and renewable energy source and its potential is huge. Devices capable of extracting power from the sea and wind energy are needed. Wave loading on the structure is key factor considered for structure design. A method is required to predict wave loading on the structure. ( wave-structure interaction). Wave and offshore wind energy are clean and renewable energy sources and their potential are huge. Devices capable of extracting power from the sea and wind energy are needed, such as WECs on the left hand side and wind farm, shown on right hand side. Wave loading on the structure is key factor considered for structure design. A method is required to predict wave loading on the structure. This slice shows some examples of coastal and offshore structures. They are PowerBuoy, one kind of WECs and offshore wind farm. It can be seen that quite a few coastal and offshore structures have cylindrical parts.

Background Computational Fluid Dynamic (CFD): OpenFOAM Open Source C++ library Suitable for use in wide ranges of problems OpenFOAM, one of CFD codes, is an free, open source C++ library that one can download from the website freely. It is suitable for use in wide ranges of problems, such modelling of airflow, vortex, scour, as well as free surface motion. Additionally, in my research group, it has been applied in coastal engineering successfully. Following the success, my research focuses on modelling of renewable wave energy using OpenFOAM.

Parallel processing capability of OpenFOAM Default Domain decomposition openMPI Terminal commands decomposePar mpirun --hostfile <machines> -np <nProcs> <foamExec> <otherArgs> -parallel > log & reconstructPar The OpenFOAM case can run in parallel by default. The method used by OpenFOAM is known as domain decomposition, in which the geometry and associated fields are broken into pieces and allocated to separate processors for solution. And the parallel running uses the public domain openMPI implementation of MPI( of the standard message passing interface (MPI)). Generally, if you want to run the case in parallel, there are three basic terminal commands which are shown here. The process of parallel computation involves: decomposition of mesh and fields; running the application in parallel; and, post-processing the decomposed case as described in the following sections. The parallel running uses the public domain openMPI implementation of the standard message passing interface (MPI). decomposed OpenFOAM case is run in parallel using the openMPI implementation of MPI. openMPI can be run on a local multiprocessor machine very simply but when running on machines across a network, a file must be created that contains the host names of the machines. After a case has been run in parallel, it can be reconstructed for post-processing. The case is reconstructed by merging the sets of time directories from each processorN directory into a single set of time directories.

Cases Computational domain: 30m × 2m × 1.01m (half domain) 8 cases: various wave parameters The experimental results for the waves hitting on a fixed vertical cylinder have been reproduced. The cylinder diameter is .25m and the water depth in a shallow basin is about half meter. The detail of the experiments can be found in this paper. Currently, we focus on 8 different cases with various wave parameters, for each case, a computational domain is built. The length is 30m, width is 2m, and the height is about 1m. Zang, J. and Taylor, P. H etal.(2010) Steep wave and breaking wave impact on offshore wind turbine foundations—ringing revisited 25th IWWWFB, China

Computational Cost (Multi-cores) Cells: 15712120 Cores: 4 cores Computational time: 5 days Size of output files: 90GB For CFD, the solution and time domain are discretised into a number of cells and time steps. (in order to solve the partial differential equations, converted into algebraic equations) For my case, the total number of the cell is about 1.5 million per case, the size of the output files is about 90GB per case. The cases were run in parallel using local desktop with 4 cores. It took 5 days to get the desired results. Noting that 5 days is just for 1 case with static mesh. And in future, I don’t know how many cases I will have, may be 50, may be 100. And as the research continue, I would definitely use the dynamic mesh. The computational cost would be huge. Cases: ? Static mesh Dynamic mesh

Results Has been applied in ocean engineering successfully. Can predict wave loading on the fixed structure correctly. This slice shows the results in both 2D and 3D. The numerical results are compared to experimental data. It can be concluded that the present model based on OpenFOAM can predict the wave loading on a fixed structure correctly. Its capacity in ocean engineering has been proved. It is worth noting that the overall numerical solution is affected by several factors, like BCs, mesh type and resolution as well as input wave parameters. They should be checked carefully, a series of trials were carried out before you get the right answer. In a word, modifying the source code, debugging the program as well as running the trials, they all increase the computational cost. Running cases in parallel in Aquila, local HPC system, is a good way to address this problem. (If every trial spends you 5 or more days. I don’t think 3 years is enough for me to finish my PhD study. It is very necessary to reduce the computational cost. It is not only good for my phd study but also good for its practical application.) In adaptions of the source code… A series of trials: Boundary conditions mesh type and resolution wave parameters…..

Running in parallel (Aquila) OpenFOAM-2.1.0 vs. OpenFOAM-1.5 PC vs. Aquila testing The OpenFOAM installed in Aquila is version 1.5 different from OpenFOAM-2.1.0, installed in my desktop. In order to check the difference between the two version and learn how to run the case in parallel in aquila, a simple case is built, shown here. Initially, the output boundary is set to be totalPressure, which means that the total pressure on this boundary is fixed. The case can run stably in my desktop but it crashed after 7s when ran in aquila. So I changed the boundary condition to be zeroGradient. This time the case can run stably in aquila too. The case is run in parallel with 4 cores and 4 processors respectively. Boundary conditions: attempted: totoalPressure for output boundary PC: stable Aquila: dump after 7s modified to: zeroGradient PC: stable Aquila: stable 2. Running the case PC: 4 cores Aquila: 4 processors

Running in parallel (Aquila) t = 5s t = 10s t = 15s t = 20s t = 25s The comparison between these two results are done and shown in this slice. There are small discrepancy between the results. Not sure if it caused by version difference or by running in aquila. Further study is needed. Green line : PC results, red line: Aquila results

Increase computational cost Future work Simulation interactions between waves and floating bodies. dynamic mesh Simulation interactions between waves and real WECs. complex geometries and structures’ shape Finally, I would like to introduce my future work. That is, simulation interactions between waves and floating bodies and real WECs. First one would need dynamic mesh, the second one would lead to complex geometries and structures’ shape. All these would increase computational cost sharply. It is very important to run the case using local HPC system to save the time and help finishing the PhD study in time. Increase computational cost

Thank you!