Hello.I'm new to OpenFlow and want to simulate an oil spill on water in 2D. Can it be done? Then I know that I can use Lagrangian modules, I want to know what module I should use for the process.Thank You.
Hello,
It's possible to simulate oil spills in OpenFlows FLOOD.
For that you need to use the MOHID Water engine when you create a new domain. And then, when creating a new simulation, activate the Lagrangian module.
Then, in the Model input data options, set the option "Enable Lagrangian Module" to "True".
After that you can setup the Lagrangian module, defining an "origin" (i.e. a source or emission of particles representing the oil spill).
In addition to basic Lagrangian configuration (see default configuration file setup for common options and this article for basic instructions) you will need to setup:
Type of emission (continuous or instantaneous point emission):
EMISSION_SPATIAL : Point
EMISSION_TEMPORAL : Continuous
If continuous, you set the flow in m3/s:
FLOW : 0.7
If instantaneous, you set the volume (m3):
POINT_VOLUME : 100
Activate the initial spread method:
ACCIDENT_METHOD : 1
Set the wind drag coefficient (as oil stays in the surface, its transport must account for wind)
WINDCOEF : 0.03
Then you will need to activate 3 properties (temperature, salinity and oil) inside the "origin" block as described below.
<<BeginProperty>>NAME : temperatureUNITS : ºCCONCENTRATION : 11EQUAL_TO_AMBIENT : 1<<EndProperty>>
<<BeginProperty>>NAME : salinityUNITS : psuCONCENTRATION : 36EQUAL_TO_AMBIENT : 1<<EndProperty>>
<<BeginProperty>>NAME : oilUNITS : m3CONCENTRATION : 1EQUAL_TO_AMBIENT : 0AMBIENT_CONC : 0<<EndProperty>>
And a block
<<BeginOil>>
[insert oil weathering compute options here (see this article for more details), e.g.:
OILTYPE : Crude
API : 21
POURPOINT : -30
MAXVWATERCONTENT : 70
<<EndOil>>
Please let me know if you require any additional information.
Kind regards,Luis
Please find here more information regarding the simulation of oil spills in OpenFlows FLOOD.