TestPhicau

From OpenFOAMWiki
Revision as of 11:55, 10 July 2014 by Phicau (Talk | contribs)

IHFOAM is a set of solvers and boundary conditions to generate and absorb water waves actively at the boundaries and to simulate their interaction with porous coastal structures. The current version is 2.0, as released in 15th July 2014. Bug fixes will be issued on a regular basis, while the development of version 3.0 is currently ongoing. The new version will include major changes in the structure of the boundary conditions, which will not affect the use.

The main scope of these modelling tools is coastal, marine, hydraulic and offshore engineering.


1 IHFOAM

The IHFOAM package includes:

  • Individual boundary conditions for wave generation and active wave absorption for alpha1 and U fields. (libIHwaveGeneration.so)
    • IH_Waves_InletAlpha
    • IH_Waves_InletVelocity
  • Boundary conditions for pure wave absorption applicable to U field. Based in 2D or 3D theories, both are applicable to 3D cases. (libIHwaveAbsorption.so)
    • IH_3D_3DAbsorption_InletVelocityFvPatchVectorField
    • IH_3D_2DAbsorption_InletVelocity
  • Solvers to be used with your favourite version of OpenFOAM or FOAM-extend. See compatibility below.
  • Brief reference manual
  • Tutorials and validation cases

1.1 Supported Versions of OF

Valid versions: OF Version 16ext.png OF Version 171.png OF Version 211.png OF Version 222.png OF Version 230.png OF Version 30ext.png OF Version 31ext.png

  • Note that the boundary conditions compile and work in OpenFOAM 2.3.0. However, no IHFOAM solver version is included, as we are experiencing severe problems with pressure calculations (not linked in any way to IHFOAM implementation) in this version. We are preparing an extensive bug report for the OpenFOAM developers. In the mean time we suggest you stay with prior OpenFOAM versions. Should you want to use them in OpenFOAM 2.3.0, see below how to link the boundary conditions dynamically in controlDict.


1.2 Dynamic linking of the boundary conditions

In order to include the wave generation and active wave absorption boundary conditions without needing to re-compile a solver, include the following code in controlDict:

libs
(
    "libIHwaveGeneration.so"
    "libIHwaveAbsorption.so"
);

1.3 Dummy

    inlet
    {
        type            IH_Waves_InletVelocity;
        waveDict        IHWavesDict;
        value           uniform (0 0 0);
    }