add units for PINN forward examples #15
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes multiple changes across various files to improve the documentation and functionality of the project. The most significant changes involve the removal of markdown cells from several Jupyter notebooks, the addition of unit conversions in Python scripts, and the inclusion of new unit examples in the documentation.
Documentation Updates:
docs/examples-pinn-forward/Beltrami_flow.ipynb
: Removed markdown cells explaining the three-dimensional Beltrami Flow problem.docs/examples-pinn-forward/Euler_beam.ipynb
: Removed markdown cells explaining the Euler beam problem setup.docs/examples-pinn-forward/Helmholtz_Dirichlet_2d.ipynb
: Removed markdown cells explaining the Helmholtz equation over a 2D square domain.docs/examples-pinn-forward/diffusion_1d.ipynb
: Removed markdown cells explaining the diffusion equation.Code Enhancements:
docs/examples-pinn-forward/Beltrami_flow.py
: Added unit conversions for space, speed, time, and pressure. Updated the PDE and initial/boundary conditions functions to use these units. [1] [2] [3] [4] [5]docs/examples-pinn-forward/Euler_beam.py
: Added unit conversions for displacement, length, modulus of elasticity, moment of inertia, and load. Updated the PDE and boundary conditions functions to use these units.Minor Changes:
docs/examples-pinn-forward/Klein_Gordon.ipynb
: Added an empty code cell.docs/examples-pinn-forward/Kovasznay_flow.ipynb
: Added an empty code cell.docs/examples-pinn-forward/Kovasznay_flow.py
: Added a blank line after imports and removed commented-out return statement in thepde
function. [1] [2]docs/examples-pinn-forward/elasticity_plate.py
: Fixed formatting issues and removed commented-out code in thepde
function. [1] [2] [3] [4]Documentation Structure:
docs/unit-examples-forward.rst
: Added new unit examples for Beltrami flow, diffusion 1D, Euler beam, and Helmholtz Dirichlet 2D to the documentation.