Skip to content

Commit

Permalink
Update depth and rerun BEM
Browse files Browse the repository at this point in the history
  • Loading branch information
jtgrasb committed Jan 2, 2025
1 parent 71c826a commit 7628a44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file modified examples/data/bem.nc
Binary file not shown.
6 changes: 4 additions & 2 deletions examples/tutorial_3_LUPA.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@
" 'mass': 175.536,\n",
" 'CG': [0, 0, -1.3],\n",
" 'MOI': [253.6344, 250.4558, 12.746],\n",
"}"
"}\n",
"\n",
"water_depth = 2.7 # depth of wave flume"
]
},
{
Expand Down Expand Up @@ -460,7 +462,7 @@
"try:\n",
" bem_data = wot.read_netcdf(filename)\n",
"except:\n",
" bem_data = wot.run_bem(lupa_fb, freq, rho=rho)\n",
" bem_data = wot.run_bem(lupa_fb, freq, rho=rho, depth=water_depth)\n",
" wot.write_netcdf(filename, bem_data)"
]
},
Expand Down

0 comments on commit 7628a44

Please sign in to comment.