-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added member test cases + minor fix for tapered rectangular members
- Added tests for - Floating pitched (0deg, 30deg, 0deg) circular cylinder (mem_srf_pitch_circ_cyl.yaml). - Floating pitched (0deg, 30deg, 0deg) rectangular cylinder (mem_srf_pitch_rect_cyl.yaml) -Floating inclined (30deg, 30deg, 30deg) circular cylinder (mem_srf_inc_rect_cyl.yaml) - Submerged horizontal circular cylinder (mem_subm_horz_circ_cyl.yaml) ) - Submerged horizontal circular cylinder (mem_subm_horz_circ_cyl.yaml) ) - Floating vertical tapered circular cylinder (mem_srf_vert_tap_circ_cyl.yaml) - Floating vertical tapered rectangular cylinder (mem_srf_vert_tap_rect_cyl.yaml) - Fixed a minor bug in RectangularFrustumMOI within raft_member.py. The bug only affected rectangular elements tapered along both sides (i.e. La != Lb and Wa != Wb)
- Loading branch information
1 parent
33d1bbb
commit ee11af5
Showing
12 changed files
with
368 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
type: input file for RAFT | ||
name: surface piercing vertical circular cylinder | ||
comments: Used to perform some tests on member class functionality. This file should contain a single RAFT member. | ||
|
||
members: # list all members here | ||
|
||
- name : cylinder # [-] an identifier (no longer has to be number) | ||
type : 2 # [-] | ||
dlsMax : 0.1 # maximum node splitting section amount for platform members; can't be 0 | ||
rA : [-12.500, 4.3301, -15.00] # [m] end A coordinates | ||
rB : [ 9.375, -3.2476, 11.25] # [m] and B coordinates | ||
shape : circ # [-] circular or rectangular | ||
gamma : 0.0 # [deg] twist angle about the member's z-axis | ||
potMod : False # [bool] Whether to model the member with potential flow (BEM model) plus viscous drag or purely strip theory | ||
MCF : False # [bool] Whether to correct the inertia coefficient using the MacCamy and Fuchs correction | ||
# --- outer shell including hydro--- | ||
stations : [0, 35] # [-] location of stations along axis. Will be normalized such that start value maps to rA and end value to rB | ||
d : 9.85 # [m] diameters if circular or side lengths if rectangular (can be pairs) | ||
t : 0.05 # [m] wall thicknesses (scalar or list of same length as stations) | ||
Cd : 0.6 # [-] transverse drag coefficient (optional, scalar or list of same length as stations) | ||
Ca : 0.85 # [-] transverse added mass coefficient (optional, scalar or list of same length as stations) | ||
CdEnd : 0.6 # [-] end axial drag coefficient (optional, scalar or list of same length as stations) | ||
CaEnd : 0.7 # [-] end axial added mass coefficient (optional, scalar or list of same length as stations) | ||
rho_shell : 7850 # [kg/m3] | ||
# --- ballast --- | ||
l_fill : 6.19 | ||
rho_fill : 5000 # [kg/m3] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
type: input file for RAFT | ||
name: surface piercing vertical circular cylinder | ||
comments: Used to perform some tests on member class functionality. This file should contain a single RAFT member. | ||
|
||
members: # list all members here | ||
|
||
- name : cylinder # [-] an identifier (no longer has to be number) | ||
type : 2 # [-] | ||
dlsMax : 0.1 # maximum node splitting section amount for platform members; can't be 0 | ||
rA : [-10.0, 0, -17.321] # [m] end A coordinates | ||
rB : [ 7.5, 0, 12.990] # [m] and B coordinates | ||
shape : circ # [-] circular or rectangular | ||
gamma : 0.0 # [deg] twist angle about the member's z-axis | ||
potMod : False # [bool] Whether to model the member with potential flow (BEM model) plus viscous drag or purely strip theory | ||
MCF : False # [bool] Whether to correct the inertia coefficient using the MacCamy and Fuchs correction | ||
# --- outer shell including hydro--- | ||
stations : [0, 35] # [-] location of stations along axis. Will be normalized such that start value maps to rA and end value to rB | ||
d : 9.85 # [m] diameters if circular or side lengths if rectangular (can be pairs) | ||
t : 0.05 # [m] wall thicknesses (scalar or list of same length as stations) | ||
Cd : 0.6 # [-] transverse drag coefficient (optional, scalar or list of same length as stations) | ||
Ca : 0.85 # [-] transverse added mass coefficient (optional, scalar or list of same length as stations) | ||
CdEnd : 0.6 # [-] end axial drag coefficient (optional, scalar or list of same length as stations) | ||
CaEnd : 0.7 # [-] end axial added mass coefficient (optional, scalar or list of same length as stations) | ||
rho_shell : 7850 # [kg/m3] | ||
# --- ballast --- | ||
l_fill : 6.19 | ||
rho_fill : 5000 # [kg/m3] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
type: input file for RAFT | ||
name: surface piercing vertical rectangular cylinder | ||
comments: Used to perform some tests on member class functionality. This file should contain a single RAFT member. | ||
|
||
|
||
members: # list all members here | ||
- name : cylinder # [-] an identifier (no longer has to be number) | ||
type : 2 # [-] | ||
dlsMax : 0.1 # maximum node splitting section amount for platform members; can't be 0 | ||
rA : [-10.0, 0, -17.321] # [m] end A coordinates | ||
rB : [ 7.5, 0, 12.990] # [m] and B coordinates | ||
shape : rect # [-] circular or rectangular | ||
gamma : 0.0 # [deg] twist angle about the member's z-axis | ||
potMod : False # [bool] Whether to model the member with potential flow (BEM model) plus viscous drag or purely strip theory | ||
MCF : False # [bool] Whether to correct the inertia coefficient using the MacCamy and Fuchs correction | ||
# --- outer shell including hydro--- | ||
stations : [0, 35] # [-] location of stations along axis. Will be normalized such that start value maps to rA and end value to rB | ||
d : [9.85, 6] # [m] diameters if circular or side lengths if rectangular (can be pairs) | ||
t : 0.05 # [m] wall thicknesses (scalar or list of same length as stations) | ||
Cd : [2, 1] # [-] transverse drag coefficient (optional, scalar or list of same length as stations) | ||
Ca : [1.50, 1.25] # [-] transverse added mass coefficient (optional, scalar or list of same length as stations) | ||
CdEnd : 0.6 # [-] end axial drag coefficient (optional, scalar or list of same length as stations) | ||
CaEnd : 0.7 # [-] end axial added mass coefficient (optional, scalar or list of same length as stations) | ||
rho_shell : 7850 # [kg/m3] | ||
# --- ballast --- | ||
l_fill : 2.71 | ||
rho_fill : 5000 # [kg/m3] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
type: input file for RAFT | ||
name: surface piercing vertical circular cylinder | ||
comments: Used to perform some tests on member class functionality. This file should contain a single RAFT member. | ||
|
||
members: # list all members here | ||
|
||
- name : cylinder # [-] an identifier (no longer has to be number) | ||
type : 2 # [-] | ||
dlsMax : 0.1 # maximum node splitting section amount for platform members; can't be 0 | ||
rA : [ 0, 0, -20] # [m] end A coordinates | ||
rB : [ 0, 0, 15] # [m] and B coordinates | ||
shape : circ # [-] circular or rectangular | ||
gamma : 0.0 # [deg] twist angle about the member's z-axis | ||
potMod : False # [bool] Whether to model the member with potential flow (BEM model) plus viscous drag or purely strip theory | ||
MCF : False # [bool] Whether to correct the inertia coefficient using the MacCamy and Fuchs correction | ||
# --- outer shell including hydro--- | ||
stations : [0, 35] # [-] location of stations along axis. Will be normalized such that start value maps to rA and end value to rB | ||
d : [9.85, 4] # [m] diameters if circular or side lengths if rectangular (can be pairs) | ||
t : 0.05 # [m] wall thicknesses (scalar or list of same length as stations) | ||
Cd : 0.6 # [-] transverse drag coefficient (optional, scalar or list of same length as stations) | ||
Ca : 0.85 # [-] transverse added mass coefficient (optional, scalar or list of same length as stations) | ||
CdEnd : 0.6 # [-] end axial drag coefficient (optional, scalar or list of same length as stations) | ||
CaEnd : 0.7 # [-] end axial added mass coefficient (optional, scalar or list of same length as stations) | ||
rho_shell : 7850 # [kg/m3] | ||
# --- ballast --- | ||
l_fill : 6.19 | ||
rho_fill : 5000 # [kg/m3] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
type: input file for RAFT | ||
name: surface piercing vertical rectangular cylinder | ||
comments: Used to perform some tests on member class functionality. This file should contain a single RAFT member. | ||
|
||
|
||
members: # list all members here | ||
- name : cylinder # [-] an identifier (no longer has to be number) | ||
type : 2 # [-] | ||
dlsMax : 0.1 # maximum node splitting section amount for platform members; can't be 0 | ||
rA : [ 0, 0, -20] # [m] end A coordinates | ||
rB : [ 0, 0, 15] # [m] and B coordinates | ||
shape : rect # [-] circular or rectangular | ||
gamma : 0.0 # [deg] twist angle about the member's z-axis | ||
potMod : False # [bool] Whether to model the member with potential flow (BEM model) plus viscous drag or purely strip theory | ||
MCF : False # [bool] Whether to correct the inertia coefficient using the MacCamy and Fuchs correction | ||
# --- outer shell including hydro--- | ||
stations : [0, 35] # [-] location of stations along axis. Will be normalized such that start value maps to rA and end value to rB | ||
d : [[9.85, 6], [4, 3]] # [m] diameters if circular or side lengths if rectangular (can be pairs) | ||
t : 0.05 # [m] wall thicknesses (scalar or list of same length as stations) | ||
Cd : [2, 1] # [-] transverse drag coefficient (optional, scalar or list of same length as stations) | ||
Ca : [1.50, 1.25] # [-] transverse added mass coefficient (optional, scalar or list of same length as stations) | ||
CdEnd : 0.6 # [-] end axial drag coefficient (optional, scalar or list of same length as stations) | ||
CaEnd : 0.7 # [-] end axial added mass coefficient (optional, scalar or list of same length as stations) | ||
rho_shell : 7850 # [kg/m3] | ||
# --- ballast --- | ||
l_fill : 2.71 | ||
rho_fill : 5000 # [kg/m3] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
type: input file for RAFT | ||
name: surface piercing vertical circular cylinder | ||
comments: Used to perform some tests on member class functionality. This file should contain a single RAFT member. | ||
|
||
members: # list all members here | ||
|
||
- name : cylinder # [-] an identifier (no longer has to be number) | ||
type : 2 # [-] | ||
dlsMax : 0.1 # maximum node splitting section amount for platform members; can't be 0 | ||
rA : [-17.5, 0, -20.0] # [m] end A coordinates | ||
rB : [ 17.5, 0, -20.0] # [m] and B coordinates | ||
shape : circ # [-] circular or rectangular | ||
gamma : 0.0 # [deg] twist angle about the member's z-axis | ||
potMod : False # [bool] Whether to model the member with potential flow (BEM model) plus viscous drag or purely strip theory | ||
MCF : False # [bool] Whether to correct the inertia coefficient using the MacCamy and Fuchs correction | ||
# --- outer shell including hydro--- | ||
stations : [0, 35] # [-] location of stations along axis. Will be normalized such that start value maps to rA and end value to rB | ||
d : 9.85 # [m] diameters if circular or side lengths if rectangular (can be pairs) | ||
t : 0.05 # [m] wall thicknesses (scalar or list of same length as stations) | ||
Cd : 0.6 # [-] transverse drag coefficient (optional, scalar or list of same length as stations) | ||
Ca : 0.85 # [-] transverse added mass coefficient (optional, scalar or list of same length as stations) | ||
CdEnd : 0.6 # [-] end axial drag coefficient (optional, scalar or list of same length as stations) | ||
CaEnd : 0.7 # [-] end axial added mass coefficient (optional, scalar or list of same length as stations) | ||
rho_shell : 7850 # [kg/m3] | ||
# --- ballast --- | ||
l_fill : 6.19 | ||
rho_fill : 5000 # [kg/m3] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
type: input file for RAFT | ||
name: surface piercing vertical rectangular cylinder | ||
comments: Used to perform some tests on member class functionality. This file should contain a single RAFT member. | ||
|
||
|
||
members: # list all members here | ||
- name : cylinder # [-] an identifier (no longer has to be number) | ||
type : 2 # [-] | ||
dlsMax : 0.1 # maximum node splitting section amount for platform members; can't be 0 | ||
rA : [-17.5, 0, -20] # [m] end A coordinates | ||
rB : [ 17.5, 0, -20] # [m] and B coordinates | ||
shape : rect # [-] circular or rectangular | ||
gamma : 0.0 # [deg] twist angle about the member's z-axis | ||
potMod : False # [bool] Whether to model the member with potential flow (BEM model) plus viscous drag or purely strip theory | ||
MCF : False # [bool] Whether to correct the inertia coefficient using the MacCamy and Fuchs correction | ||
# --- outer shell including hydro--- | ||
stations : [0, 35] # [-] location of stations along axis. Will be normalized such that start value maps to rA and end value to rB | ||
d : [9.85, 6] # [m] diameters if circular or side lengths if rectangular (can be pairs) | ||
t : 0.05 # [m] wall thicknesses (scalar or list of same length as stations) | ||
Cd : [2, 1] # [-] transverse drag coefficient (optional, scalar or list of same length as stations) | ||
Ca : [1.50, 1.25] # [-] transverse added mass coefficient (optional, scalar or list of same length as stations) | ||
CdEnd : 0.6 # [-] end axial drag coefficient (optional, scalar or list of same length as stations) | ||
CaEnd : 0.7 # [-] end axial added mass coefficient (optional, scalar or list of same length as stations) | ||
rho_shell : 7850 # [kg/m3] | ||
# --- ballast --- | ||
l_fill : 2.71 | ||
rho_fill : 5000 # [kg/m3] |
Oops, something went wrong.