XCONFIG Commands¶
The program can handle multiple bodies and external objects such as springs, mooring lines and fenders using the XCONFIG module.
The ends of springs and mooring lines can be attached to either a point in the earth-fixed coordinate system or to a point on a rigid body.
Notes
- The computation is started by giving the name of the
XCONFIG_FILEas argument. - Individual
COMMAND_FILEs are required for each floating body and environmental object.
GEOM¶
Adds a body definition from a regular command file. Multiple instances of this card can be given in
order to add additional bodies to the computation. One of them needs to be master.
General form of command
Default values
Not stated in the source manual.
Keywords
| Keyword | Description |
|---|---|
file |
Name of the command file. |
tran |
\( x \)- and \( y \)-coordinates for translating the body in the horizontal plane. It is the translation of the center of gravity of the body. If two bodies have tran=[0,0] then they will be on top of each other with their centers of gravity coinciding. |
rota |
Angle in degrees for rotating the body around the \( z \)-axis. |
master |
Defines the command file to be considered master. |
SPRING¶
Springs are defined by specifying the coordinates of the two ends and whether any or both of the ends are attached to a rigid body or a point in the earth-fixed coordinate system.
General form of command
Keywords not shown in the general form
nosave is documented as a keyword below but is not shown in the general form of the command
above.
Default values
Keywords
| Keyword | Description |
|---|---|
b1 |
If specified, attaches end 1 of the spring to body n. |
b2 |
If specified, attaches end 2 of the spring to body n. |
xyz1 |
Specifies the coordinates of end 1. If the parameter b1 is specified, the coordinates are given in the offset coordinate system of the corresponding body, otherwise the coordinates refer to the earth-fixed coordinate system. |
xyz2 |
Specifies the coordinates of end 2. If the parameter b2 is specified, the coordinates are given in the offset coordinate system of the corresponding body, otherwise the coordinates refer to the earth-fixed coordinate system. |
k |
Specifies the stiffness of the spring (in N/m). |
b |
Specifies the damping of the spring (in Nm/s). If not specified, it defaults to zero. |
length |
Specifies the unstretched length of the spring (in m). If not specified, the length is equal to the distance between the ends as specified by xyz1 and xyz2. |
nobcomp |
When specified, limits the damping force to only act on positive spring extension rate, i.e. no compression damping, only extension damping. |
nosave |
When specified, the spring will not be saved. |
MOORING¶
Mooring lines are similar to springs, with a few additional features. They are defined by specifying the coordinates of the two ends and whether any or both of the ends are attached to a rigid body or a point in the earth-fixed coordinate system.
General form of command
mooring ( b1 = n , b2 = n , xyz1 = [x,y,z] ,
xyz2 = [x,y,z] , k = v ,
k_non = v , b = v , break = v ,
preforce = v , wisp = v , slack = v ,
length = v )
Default values
Keywords
| Keyword | Description |
|---|---|
b1 |
If specified, attaches end 1 of the mooring line to body n. |
b2 |
If specified, attaches end 2 of the mooring line to body n. |
xyz1 |
Specifies the coordinates of end 1. If the parameter b1 is specified, the coordinates are given in the body-fixed coordinate system of the corresponding body, otherwise the coordinates refer to the earth-fixed coordinate system. |
xyz2 |
Specifies the coordinates of end 2. If the parameter b2 is specified, the coordinates are given in the body-fixed coordinate system of the corresponding body, otherwise the coordinates refer to the earth-fixed coordinate system. |
k |
Specifies the stiffness of the mooring line (in N/m). |
k_non |
Mooring line stiffness given as Load%Strength divided by Extension%Length. |
b |
Specifies the damping of the mooring line (in Ns/m). If not specified, it defaults to zero. |
break |
Specifies the breaking strength of the mooring line (in N). If not specified, the mooring line cannot break. |
preforce |
Specifies the desired pretension force (in N). Pretensioning is conducted dynamically before the actual computation starts, with only hydrostatic and inertial forces acting on the body. |
wisp |
Specifies the winch speed (in m/s) when pretensioning the mooring lines. Pretensioning is conducted dynamically before the actual computation starts, with only hydrostatic and inertial forces acting on the body. |
slack |
Specifies the desired slack (in % of the distance between the initial position of the two ends of the mooring line). This implicitly initializes the length of the mooring line to a length larger than the initial distance between the two ends. |
length |
Specifies the unstretched length of the mooring line (in m). If not specified, the length is equal to the distance between the ends as specified by xyz1 and xyz2. |
FENDER¶
Fenders (cylindrical, foam filled fenders) are defined by their position, direction of action and diameter (in m). They can be attached to a rigid body or a point in the earth-fixed coordinate system.
General form of command
fender ( body = n , xyz = [x,y,z] , dir = [x,y,z] ,
diam = v , force = v , n_pe = n ,
p_fo = [v] , p_co = [v] , n_vf = n ,
vf = [v] , strain = [v] )
Default values
Not stated in the source manual.
Keywords
| Keyword | Description |
|---|---|
body |
Specifies that the fender is attached to body n. If specified, the coordinates of the fender are given in the body-fixed coordinate system. Otherwise the coordinates relate to the earth-fixed coordinate system. |
xyz |
Specifies the coordinates of the fender. If body=n is specified, the coordinates relate to the body-fixed coordinate system. Otherwise the coordinates relate to the earth-fixed coordinate system. |
dir |
Specifies the direction of action of the fender. If body=n is specified, the coordinates relate to the body-fixed coordinate system. Otherwise the coordinates relate to the earth-fixed coordinate system. |
diam |
Specifies the diameter of the fender. The initial contact point of the fender, uncompressed, is equal to its position plus one diameter in the direction of action. |
force |
Specifies the reaction force at p_fo=100. |
n_pe |
Number of data points for force vs compression. |
p_fo |
Dataset 1: fraction of reaction force in %. |
p_co |
Dataset 1: fraction compressed in %. |
n_vf |
Number of data points for velocity factor vs strain rate. |
vf |
Dataset 2: velocity factor. |
strain |
Not described in the source manual. |
WFPOINT¶
Wind force points are defined by their position on a rigid body, a normal vector, an area, a drag force coefficient, a wind velocity vector in the earth-fixed coordinate system as well as a density of the air.
General form of command
wfpoint ( body = n , xyz = [x,y,z] , normal = [x,y,z] ,
cd = v , area = v , rho = v ,
wind = [x,y,z] )
Default values
Not stated in the source manual.
Keywords
| Keyword | Description |
|---|---|
body |
Specifies that the wind force point is attached to body n. |
xyz |
Specifies the coordinates of the wind force point. The coordinates relate to the offset coordinate system. |
normal |
Specifies the normal vector of the surface; it does not have to be a unit vector. The vector relates to the offset coordinate system. A relative wind velocity towards the normal direction of the surface results in a negative force in the normal direction of the surface. |
cd |
Specifies the drag coefficient of the wind force point. It is defined as \( C_D = F_D / (\frac{1}{2}\rho v^2 A) \), where \( F_D \) is the drag force, \( \rho \) is the density of the air as specified by rho, \( v \) is the relative wind speed in the normal direction and \( A \) is the area of the wind force point as specified by area. |
area |
Specifies the area of the wind force point in m². |
rho |
Specifies the density of the air given in kg/m³. |
wind |
Specifies the wind velocity vector in m/s given in the earth-fixed coordinate system. |