Python module wrapping around HAMS
Project description
pyHAMS
This is a python wrapper for HAMS, a boundary element method for hydrodynamic analysis of submerged structures.
There is cylinder test case that demonstrates usage and outputs in test/test_cylinder.py
.
Prerequisites
pyHAMS requires a Fortran compiler and OpenBLAS / MKL / LAPACK. We strongly recommend the Miniforge distribution of conda
to satisfy package dependencies, as the traditional Anaconda distribution can be slow and struggle with mapping out dependencies.
Install (as a library)
To install pyHAMS as a library that can be used by WEIS or RAFT in the backend, conda is your best option:
$ conda install pyHAMS
Install (from source)
If you would like to build the project locally from source for easier access to the underlying methods and tests, we still recommend using conda
to satisfy dependencies.
$ git clone https://github.com/WISDEM/pyHAMS.git
$ cd pyHAMS
$ conda env create --name pyhams-env -f environment.yml
$ conda activate pyhams-env
$ conda install -y compilers # (Mac/Linux without other compilers)
$ conda install -y m2w64-toolchain libpython # (Windows only)
$ pip install .
If developer/editable mode, replace the final step with:
$ pip install --no-build-isolation -e .
The --no-build-isolation
option is important per Meson guidelines. Note that this package uses mesonpy
for an installation backend, so there is no setup.py
file.
Unit Tests
$ pytest test
For software issues please use https://github.com/WISDEM/pyHAMS/issues. For theory related questions and comments please use the HAMS issues page.
License
pyHAMS uses the Apache License v2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pyHAMS-1.3.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dae27af27bfc7e4ab2203a9991768ecf5e12b1726e0433fe8520988ae6827b1 |
|
MD5 | 729388e5f29193eaaf82b7a70ffa9165 |
|
BLAKE2b-256 | 42eeafcb267a6ee227fabd3eb29e6b01eeac014922e18c69539a827a93a0f06a |
Hashes for pyHAMS-1.3.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac7108ec4919063131276d246bdb81ff6d63492bb67b55274d005399421d91c4 |
|
MD5 | cb35570277ed1a71d407b47bc7ac0701 |
|
BLAKE2b-256 | df0c511820ea0662568a4d51a1a56f6deb42b70f1ab9f28c2889e96a5ab4988b |
Hashes for pyHAMS-1.3.0-cp312-cp312-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05659e819811bcc70cccdba4060e52a3bbb20a8ccab1610e068dbe951805acb0 |
|
MD5 | 33f59b9b8473ce86d4fe2d242f5c86ba |
|
BLAKE2b-256 | d91fe8bf195189bd5de3d6f61aa8b7f7496549da8209c28680203a6e62cdbb5b |
Hashes for pyHAMS-1.3.0-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef671157bab1f9c1f046164e72e8c3bdc59aa9a31563af253968e38bcd0f2761 |
|
MD5 | 88bb649b4b2f62a69357ce8abe41c8a7 |
|
BLAKE2b-256 | 5bb11af4866666eca18ed89ec0676a4ed34e9ab683cb270d0dd75b8805e224f1 |
Hashes for pyHAMS-1.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 317edaf849d5abe3fa785e92f6e6c43628d76133468dccb6b4d3860f66292f29 |
|
MD5 | 8b72ef8707a4d23562729b8539d7adc8 |
|
BLAKE2b-256 | 377d9bd4bd3c451186b60bc19df79b0cfd03393160b4dac740e32efd90c92884 |
Hashes for pyHAMS-1.3.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 087f60d238a2e07fea44b5a092eb283ea41cb625c5b9acbddb0a25c641121e99 |
|
MD5 | d41aa24c800ee354e89f47a5ea22a7ad |
|
BLAKE2b-256 | 9f387f02a9df6721f66dffd31123cfb4441ba9c5cbb8a0ff942768158ad24fcf |
Hashes for pyHAMS-1.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c1fa56688bbd2fb38f960bd69c953d2e5623ce2c09d449b4e502ea3440794fc |
|
MD5 | 02634ae85066b9b6d44c3bb70fc8eda6 |
|
BLAKE2b-256 | 28ca60d8b09ffcdeda29c1aacffc7d2d1d3ebd3868ca9e2db62c33e10a1526ca |
Hashes for pyHAMS-1.3.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4f99f5196ec145769c7fa42e0d349749423513aedb10922195a3ec3ddc00a45 |
|
MD5 | 978e79316137871850456d41ff33b7e6 |
|
BLAKE2b-256 | 5c902532383b3b32398d8c92eb8e50e3b1ac4735c2b01c1f09929527aa182b7f |
Hashes for pyHAMS-1.3.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be2882d885c3101f7fee947ebee6ecc0c544597695faf311055eb1d365c87032 |
|
MD5 | 1fb0cd55353e7918dcf3826de9fb61ad |
|
BLAKE2b-256 | 0d181ec93383042ca6aa38f5411c29ca31a0c4a97e9ebeaa8999a36eec936fad |
Hashes for pyHAMS-1.3.0-cp312-cp312-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e95880601b1aa6eaafad21caeb696daf388c1796296c4e996452015765f1f98d |
|
MD5 | 2bcd7598c4cff0576093d7f23f41d8f5 |
|
BLAKE2b-256 | 4261ca5fd0506d825a80895a39d91d4b4a19d03abcd9c03705128e2d4dba7c39 |
Hashes for pyHAMS-1.3.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c60861d27d3f54e806f3e5f82b4ce0060cb5a290f4ff689e7ea70d086ab45516 |
|
MD5 | 4b825e458f73281398f7e81d35787c68 |
|
BLAKE2b-256 | fea1fc394dccad0f614f6eaa291474320a2aace6b30d7aa7b56316005e449fd8 |
Hashes for pyHAMS-1.3.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c37bcfcf3fd43dcc8c82209150a1352586d98a1b4a0437e2154eea0e05e79719 |
|
MD5 | dfb91a2fe6d043f5e0d3ba333e06d836 |
|
BLAKE2b-256 | 2eaceabab3d082974df5c675b73c740633044b828080c0e75bdd1b0d32cfa1a3 |
Hashes for pyHAMS-1.3.0-cp311-cp311-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c5a997377ba4e204f21bf4926047a88db5947e006bccf6a3fb8c7548618c676 |
|
MD5 | fb13385ad50846f809b2c65b3a0490ce |
|
BLAKE2b-256 | e6222d232cc756810a882905958f97d4c9ea6a78462d253ded9615f6c11a7380 |
Hashes for pyHAMS-1.3.0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 200affa3893d85940542f3e45a7e6ef353ce1088005ade50ac6151ba67e0be96 |
|
MD5 | ecbd1781a357200603bd02e2b0a469d1 |
|
BLAKE2b-256 | 63991846cdd5e5575025f0344b719303177d7898e40778c6c1fb402c891c33f2 |
Hashes for pyHAMS-1.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bc77ce914a514d949f5880e0424166ca0d1004985306429b352f07da822159e |
|
MD5 | aebe23e135b259a81440d95bd430c447 |
|
BLAKE2b-256 | bf50ad0157969ccf5e1bced466558e652b8066336c8c169fc772c7fe5c63eec3 |
Hashes for pyHAMS-1.3.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d4b0d949c93f9622549790eb0c7bc3f4e2955c2d23557762baca388cd202d5 |
|
MD5 | 6da26f92048f60a64818e519e7c7f128 |
|
BLAKE2b-256 | 415d6cec9fc663c579b4f42201561c2ee464d637844b7a71d93405b3ed82e61f |
Hashes for pyHAMS-1.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62b9a63a16174ab727d7c2031ad68968fddd411b6e2d4b0675217e8a916281ff |
|
MD5 | 1a82253be4ced2d2d41af354044b44b9 |
|
BLAKE2b-256 | cdd69495110a932c45c5c82e172d74504e414df1fb3fbf37644f9adf803eedf8 |
Hashes for pyHAMS-1.3.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75c1f01edc6f305e4588fef8df07e5011937ff5fc6f19c4206a55995b3910402 |
|
MD5 | b9ef217df154bdf0d459302d32adf994 |
|
BLAKE2b-256 | 32c0c3bd2b2dc66d497e04a2e21ab7149dcd66765b533174c598a8fb85c57bfe |
Hashes for pyHAMS-1.3.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efa61b4c8cd4bf7ff1464f4b6ea31beb7bf78c35f5c258648987d420edbe2e8d |
|
MD5 | a5d83d29d6cc0185dbe32ef339f55828 |
|
BLAKE2b-256 | c46cecbf8fb31602f5b7f901e18ce056b480b4110f78243c9d98d601785dbafe |
Hashes for pyHAMS-1.3.0-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6412e82c25924711ad428b84143b1f317e7dbd38d9189a6ae9baec91c49ee48b |
|
MD5 | 977f99f5c00cfd69e761711b8481c443 |
|
BLAKE2b-256 | 16227a1a0dbbf903a194821538b0cfea4671ab12a50dde5934b6009ef1fe5d21 |
Hashes for pyHAMS-1.3.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5b5df807615e07e36598b80da6d37533a220ec5d6b5d4c8d9b7caef34d5b9cc |
|
MD5 | cca6306fb5b47f5dd0e565ad4ca1d55b |
|
BLAKE2b-256 | b8032e7ff0742e480888a067a271cb7f0c2256e431d7431412a0367169d0c411 |
Hashes for pyHAMS-1.3.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53b93238160e5eec0d7cb93f2c8967cdcff93b9d2a03d91456332f23bcd3f620 |
|
MD5 | 96b0c1f2e5cc78411133f11a89e27e5d |
|
BLAKE2b-256 | 3d0ab262f5f9df695f57c83601db5fe964031eac76057d20def0fdd4ba2a38b8 |
Hashes for pyHAMS-1.3.0-cp310-cp310-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9e9dbaa8484960efb8034db7c0be99b0ad1090cf77dac017245481bdce9a7ff |
|
MD5 | 7961dfbb284390ee0eb50c7693d49677 |
|
BLAKE2b-256 | 266938dc706eb37751a52072aee9d0f644501c074f0089b05500b5385355c478 |
Hashes for pyHAMS-1.3.0-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaf8ac06c900db41813be4d7aa54baa5bb6c1f0c93d4e39ec4fb1accb99c7153 |
|
MD5 | b83ec43a16094a2fcea48d6c107fdeb0 |
|
BLAKE2b-256 | d3256b76b8fce5bd744d1d49f15be42b514f6b88c9dcb3f37e75ffe93d702ac2 |
Hashes for pyHAMS-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4c5e74760ff9913172c2c32a79f4b4cf6dc680bfc8d17d495da9ffe5e2e6884 |
|
MD5 | 75311e12c0eb5414295750608ea0f5c9 |
|
BLAKE2b-256 | da6a9eb2eb31046e133d8e2880a339f04144f943b71e7b9eb421bc7329e09589 |
Hashes for pyHAMS-1.3.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56c20af5831decff33ec4f901cb83f353739138e458e133cfcf1344696e8be44 |
|
MD5 | b306fe783a63e742fad6dc32cd8271f1 |
|
BLAKE2b-256 | bece32e18c1076993c13aa9f199569609912a22bcbc8ea2be50acae77e5adc18 |
Hashes for pyHAMS-1.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e69be55526f7f920fddfcc51d947434c1981e4ba3b72b991228cf358c77347af |
|
MD5 | fc15c1b9242ae912d96a760d8be1cfb1 |
|
BLAKE2b-256 | 76dad9a56c9bb2403050d3842b5fd188d8ecfc7343b32a9f292100741cd2729d |
Hashes for pyHAMS-1.3.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a163b334bfac397142d01f03f745a1f8a26b7aa0448af46d3b67e0ff97d9bdc3 |
|
MD5 | 8eaa997723a13fd8831db36235346b33 |
|
BLAKE2b-256 | a4ce3c20dea2032d59afd335108f3bad099b7ab47d72e504d8ef19e1f7a6eb77 |
Hashes for pyHAMS-1.3.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 340d4facf231209ec012070028a1d700a3d72b88fcabb9238e86630d90074d24 |
|
MD5 | 484b871e93c29dbae4a057232a177e75 |
|
BLAKE2b-256 | abe571329a88dcf9f29c394f65f6a057f54564b39a0a45a417233da827b852e8 |
Hashes for pyHAMS-1.3.0-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c8dc26a90cdfbde86e6dd49ae65a1302cebec69f6f6a36ec71be2f7e3967755 |
|
MD5 | 8bf245cf18aa8366433e99333aa3e522 |
|
BLAKE2b-256 | 5ff352cfe186cc085dc2bed0f8ffff4d547f0e0269038a4617bbdc66ed689e8f |
Hashes for pyHAMS-1.3.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 705e09fe51373f713336695bb0bb28e6fc875f4d5396f6b5d57b4aa07e666f40 |
|
MD5 | cb273b22b926705c22e2568109a1f7a0 |
|
BLAKE2b-256 | a4d4143504e98118759c6dbfd879d31f69a52a15bae2ba7146f22a0bf0805d1a |
Hashes for pyHAMS-1.3.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b458d0472320ce92ef8f03188529fafdc0508f64498e3e1afde460d507b22b9 |
|
MD5 | 607fbc30acc6e5938fb2ed60e9a51966 |
|
BLAKE2b-256 | 959bfa67d2bd14c50562b06c38ac23bad1da135614a074133c74cbdc9b85cad0 |
Hashes for pyHAMS-1.3.0-cp39-cp39-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b647121983bf78fba5a49ff9411b670ae85c7a3622adf72a921fe3b2cfa4cf4d |
|
MD5 | cbe0b94f11819cfd4e8b8e4df52cb266 |
|
BLAKE2b-256 | 1f359fc41bfdcbdc4c046a5ed3711c5b4098b21e161cd208595269d1a9f3094c |
Hashes for pyHAMS-1.3.0-cp39-cp39-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22b8a4c60fc175aa0894ec05e9ecacd1a850747bf81d01af29983f687789432c |
|
MD5 | f6bb36669cd8e44aecd81518af23550d |
|
BLAKE2b-256 | 875dc0f90facbfa1facfb5c343ac2470989f0aa172735db3171fd1b9c2f2970e |
Hashes for pyHAMS-1.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0db79a8ec5e089706a1a50d51b67df925fbb062e78fce668376ef090385afc50 |
|
MD5 | 1f118c1a38c9032d7d4afebd9a9e9aaa |
|
BLAKE2b-256 | d111cbfb66827e9b8769d12c451db2c02581be69dfde5c0c1c51cf5ca36d00c4 |
Hashes for pyHAMS-1.3.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db1e6969c82950774b6457090ebe820ae60c7aa94ea003a54379008195c4996f |
|
MD5 | 1f27f212298e722b1f50489b488149cf |
|
BLAKE2b-256 | 58f2c03f0932f23d772de7369e3866c71910cf00a79d33b502ec2e4d2d1fe35e |
Hashes for pyHAMS-1.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20dd289c5e1e24593cfb00ef440d7a709c1d6fc1ae17a482b22e084016b992e0 |
|
MD5 | defb5d2f6a5ec0e309a1f93ce2554043 |
|
BLAKE2b-256 | 1518360223f172a45e2b931615f80c06ca6cb619fa5dabdf30f487a7cb9bc406 |
Hashes for pyHAMS-1.3.0-cp39-cp39-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8857aab6f35da528038fb3f9677e1f6061347639481d1f5c131e4054fb1755b |
|
MD5 | 64a84e0c9a8d5f17b524bec16094060b |
|
BLAKE2b-256 | 47b4d475be57550170db5697edb48beb0f1ad04cfac069148794ea4164ad66e7 |
Hashes for pyHAMS-1.3.0-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 178383f0bb348bb76b0d251d756926bbcab30303a561fdeb13ec3c59f9d3b049 |
|
MD5 | df39bc811bc1642f464714faa38254ab |
|
BLAKE2b-256 | 3860919ec94ad7bc2342461332d3fa396a018fd8fa0e19fa991c5c56ba27aac1 |
Hashes for pyHAMS-1.3.0-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b3dad07377c8dd63ce0efcd205c36da8cd118b37bbbd21bec2f6f76186e78b4 |
|
MD5 | aec39a92ceb6814e674601ce8bda91f4 |
|
BLAKE2b-256 | b899c0791c5b3b97c02fe1cd243c35de05b1dc28b2b02d7348b979c779a3faed |