Skip to content

Not clear how to set custom boundary conditions #17

Open
@MariosGkMeng

Description

@MariosGkMeng

I am trying to solve my own specific problem. The data.sampler.boundary_condition contains code for Dirichlet and Periodic boundary conditions.

It is not clear to me how one can add custom boundary conditions in the form of functions, such as:

p(0, t) = a

The tutorial does not include this scenario, neither the train.py files for any of the provided examples.

I suppose I should build this function inside boundary_condition.py?

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

        Participants

        @MariosGkMeng

        Issue actions

          Not clear how to set custom boundary conditions · Issue #17 · rezaakb/pinns-torch