Skip to content
andyhetianjunPublic

About

Ocean CFD wave-flume simulations via OpenFOAM

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

50 Commits

Folders and files

Repository files navigation

Transportation features in the wake area of an offshore wind farm monopile

Andy He · 2026 summer co-op · Bedford Institute of Oceanography, Fisheries and Oceans Canada


Why this work exists

Nova Scotia plans 5 GW of offshore wind leases on the Scotian Shelf by 2030. Reaching that means putting several hundred monopile foundations into water that is already doing something.

Each one sheds a turbulent wake. That wake stirs the water column, so anything carried in the water (nutrients, sediment, spilled oil) moves differently because of it. A decision made for one environmental reason has consequences for another, and those are worth knowing before the foundations go in rather than after.

The difficulty is scale. A monopile is 8 m across; an ocean model grid cell is kilometres across. The structure can never be resolved directly in the models used for planning, so its effect has to be measured in a simulation fine enough to see it and then represented some other way.

This work sits on the measuring side of that gap.


Two studies

Study 1: wave loading on the foundation What force does a passing wave exert on the structure, and how far does that depart from what linear theory predicts?
Study 2: transport through the wake What happens to nutrients and to spilled material carried into the turbulent wake behind the pile?

They sit at different scales. Study 1 is a 10 m laboratory flume with a 1 m diameter cylinder in 0.40 m of water. Study 2 is a 600 m domain with a full size 8 m monopile in 40 m of water and a 0.5 m/s current.


Study 1: wave loading

Method

Two phase volume of fluid solver in OpenFOAM with the waves2Foam toolbox. Waves are generated at the inlet from a chosen wave theory and absorbed at the outlet by a generating absorbing boundary condition, so nothing reflects back into the domain.

  • Flume 10 m long, 4 m wide, water depth 0.40 m
  • Cylinder of radius 0.5 m at x = 5 m, meshed with snappyHexMesh
  • Inline force on the cylinder and surface elevation at wave gauges recorded throughout
  • Parameter sweep over wave height, period and wave theory, run on the Nibi cluster

Four cases in two pairs, each pair differing only by whether the cylinder is present:

no cylinder with cylinder
waves only Task 1 Task 2
waves and current Task 3 Task 4

Subtracting one run from its partner removes the wave itself and leaves only the disturbance the structure causes.

Results

Every case has its own free surface and velocity animation. Task 4 shown here; the other three are in flume_tasks/cases/.

Task 4 surface elevation

Free surface for Task 4, waves and current past the cylinder.

Task 4 velocity

Velocity field for the same case.

Isolating the cylinder

Task 2 minus Task 1

Surface elevation, Task 2 (waves and cylinder) minus Task 1 (waves only). Red is water raised relative to the empty flume, blue is lowered. The disturbance is strongest immediately upwave of the cylinder, where the wave piles against it, and spreads downwave as a widening V.

Task 4 minus Task 3

The same subtraction with a current present: Task 4 minus Task 3. The colour range here is wider, ±0.009 m against ±0.007 m, so the two cannot be compared by brightness alone.

The cylinder significantly alters the free surface as a wave passes it. Peak inline force also departs from linear theory well before the breaking limit: at H = 0.20 m the measured force is 900 N against roughly 1500 N from H² scaling.


Study 2: transport through the wake

The simulation

Post processing of a large eddy simulation run by Yongxing Ma: an 8 m monopile spanning the full depth of a 600 × 120 × 40 m domain in a 0.5 m/s current.

Mesh

The mesh used for all of Study 2. The first panel shows the full channel with the inlet and outlet marked; the second zooms to the region around the cylinder; the third zooms again to the cylinder wall, where the mesh is finest, and out to the coarser cells filling the rest of the domain. Everything downstream is computed on a regular 0.25 m grid binned from this: 2400 × 480 × 84 cells, 352 timesteps.

The tracer

A passive tracer is released into that velocity field and advected forward:

$$\frac{\partial c}{\partial t} + u\frac{\partial c}{\partial x} + v\frac{\partial c}{\partial y} + w\frac{\partial c}{\partial z} = 0$$

Diffusivity is set to zero, so any mixing visible below is transport the flow actually resolved, not a coefficient someone chose. The scheme is semi-Lagrangian: each cell traces back to where its water came from one timestep earlier and takes the value it finds there. Surface and bed are no flux, with departure points reflected rather than clipped, which is what keeps tracer mass conserved.

The velocity field everything depends on

Streamwise velocity

Streamwise velocity u: horizontal plane at mid depth over a vertical section along the pile centreline. Blue is flow moving upstream, red downstream, freestream 0.5 m/s. The pile forces flow around it and leaves a slower, unsteady wake. The blue region immediately downstream is genuine reversal, water moving back toward the pile, extending through the full water column since the pile spans the whole depth.

The tracer figures below add no physics. They take this same field and carry a substance through it. Where the flow here is disorganised is where a nutrient profile gets deformed and a slick gets torn apart.

Three further fields were animated in the same two panel format.

Vorticity

