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

Time and space dependent boundary conditions #352

Closed
Patco96 opened this issue Aug 5, 2021 · 2 comments
Closed

Time and space dependent boundary conditions #352

Patco96 opened this issue Aug 5, 2021 · 2 comments

Comments

@Patco96
Copy link

Patco96 commented Aug 5, 2021

Hi! I am using deepxde with the navier stokes equations but I have not been able to set the boundary conditions properly.

I am considering 40 observation points and 100 measurements for each. Up to now, I have been setting the boundary conditions as a list of PointSetBC for each component (2 components). This leads to a really long list of boundary conditions.

Is there a better way to implement this?

@lululxvi
Copy link
Owner

lululxvi commented Aug 9, 2021

I don't quite understand your question. Each variable has a BC, and thus the number BCs is equal to the number of variables. A PointSetBC can have a set of points, not a single point.

@Patco96
Copy link
Author

Patco96 commented Aug 10, 2021

Thank you! Even though you didn't understand the question, you answer was enough to do it 😄

When trying to use PintSetBC I was passing both variables together and thought only one set of points could be passed at a time. Knowing that the number of BCs is equal to the number of variables was the key.

Thanks again!

@Patco96 Patco96 closed this as completed Aug 10, 2021
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

2 participants