Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not clear how to set custom boundary conditions #17

Open
MariosGkMeng opened this issue Feb 11, 2025 · 0 comments
Open

Not clear how to set custom boundary conditions #17

MariosGkMeng opened this issue Feb 11, 2025 · 0 comments

Comments

@MariosGkMeng
Copy link

MariosGkMeng commented Feb 11, 2025

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant