Simcenter STAR-CCM+ How to create a custom irregular VOF wave by superposition of a large number of harmonic waves?

2024-08-15T20:48:34.000-0400
Simcenter STAR-CCM+ CAD Clients Simcenter STAR-CCM+ Simcenter STAR-CCM+ Virtual Reality Teamcenter Share Simcenter STAR-CCM+ Viewer Simcenter STAR-CCM+ Application Specific Solutions

Summary

This article demonstrates how to use a java macro to populate required information for VOF Superpositon-Sub-Waves to create custom irregular waves in Simcenter STAR-CCM+.


Details

A superposition wave is a linear superposition of first-order waves. It can be used to simulate more complex irregular waves than the in-built JONSWAP and Pierson-Moskowitz spectra, e.g. cross-seas.
For a relatively small number of superposed waves, each wave characteristics (amplitude, phase , wavelength) can be input manually.
 
User-added image
 
This process becomes impractical for a large number of wave components (Sub-Waves). In that case, a java macro can be used to read the wave properties from a file and automatically generate the final superposition wave.

A relevant macro is attached to this article. It reads the amplitude, phase, wavelength, x- and y-component of the first-order wave (in that order) from a table. The user just needs to read a .csv file as a table (name it Table0) in Simcenter STAR-CCM+ and generate a new VOF Wave > Superposition Wave with name "SuperpositionVofWave 1". An example .csv file is also attached for reference.

KB Article ID# KB000032438_EN_US

Contents

SummaryDetails

Associated Components

Simcenter STAR-CCM+ Clients