Giter Club home page Giter Club logo

moodyapi's Introduction

moodyAPI

The API of Moody: A dynamic mooring library used for coupled station-keeping simulations in OpenFOAM and other hydrodynamic codes. VERSION 2.0

-- UPDATE 2.0.1 -- The file structure has changed a little to simplify the management of the code. This enables git updates on the repository and to simplifies updates and changes to the Open-Source coded APIs. The release tab will therefore not be used in future updates and releases.
Renamed thirdParty --> API , containing matlab, fortran and OpenFOAM sources.
A bugfix in the OpenFOAM API for multi-processor simulations. post/matlab folder removed. matlab-scripts are now in API/matlab together with the matlab API and shell-interface. moody-arch.tar.gz contains folders: etc/, bin/, lib/, and include/. Unpack your OS-version in place and all should work as before. For the windows tutorial to run, I need to copy the libraries in lib/* into bin/. There is certainly a cleaner solution out there... -- END UPDATE --

Highlights of the updates in Moody are listed below:

  1. Submerged rigid bodies of Morison type. (Points and Cylinders)

  2. New API-functions allowing the external flow to be passed to Moody. Includes a size-function, a sample function and a setFlow function for an improved flow interaction.

  3. A first step towards Windows compatibility. This is still untested but is released here as a beta version. More updates to come. Please let me know if and how it does not work. A trailing dependency of libwinpthread-1.dll is provided in lib/ in the hope that it will be useful.

  4. Stability improvements, bug-fixes and improved error handling.

  5. moodyPost.x has been extended with a cleaning option. In case simulations crash or are aborted in API mode, this function ensures that the time trace and results of moody are causal and viewable via readCase.m. Usage: moodyPost.x yourMoodyOutput -clean

The current version of moody is aimed at coupled simulations. The mooring code itself is precompiled, however the coupling functionality is here released as open source. The primary aim is to release the OpenFOAM-Moody restraint which enables dynamic mooring restraints in OpenFOAM. It requires some changes to the native rirgid body motion framework, and therefore a modified src-code of the v1712+, v1806 and v1906 rigid body libraries are also included in this release. Other interfaces are to matlab and to fortran (with a road-map to FAST-v7 coupling. This has not been tested for moody-2.0).

There are two tutorials for stand-alone mooring simulations (under directory tutorials, who would have guessed...), and two tutorials for coupled simulations in the API-folder (matlab and OpenFOAM)

Please see the user manual for an extensive explanation of the installation and the usage of the code in stand alone as well as in coupled mode. Appended to the user manual is a theory manual which describes the discretisation procedure used in Moody.

This is the first update of the code since the first release for public use last year. Please contact [email protected] for any questions or feedback on the code performance.

Johannes Palm 2019-09-20 Gothenburg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.