(→Distributed Libraries) |
(→Available Wave Theories) |
||
Line 29: | Line 29: | ||
* Other | * Other | ||
** <tt>combinedWaves</tt>, which allows for a combination of any of the above | ** <tt>combinedWaves</tt>, which allows for a combination of any of the above | ||
+ | |||
+ | == Tutorials == | ||
+ | === Relaxation Zone Layout === | ||
+ | * Name: <tt>tutorials/relaxationZoneLayout</tt> | ||
+ | * Utility: <tt>relaxationZoneLayout</tt> | ||
+ | * Description: This tutorial will show how to use the utility to obtain a visual on the relaxation zones. This could be helpful to detect potential problems in the setup. | ||
+ | === Wave Flume === | ||
+ | * Name: <tt>tutorials/waveFlume</tt> | ||
+ | * Solver: <tt>waveFlume</tt> | ||
+ | * Description: This tutorial will show the user how to use the <tt>constant/waveProperties</tt> dictionary to set-up the wave properties, relaxation zones and initialization specifications. | ||
== Dependencies == | == Dependencies == |
Revision as of 08:20, 20 October 2011
Contents
1 waves2Foam
This web page will shortly contain information of how to use and download "waves2Foam".
The package is to be used in the modelling of free surface water waves. The package contains the following:
- Two libraries called convexPolyhedral and waves2Foam. See description below.
- Solver(s) to be used with 1.5 and 1.6+.
- Preprocessing tools to initialise the wave field in a domain and visualise the setup of the relaxation zone
- Tutorials on the use of waves2Foam
- Until later notice, a set of Matlab® functions are provided, which compute the needed wave parameters for the different wave theories
2 Distributed Libraries
- convexPolyhedral
- This library carries out intersection routines between faces/convex polyhedrals and the water surface given in terms of e.g. an algebraic equation such as , where is the water surface elevation, is the wave amplitude, is the cyclic frequency, is time, is the horizontal wave number vector, and is a spatial coordinate.
- waves2Foam
- This library contains implementations of wave theories, wave boundary conditions for , and , being pressure, velocity, and void-ratio respectively. Furthermore the library also contain the implementation of the relaxation zone technique, which is the method used for avoiding reflections from e.g. outlet boundaries. Finally it also contains an object to be used for initialising the velocity and void-ratio fields with e.g. an Airy wave.
2.1 Available Wave Theories
The library is distributed with the following wave theories
- Current-type
- Potential current type (uniform velocity distribution from bottom to seaLevel)
- Regular waves
- Stokes first order wave theory (Airy wave)
- First order Stokes standing wave theory
- Stokes second order wave theory
- Stokes fifth order wave theory
- First order cnoidal theory
- Stream function wave theory
- Irregular waves
- First order bi-chromatic wave train (wave group)
- Other
- combinedWaves, which allows for a combination of any of the above
3 Tutorials
3.1 Relaxation Zone Layout
- Name: tutorials/relaxationZoneLayout
- Utility: relaxationZoneLayout
- Description: This tutorial will show how to use the utility to obtain a visual on the relaxation zones. This could be helpful to detect potential problems in the setup.
3.2 Wave Flume
- Name: tutorials/waveFlume
- Solver: waveFlume
- Description: This tutorial will show the user how to use the constant/waveProperties dictionary to set-up the wave properties, relaxation zones and initialization specifications.
4 Dependencies
Besides the standard dependencies in OpenFoam, waves2Foam also depend on Gnu Scientific Library (GSL). This is needed for two reasons:
- In the cnoidal wave theory one has to evaluate Jacobian elliptic functions and complete elliptic integrals. These are not natively available in OpenFoam.
- A pre-processing tool, which is currently being developed, computes the needed wave parameters giving the minimal number of input parameters. This quickly results in a set of non-linear sets of equations in unknowns. For this purpose GSL is currently being used.
5 Download
At present the package is located on a non-public SVN. It will shortly be moved to a public SVN on SourceForge.
--NGJ 10:46, 19 October 2011 (CEST)