# HOS-ocean
High-Order Spectral method for oceanic simulations
[![Travis][buildstatus_image_travis]][travisci]
[![Appveyor][buildstatus_image_appveyor]][appveyorci]
[![Codecov][codecov_image]][codecovci]
This readme file describes the different cases that might be computed with the periodic HOS model
and gives instructions to set the numerical parameters `n1` to `p2`
Setting the value of integers `n1`, `n2`, `M`, `p1` and `p2` in
[`variables_3D.f90`](sources/HOS/variables_3D.f90)
## 2D simulation
For a 2D simulation, compile with `n2=1` `AND` `p2=1` to adjust the memory allocation to minimum
If partial dealiasing is used, compile with `p1` set to maximal required value
(total dealiasing is obtained with `p1=M`
but it can be reduced if `p1` is further set to a value below `M`)
## 3D simulation
For a 3D simulation, compile with `n2\=1` `AND` `p2` set to required value
If partial dealiasing is used in x-direction,
compile with `p1` set to maximal required value
(total dealiasing is obtained with `p1=M`
but it can be reduced if `p1` is further set to a value below `M`)
If partial dealiasing is used in y-direction,
compile with `p2` set to maximal required value
(total dealiasing is obtained with `p2=M`
but it can be reduced if `p2` is further set to a value below `M`)
* `input_HOS.dat` will have to be attached to run this program *
Setting the value of integer `i_case` in `input_HOS.dat`
- `i_case = 1` : starts from rest
- `i_case = 2` and `21` : starts with a natural mode
- `2` - progressive wave: potential on free surface accordingly to linear theory
- `21` - stationary wave: no velocity at initial time
The number of the mode, its amplitude and phase have to be chosen
in the module [`initial_condition.f90`](sources/HOS/initial_condition.f90).
- `i_case = 3` and `31` and `32` : Irregular directional sea-state from spectrum specified :
- `3` - input file parameters
- `31` - WAVEWATCH III® spectrum file
- `32` - previous HOS-ocean simulation
- `i_case = 8...` : Nonlinear regular wave (from Rienecker and Fenton).
This means that `xlen` and `ylen` are interpreted as integer and
represent the number of wavelength in x- and y- direction
respectively.
- `i_case = 81` : `steepness 0.1`
- `i_case = 82` : `steepness 0.2`
- `i_case = 83` : `steepness 0.3`
- `i_case = 84` : `steepness 0.4`
- `i_case = 89` : `steepness 0.09`
Further details about input file, output of the code...
may be find at the Wiki page of
HOS-ocean project: https://github.com/LHEEA/HOS-ocean/wiki
[buildstatus_image_travis]: https://travis-ci.org/LHEEA/HOS-ocean.svg?branch=master
[travisci]: https://travis-ci.org/LHEEA/HOS-ocean
[buildstatus_image_appveyor]: https://ci.appveyor.com/api/projects/status/kgkw3p6ygj47j2oj?svg=true
[appveyorci]: https://ci.appveyor.com/project/gducrozet/hos-ocean
[codecov_image]: https://codecov.io/gh/LHEEA/HOS-ocean/branch/master/graph/badge.svg
[codecovci]: https://codecov.io/gh/LHEEA/HOS-ocean
没有合适的资源?快使用搜索试试~ 我知道了~
用于海洋模拟的高阶谱方法___下载.zip
共62个文件
f90:28个
cof:12个
cmake:8个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 70 浏览量
2023-04-16
20:27:57
上传
评论
收藏 176KB ZIP 举报
温馨提示
用于海洋模拟的高阶谱方法___下载.zip
资源推荐
资源详情
资源评论
收起资源包目录
用于海洋模拟的高阶谱方法___下载.zip (62个子文件)
HOS-ocean-master
makefile 3KB
makefile_test_W_DYue 4KB
.travis.yml 1KB
LICENSE.txt 34KB
Benchmark
Convergence_RF
waverf_L628_inf_ka035_N25_50.cof 3KB
waverf_L628_inf_ka03_N25_50.cof 3KB
waverf_L628_inf_ka02_N20_40.cof 2KB
waverf_L628_inf_ka01_N15_30.cof 2KB
waverf_L628_inf_ka04_N50_100.cof 6KB
cmake
CMakeLists.txt 5KB
cmake
CMakeCompilationOptionsFortran.cmake 2KB
FindGcov.cmake 6KB
CMakePack.cmake 4KB
FindFFTW.cmake 3KB
CMakeOutputDirectories.cmake 217B
ParseArguments.cmake 2KB
Findcodecov.cmake 7KB
CMakeSources.cmake 2KB
.gitignore 16B
sources
Benchmark
variables_3D_DYue.f90 8KB
check_W_DYue.f90 146KB
PostProcessing
makefile 3KB
reconstruction.f90 19KB
input_post_process.f90 5KB
Post_processing.f90 11KB
bin
input_post_process.dat 932B
analysis_wavefield.f90 18KB
output_post_process.f90 12KB
variables_post_process.f90 2KB
read_files.f90 6KB
HOS
energy_calc.f90 3KB
initial_condition.f90 44KB
runge_kutta.f90 10KB
output.f90 20KB
velocities.f90 49KB
variables_3D.f90 8KB
HOS-ocean.f90 20KB
input_HOS.f90 12KB
resol_HOS.f90 13KB
utilities
filters.f90 5KB
ramp.f90 15KB
RF_solution.f90 17KB
type.f90 2KB
Bivar.f90 59KB
fftw3.f03 53KB
nrutil_tmp.f90 4KB
random_numbers.f90 3KB
fourier_r2c_FFTW3.f90 8KB
linear_wave.f90 6KB
maths.f90 8KB
bin
waverf_L628_inf_ka035_N25_50.cof 3KB
waverf_L628_inf_ka021_N20_40.cof 2KB
waverf_L628_inf_ka03_N25_50.cof 3KB
waverf_L628_inf_ka02_N20_40.cof 2KB
waverf_L628_inf_ka01_N15_30.cof 2KB
input_HOS.dat 1KB
waverf_L628_inf_ka009_N50_100.cof 6KB
waverf_L628_inf_ka04_N50_100.cof 6KB
Dockerfile 650B
.gitignore 715B
appveyor.yml 4KB
Readme.md 3KB
共 62 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功