Skip to content

Emulsification and ADIOS problems #1797

Description

@amercatini

Hi everyone,
First of all, thank you for the amazing work on OpenDrift and the OpenOil module. It is an incredibly useful tool for the community.
I am reaching out because I noticed that for several specific oils in the ADIOS database, the emulsification process is effectively disabled because the emulsion_water_fraction_max (total water) data is missing or set to zero.
To make the model more robust in these cases, would it be possible to implement a fallback mechanism?
For example, when the database returns zero or a null value, the model could:

  • Allow the user to provide a manual default value (e.g., 0.7 or 0.8) via the configuration settings.

  • Or use a simple empirical formula based on oil density to estimate a reasonable maximum water fraction.

This would prevent the simulation from skipping the emulsification phase entirely when a specific database entry is incomplete.
I am specifically seeing this issue with oils like IFO 180, where the lack of 'total water' data stops the emulsification process.
I would be happy to help test this feature or provide further details if needed.
Best regards,
Alessandro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions