# ti-pft **Repository Path**: piteqiu/ti-pft ## Basic Information - **Project Name**: ti-pft - **Description**: 基于船舶静水力学⚓、三维线性频域势流理论🌊的排水型刚性船舶运动与波浪载荷计算系统(静力学:alpha,水动力学:experimental);预计 2023 年 1 月开始编制规则波频域势流理论计算代码。 - **Primary Language**: FORTRAN - **License**: Not specified - **Default Branch**: main - **Homepage**: https://ti-pft.netlify.app/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-10-22 - **Last Updated**: 2022-10-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 常规船舶静水力学、水动力学计算 (ti-pft) 常规船舶静水力学、水动力学计算项目。 [][1] [](https://ti-pft.netlify.app/) [](LICENSE) [][4] [][3] [][5] [1]: https://gitee.com/ship-motions/ti-pft [4]: https://wakatime.com/@zoziha/projects/inhdpplrdg [5]: https://fortran-lang.org/compilers ## 依赖 - MSC.Patran/[Gmsh][8]:创建船壳网格; - [Fortran-lang/fpm][3] >= 0.6.0:构建代码; - [GNU/GCC-Fortran][5] >= 10.3.0:编译器; - [OpenBLAS][6]:线性代数库。 [6]: https://www.openblas.net/ [8]: https://gmsh.info/ ### 使用 MSYS2 环境安装依赖 如果你恰好使用 [Windows-MSYS2][9] 环境,可以使用以下命令便捷地安装依赖: ```bash pacman -S mingw-w64-ucrt-x86_64-gcc-fortran pacman -S mingw-w64-ucrt-x86_64-fpm pacman -S mingw-w64-ucrt-x86_64-openblas ``` [9]: https://www.msys2.org/ ## 使用 [Fortran-lang/fpm][3] 运行 ```sh fpm run -- static -C example/case1 # 运行子命令:静水力学计算 fpm run -- motion -C example/case3 -U # 运行子命令:无界流水动力计算 fpm install --profile release --prefix