{"id":19122333,"url":"https://github.com/wec-sim/moordyn","last_synced_at":"2025-05-05T16:44:07.129Z","repository":{"id":58953927,"uuid":"93769097","full_name":"WEC-Sim/MoorDyn","owner":"WEC-Sim","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-14T16:15:15.000Z","size":26851,"stargazers_count":9,"open_issues_count":2,"forks_count":10,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-19T10:28:30.509Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WEC-Sim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-08T16:14:22.000Z","updated_at":"2025-03-14T16:15:19.000Z","dependencies_parsed_at":"2023-10-15T17:04:19.140Z","dependency_job_id":"7677c069-6f65-4382-a6d6-a6eba3bc8ab3","html_url":"https://github.com/WEC-Sim/MoorDyn","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.25,"last_synced_commit":"e1ef53545521a2b70042dc51659aae86515d6c93"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WEC-Sim%2FMoorDyn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WEC-Sim%2FMoorDyn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WEC-Sim%2FMoorDyn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WEC-Sim%2FMoorDyn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WEC-Sim","download_url":"https://codeload.github.com/WEC-Sim/MoorDyn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252535256,"owners_count":21763922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T05:20:50.923Z","updated_at":"2025-05-05T16:44:07.108Z","avatar_url":"https://github.com/WEC-Sim.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"To use MoorDyn in WEC-Sim, please\n\n1. Download moorDyn from repo \u003chttps://github.com/WEC-Sim/moorDyn\u003e \n2. Place all the files and folders under `WEC-Sim/source/functions/moorDyn` folder\n\n**Note for Mac Users:**\n\nYou need to rename the `.dylib` library that corresponds to your system architecture \n(type of CPU) to `libmoordyn.dylib` before completing step 2 above. \n- Apple Silicon (2020 and later): run `mv libmoordyn-arm64.dylib libmoordyn.dylib`\n- Intel (pre 2020): run `mv libmoordyn-x86_64.dylib libmoordyn.dylib`\n\n--------------------- MoorDyn v2.3.7 -------------------------\n\nCopyright 2014-2016 Matt Hall \u003cmtjhall@alumni.uvic.ca\u003e\n\nMoorDyn is a lumped-mass mooring line model intended for coupling with floating structure codes.\n\nv2 builds upon v1 by adding new features including rigid bodies and support for wave loading at \nthe free surface. WEC-Sim works properly with MoorDyn v2, but compatibility of the new features \nin WEC-Sim is currently still under development. \n\nMoorDyn is free software: you can redistribute it and/or modify \nit under the terms of the GNU General Public License as published \nby the Free Software Foundation, either version 3 of the License, \nor (at your option) any later version.\n\nMoorDyn is distributed in the hope that it will be useful, but \nWITHOUT ANY WARRANTY; without even the implied warranty of \nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU \nGeneral Public License for details.\n\nYou should have received a copy of the GNU General Public License \nalong with MoorDyn.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\nIf the MoorDyn files on this repository are not functioning on your system, you should compile the code from source following the steps in the [documentation](https://moordyn.readthedocs.io/en/latest/). MoorDyn will automatically build with the right architecture for your system. Once you have your local MoorDyn library and source code, replace `MoorDyn.h`, `MoorDynAPI.h`, and the library file (e.g., `libmoordyn.dll`) from this repo with your local copy.\n\n---------------------- More Information -------------------------\n\nMore information about MoorDyn is now available at [moordyn.readthedocs.io](https://moordyn.readthedocs.io/en/latest/) -- including the User's Guide, source code, and examples.  \n\nFor information about MoorDyn's formulation and some validation \nresults, see M. Hall and A. Goupee, ìValidation of a lumped-mass \nmooring line model with DeepCwind semisubmersible model test \ndata,î Ocean Engineering, vol. 104, pp. 590ñ603, Aug. 2015.  \n\u003chttp://www.sciencedirect.com/science/article/pii/S0029801815002279\u003e\n\n---------------------- Troubleshooting -------------------------\n\n**Mac architecture issue:**\n\nIf WECSim on Mac gives architecture errors when running MoorDyn similar to:\n\n    Error using wecSim (line 46)\n    There was an error loading the library \"WEC-Sim/source/functions/moorDyn/libmoordyn.dylib\"\n    dlopen(WEC-Sim/source/functions/moorDyn/libmoordyn.dylib, 0x0006): tried:\n    'WEC-Sim/source/functions/moorDyn/libmoordyn.dylib' (mach-o file, but is an incompatible architecture\n    (have 'x86_64', need 'arm64e' or 'arm64')),\n    'WEC-Sim/source/functions/moorDyn/libmoordyn.dylib' (mach-o file, but is an incompatible\n    architecture (have 'x86_64', need 'arm64e' or 'arm64'))\n\nthen you have a mismatch between the MoorDyn compiled architecture and your system architecture. To resolve this, double check you copied and renamed the `.dylib` corrsponding to your system into the `WEC-Sim/source/functions/moorDyn` folder.\n\nIf that doesnt work, you should compile the code from source following the steps in the [documentation](https://moordyn.readthedocs.io/en/latest/). MoorDyn will automatically build with the right architecture for your system. Once you have your local MoorDyn library and source code, replace `MoorDyn.h`, `MoorDynAPI.h`, and `libmoordyn.dylib` from this repo with your local copy. The `.h` files can be found in `MoorDyn/source/`, and the library files can be found in `MoorDyn/build/source/`. \n\nNote: to force MoorDyn to compile for a different architecture, add the `-DCMAKE_OSX_ARCHITECTURES=\u003cinsert architecture\u003e` to your cmake call. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwec-sim%2Fmoordyn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwec-sim%2Fmoordyn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwec-sim%2Fmoordyn/lists"}