Skip to content

Seahowl and HydroDyn fatal error level mismatch #211

Description

@lsirkis

Hi,

I am using the latest release of Seahowl (v1.1.0) to run simulations of a floating platform that naturally pitches a lot in irregular waves (>0.3 rad/18 deg). This produces a non-fatal error in HydroDyn for violating the small-angle assumption. However, Seahowl considers this error to be fatal and stops the simulation. I have included the language of the error below. Is it possible to prevent non-fatal hydrodyn errors from stopping the simulation automatically?

As a workaround, I am using a try-except block in python for each simulation step to prevent the simulation from stopping for the particular errors I am encountering. However, it would be convenient if this could be changed in the actual code.

Error message:

  File "C:\Users\lsirkis\Downloads\seahowl-1.1.0-package-win\seahowl-1.1.0-package-win\python_driver_full2_nojson.py", line 165, in <module>
    simulation.step()
RuntimeError: HydroDyn ERROR: HydroDyn_C_CalcOutput_and_AddedMass:HydroDyn_CalcOutput:WAMIT_Init:Pitch angle of a potential-flow body violated the small angle assumption. The solution might be inaccurate. Simulation continuing, but future warnings will be suppressed.```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions