Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions modules/hydrodyn/hd_NBodyMod1/WAMIT_Input/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The example WAMIT input files provided here are compatible with Version 6.1.

Note that these are not the original WAMIT input files used to generate the hydrodynamic coefficients included with the r-test, but they should be equivalent.
3 changes: 3 additions & 0 deletions modules/hydrodyn/hd_NBodyMod1/WAMIT_Input/fnames.wam
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
semi_4body.cfg
semi_4body.pot
semi_4body.frc
18 changes: 18 additions & 0 deletions modules/hydrodyn/hd_NBodyMod1/WAMIT_Input/semi_4body.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
ipltdat=5
maxscr=1024 (assign a maximum block of 1024*1024 RAM for scratch LHS)
I2ND=0 (second-order)
IALTPOT=2 (use the second form of the .pot file)
IALTFRC=2 (use the second form of the .frc file)
ISOR=0 (evaluate source strength, required for 2nd order)
ISOLVE=1 (use direct solver)
ISCATT=0 (solve for total diffraction potential, not scattering)
IQUAD=0 (omit IQUAD in POT file, use single-node quadrature)
ILOG=1 (omit ILOG in POT file, integrate log singularity)
IDIAG=0 (omit IDIAG in POT file, panel length based on area)
IRR=1 (omit IRR in POT file, irregular-frequency removal)
IPERIO=2 (input frequencies in radians per second)
ILOWHI=1 (use low-order panel method)
ILOWGDF=1 (write low order gdf)
PANEL_SIZE=2.0 (average length of panel)
MONITR=0 (do not write FORCE output data to monitor)
NUMHDR=0 (write headers to numeric output files)
9 changes: 9 additions & 0 deletions modules/hydrodyn/hd_NBodyMod1/WAMIT_Input/semi_4body.frc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
semi_4body.frc
1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 IOPTN(1-16)
1025 RHO
0 0 0 XCG
0 IMASS
0 IDAMP
0 ISTIF
0 NBETAH
0 NFIELD
60 changes: 60 additions & 0 deletions modules/hydrodyn/hd_NBodyMod1/WAMIT_Input/semi_4body.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
semi_4body.pot
200.0 (HBOT)
1 1 (IRAD, IDIFF)
-202 (NPER - Number of wave periods to be analyzed {0: evaluate hydrostatics only, >0: evaluate for NPER wave periods where PER is a list, <0: evaluate for ABS(NPER) wave periods where PER(1) is the first value and PER(2) is the uniform increment} (-))
-0.02 0.02 (PER - List of wave periods [IPERIN = 1] or wave frequencies [IPERIN = 2] or infinite-depth wavenumber [IPERIN = 3] or finite-depth wavenumber [IPERIN = 4] {0.0: infinite frequency, <0.0: infinite period} [1 to NPER when NPER>0 or 1 to 2 when NPER<0] (sec when IPERIN = 1, rad/s when IPERIN = 2, - when IPERIN = 3, or - when IPERIN = 4) [this line must be deleted when NPER=0])
37 (NBETA - Number of wave heading angles to be analyzed {0: do not solve the diffraction problem [this is the same as IDIFF=-1], >0: evaluate for NBETA wave angles where BETA is a list, <0: evaluate for ABS(NBETA) wave angles where BETA(1) is the first value and BETA(2) is the uniform increment} (-))
-180.0
-170.0
-160.0
-150.0
-140.0
-130.0
-120.0
-110.0
-100.0
-90.0
-80.0
-70.0
-60.0
-50.0
-40.0
-30.0
-20.0
-10.0
0.0
10.0
20.0
30.0
40.0
50.0
60.0
70.0
80.0
90.0
100.0
110.0
120.0
130.0
140.0
150.0
160.0
170.0
180.0 (BETA - List of wave heading angles relative to the global coordinate system [1 to NBETA when NBETA>0 or 1 to 2 when NBETA<0] (degrees))
4 NBODY
semi_center.gdf GDF FILE NAME
0.0 0.0 0.0 0.0 XBODY(1-4)
1 1 1 1 1 1 IMODE(1-6)
0 NEWMDS
semi_col.gdf GDF FILE NAME
14.433756729740645 25.0 0.0 0.0 XBODY(1-4)
1 1 1 1 1 1 IMODE(1-6)
0 NEWMDS
semi_col.gdf GDF FILE NAME
-28.867513459481287 0.0 0.0 0.0 XBODY(1-4)
1 1 1 1 1 1 IMODE(1-6)
0 NEWMDS
semi_col.gdf GDF FILE NAME
14.433756729740645 -25.0 0.0 0.0 XBODY(1-4)
1 1 1 1 1 1 IMODE(1-6)
0 NEWMDS
Loading