FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
EnvironmentAllParams.xml

This is an example input with most of the parameters. The options below are the complete list.

1<Contents>
2 <OBJECTS>
3
4 <Lib
5 LibName = "fhsim_environment"
6 SimObject = "Environment"
7 Name = "Environment"
8 RandomSeed = "123456"
9 Bathymetry.Depth = "200"
10 Bathymetry.Model = "SumOfSines"
11 Bathymetry.NumStructures = "10"
12 Bathymetry.StructureLengthMax = "100"
13 Bathymetry.StructureLengthMin = "10"
14 Bathymetry.StructureMaxHeight = "10"
15 Current.Model = "Constant"
16 Current.Vector = "1,0,0"
17 ScalarField.Names = "SeaTemperature, SeaSalinity, Herring"
18 ScalarField.SeaTemperature.Quantity = "Temperature"
19 ScalarField.SeaTemperature.Unit = "degC"
20 ScalarField.SeaTemperature.Model = "DepthLayered"
21 ScalarField.SeaTemperature.Depth = "0, 20, 40, 300"
22 ScalarField.SeaTemperature.Values = "13.5, 13.0, 7.0, 6.5"
23 ScalarField.SeaSalinity.Quantity = "Salinity"
24 ScalarField.SeaSalinity.Unit = "PSU"
25 ScalarField.SeaSalinity.Model = "Constant"
26 ScalarField.SeaSalinity.Value = "34.0"
27 ScalarField.Herring.Quantity = "SpeciesConcentration"
28 ScalarField.Herring.Unit = "kg/m^3"
29 ScalarField.Herring.Model = "DepthLayered"
30 ScalarField.Herring.Depth = "0, 50, 80, 150"
31 ScalarField.Herring.Values = "0.0, 0.2, 5.0, 0.0"
32 ScalarField.Herring.PropertyNames = "LengthM, TargetStrengthRefDb"
33 ScalarField.Herring.PropertyValues = "0.25, -34.6"
34 Visual.PhysicalWaves = "True"
35 Visual.Quality = "10"
36 Visual.Sky = "Cloudy"
37 Visual.Vertices = "100,200"
38 Visual.WorldRadius="2000"
39 Waves.DirectionBinning = "Sequential"
40 Waves.DirectionCosinePower = "20"
41 Waves.FrequencyBinning = "EqualSqrtEnergy"
42 Waves.Hs = "1"
43 Waves.MainDirectionDeg = "90"
44 Waves.MeanPeriod = "4"
45 Waves.Spectrum = "JONSWAP"
46 Waves.NumWaves = "12"
47 Waves.OmegaNormalizedMax = "3.0"
48 Waves.OmegaNormalizedMin = "0.5"
49 Waves.Theory = "Gerstner"
50 />
51
52 <!-- Waves from a list of components instead of a spectrum: replace the Waves.* lines above with these.
53 Periods [s], Amplitudes [m] and DirectionsDeg [deg] have NumWaves entries each. A component goes TO its
54 direction, measured from north towards east (90 = to the east). The phases are random (from RandomSeed).
55 Waves.Spectrum = "Components"
56 Waves.NumWaves = "3"
57 Waves.Theory = "Airy"
58 Waves.Periods = "8, 6, 4"
59 Waves.Amplitudes = "0.8, 0.4, 0.2"
60 Waves.DirectionsDeg = "90, 60, 120"
61 -->
62 </OBJECTS>
63
64 <INTERCONNECTIONS>
65 </INTERCONNECTIONS>
66
67 <INITIALIZATION>
68 <InitialCondition />
69 </INITIALIZATION>
70
71 <SIMULATION>
72 <Timing TStart="0.0" TEnd="3000.0"/>
73 <Integrator Method="RK45_i">
74 <StepControl Step="0" StepMax="0.02" StepMin="0.00000000000000001" AbsTol="1e-6" RelTol="1e-6"/>
75 </Integrator>
76 </SIMULATION>
77
78</Contents>