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 SeafloorForces.Model = "Soil"
35 Visual.PhysicalWaves = "True"
36 Visual.Quality = "10"
37 Visual.Sky = "Cloudy"
38 Visual.Vertices = "100,200"
39 Visual.WorldRadius="2000"
40 Waves.DirectionBinning = "Sequential"
41 Waves.DirectionCosinePower = "20"
42 Waves.FrequencyBinning = "EqualSqrtEnergy"
43 Waves.Hs = "1"
44 Waves.MainDirectionDeg = "90"
45 Waves.MeanPeriod = "4"
46 Waves.Spectrum = "JONSWAP"
47 Waves.NumWaves = "12"
48 Waves.OmegaNormalizedMax = "3.0"
49 Waves.OmegaNormalizedMin = "0.5"
50 Waves.Theory = "Gerstner"
51 />
52
53 <!-- Waves from a list of components instead of a spectrum: replace the Waves.* lines above with these.
54 Periods [s], Amplitudes [m] and DirectionsDeg [deg] have NumWaves entries each. A component goes TO its
55 direction, measured from north towards east (90 = to the east). The phases are random (from RandomSeed).
56 Waves.Spectrum = "Components"
57 Waves.NumWaves = "3"
58 Waves.Theory = "Airy"
59 Waves.Periods = "8, 6, 4"
60 Waves.Amplitudes = "0.8, 0.4, 0.2"
61 Waves.DirectionsDeg = "90, 60, 120"
62 -->
63 </OBJECTS>
64
65 <INTERCONNECTIONS>
66 </INTERCONNECTIONS>
67
68 <INITIALIZATION>
69 <InitialCondition />
70 </INITIALIZATION>
71
72 <SIMULATION>
73 <Timing TStart="0.0" TEnd="3000.0"/>
74 <Integrator Method="RK45_i">
75 <StepControl Step="0" StepMax="0.02" StepMin="0.00000000000000001" AbsTol="1e-6" RelTol="1e-6"/>
76 </Integrator>
77 </SIMULATION>
78
79</Contents>