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

Example of solving forward problems with hard boundary constraints. #3

Closed
wants to merge 3 commits into from

Conversation

divijghose
Copy link
Member

  1. main_poissons2d_hard.py is the main file using the model from model_hard.py
  2. The ansatz function used will depend on the solution. The ansatz function has to be changed in apply_hard_boundary_constraints accordingly.

Solution of the 2D Poisson problem with hard constraints

Exact Solution

exact_solution

Solution predicted by FastVPINNs after 50K epochs

prediction_50000

Point-wise error in solution

error_50000

1. `main_poissons2d_hard.py` is the main file using the model from `model_hard`.py
2. The ansatz function used will depend on the solution. The ansatz function has to be changed in `apply_hard_boundary_constraints` accordingly.
@thivinanandh
Copy link
Collaborator

Github has issues with setting up ubuntu-22.04 on github actions. So updating the yaml file to reflect runs-on 20.04

issue link: https://github.com/orgs/community/discussions/120966

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

Successfully merging this pull request may close these issues.

2 participants