Vertical vorticity. The alternating red and blue downstream of the pile is vortex shedding, the mechanism that does the stirring. Structure past about x = 350 m is coarser because the LES mesh coarsens there, not because the flow changes.

Speed

Speed. The colour range spans only 0.40 to 0.60 m/s because the field is tightly distributed around the 0.5 m/s freestream, so anything wider shows a flat frame.

Eddy viscosity

LES subgrid eddy viscosity, on a log scale. This field needed a separate four hour extraction from the raw simulation, since the original archive stored velocity only. It turned out to matter beyond the animation: the dissipation calculation for the parallel turbulence work needs it and had been going without.


Nutrients

Initial profile

Initial condition: nitrate at AZMP station HL5, June to September, stretched from the sampled 3 to 95 m range onto the 40 m model domain. Nutricline top 12.0 m, steepest gradient 17.4 m, base 33.8 m at 20% of the peak gradient. Horizontally uniform at t = 0, so anything that develops is the wake.

Vertical section

Vertical section along the pile centreline. The layering starts flat. Deformation of those layers in the wake is the vertical mixing the pile induces, lifting nutrient rich water from below the nutricline toward the surface.

Where the nutricline sits depends on how it is defined, so all three defensible depths were rendered rather than choosing one.

12 m

12.0 m, the top of the nutricline.

17 m

17.4 m, the steepest vertical gradient. A given vertical displacement shows most strongly here, which makes this the clearest view of the mixing.

34 m

33.8 m, the base.


Oil

The model has no rise velocity, so it cannot say how buoyant oil behaves. Each case is run twice, bracketing the answer between two limits.

A released slick

W buoyant

Buoyant limit: vertical velocity zeroed, so oil is held at the surface. The wake stretches and folds the slick but cannot remove it. It fades because it spreads over a larger area, not because it is lost.

W non-buoyant

Non buoyant limit: vertical velocity active. The pile clears most of the oil out of the surface layer as the slick passes, and nothing returns it.

Oil covering the whole surface

Full domain buoyant

Buoyant limit. Nothing happens, and that is the correct result. Moving a horizontally uniform field sideways leaves it uniform: no edge to distort, no gradient to stretch. The colour bar spans 0.008 g/m², a zoom into numerical noise.

Full domain non-buoyant

Non buoyant limit, same sheet. The wake now appears as a depletion track carved through otherwise untouched oil, widening downstream and breaking into vortex structures. Concentrations in the wake core fall close to zero.

Together these say something the individual figures do not: a monopile acts on a surface slick through vertical mixing, not horizontal stirring. How much depends entirely on the oil's buoyancy.


Verifying the tracer scheme

The advection code prints total tracer mass every twenty steps. With no source, no sink and no flux through the boundaries, that number should stay flat.

Mass budget

Three separate boundary condition faults were caught this way, and none of them was visible in the animations. The worst inflated total mass by a factor of seven. The last of the three was at the free surface: where vertical velocity is downward the departure point lies above the water, and clipping it back onto the surface made the cell re sample itself, duplicating tracer wherever there was downwelling. Reflecting the departure point instead is the correct treatment for a no flux boundary, and it brought the mass error from 54% down to 6%.

A cheap diagnostic that should hold constant turned out to be worth more than careful inspection of the output, because it can be checked without knowing what the answer ought to be.


Vertical mixing, unfinished

A flux gradient calculation of the vertical diffusivity was built and run: release a tracer with a known vertical structure, measure the turbulent flux it produces, and divide by the mean gradient. Two passes over the record, fitted by least squares rather than a point by point ratio, since the cosine initial profile has zero gradient at the surface and bed where a ratio would diverge.

It produces a coherent result with a well behaved fit, but the depth structure it returned was not what we expected and there was not time to work out why. Code and output are in monopile_tracer/tracer_transport/vertical_diffusivity/, and the numbers should not be quoted until that is understood.


Conclusions

The presence of a monopile:

  1. Significantly alters the free surface as a wave passes it, and loads the structure in a way that departs from linear theory well before the breaking limit.

  2. Stirs the water column, drawing high nutrient water from the subsurface up toward the surface layer, with potential consequences for primary production.

  3. Complicates the current field in its wake, so a surface slick is stretched, folded and mixed downward rather than travelling as a coherent patch, which makes oil cleanup harder.

Each of these is a statement about one pile, at one current speed, in an unstratified flow.


What is where

flume_tasks/ Study 1: the four waves2Foam cases and comparison scripts
monopile_tracer/ Study 2: extraction, advection, and everything downstream
parameter_study/ earlier wave sweep on a monopile, with its own MANIFEST
docs/ waves2Foam setup reference
archive/ superseded work, kept for reference
reference/ third party cases consulted while learning, not mine

Each directory has its own ReadMe with parameters, results and how to rerun. Velocity data and full resolution animations are excluded for size; the _web versions embedded above are downsampled for the browser.

Python environment is pinned in monopile_tracer/requirements.txt.

About

Ocean CFD wave-flume simulations via OpenFOAM

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages