Skip to content

Add a domain size warning when using fluid data #71

Description

@mar-kni

The method 'read_IB2d_fluid' sets the domain (envir.L). If the user initializes a rectangular domain size before 'read_IB2d_fluid' is called, then the user domain size is rewritten.

For example, if user sets Lx= 10 and Ly =10 and the IB2d simulation domain is 3x3, then the user expects a 10x10 domain but once 'read_IB2d_fluid' is called, envir.L[0] returns 3 and envir.L[1] returns 3. In this instance if the user defined domain dimensions differently from envir.L after 'read_IB2d_fluid' is called, then Planktos should return a warning.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions