Chủ Nhật, 13 tháng 10, 2019

Moody 2.0 released on GitHub

 
An updated version of Moody (2.0.0) now is released on GitHub.
The code can be downloaded from: https://github.com/johannep/moodyAPI
Please let us now how it performs, and if (and how and where) you run into problems.
Highlights of the updates in Moody 2.0 are:
  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
We have already made some changes based on user input, and we are now at 2.0.1 :)
The current version of moody is aimed at coupled simulations. The mooring code itself is precompiled, however the coupling functionality is released as open source. Only the core folders (bin etc lib and include) are in the tar.gz-files for each architecture.
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 under API/OpenFOAM/src. Other interfaces are to matlab and to fortran (with a road-map to FAST-v7 coupling. The fortran code has not been tested for moody-2.0).
Any feedback is gratefully accepted at
The Moody team (Johannes Palm and Claes Eskilsson)
via Johannes Palm
 -------------------------------------------------------------------------------------------------------------------

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 johannes.palm@chalmers.se for any questions or feedback on the code performance.
Johannes Palm 2019-09-20 Gothenburg
 

Không có nhận xét nào: