FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
Disk of sorts
+ Collaboration diagram for Disk of sorts:

A simple disk.

Example configuration excerpt

<Lib
LibName = "marine_elements"
SimObject = "Net/Disk"
Name = "Disk"
Rho = "1025"
DiskD = "1"
DiskT = "0.1"
DiskMass = "10"
D = "0.01"
DiskMesh = "fhDisk.mesh"
DiskMaterial = "firebrick2"
/>

Input Ports

Name Width Description
Force 3 ...

Output Ports

Name Width Description
Position 3 Position of the disk.
Velocity 3 Velocity of the disk.

Configuration parameters

Name Width Description
Rho 1 ... (Default: 1025)
DiskD 1 Diameter of disk (Default: 1).
DiskT 1 Disk thickness (Default: 0.1).
DiskMass 1 Mass of disk (Default: 10).
D 1 Diameter of cable (Default: 0.01).
DiskMesh 1 Disk mesh material for visualization.
DiskMaterial 1 Disk visualization material.

Initial conditions

Name Width Description
Position 3 Position of the disk (Default: "0,0,0").
Velocity 3 Velocity of the disk (Default: "0,0,0").

Full example file

<Contents>
<OBJECTS>
<Lib
LibName="environment"
SimObject="Environment"
Name="Env"
Waves.Model="Component"
Waves.NumWaves="0"
Bathymetry.Depth="500"
Current.Model = "Constant"
Current.Vector = "1,0,0"
/>
<Lib
LibName = "marine_elements"
SimObject = "Net/Disk"
Name = "Disk"
Rho = "1025"
DiskD = "1"
DiskT = "0.1"
DiskMass = "10"
D = "0.01"
DiskMesh = "fhDisk.mesh"
DiskMaterial = "firebrick2"
/>
</OBJECTS>
<INTERCONNECTIONS>
<Connection
Disk.Force = "0,0,0"
/>
</INTERCONNECTIONS>
<INITIALIZATION>
<InitialCondition
Disk.Position = "0,0,0"
Disk.Velocity = "0,0,0"
/>
</INITIALIZATION>
<SIMULATION>
<Timing TStart="0" TEnd="40"/>
<Integrator Method="RK45_i" NumCores="1" LogStates="1" UseRSSNorm="0">
<StepControl StepMax="0.1" StepMin="1E-060" AbsTol="0.001" RelTol="0.001"/>
</Integrator>
<!-- TODO migrate_v3: FileOutput="objects:states" -> configure via <OBSERVERS> section -->
</SIMULATION>
</Contents>

This SimObject is referred to as Net/Disk