Commit 9750827
frontPropagationScript solver (#29)
* Added initial file for frontPropagationScript
* Refactor Heat Conduction example: add JavaScript implementation, update README instructions, and enhance .gitignore
* - Enhanced frontPropagationScript.js with a new function to assemble the front propagation matrix, including detailed JSDoc comments.
- Updated version number in package.json and src/index.js to 0.1.2.
- Added logging for FEAScript version in HeatConduction1DWall.js.
- Updated peer dependency for plotly.js to version 2.35.3.
- Removed unnecessary dependencies from package-lock.json and package.json.
* Reorganize README sections for clarity: update installation options and example usage
* Update README for improved clarity: reorganize installation options and example usage sections
* Remove HTML examples and add Node.js implementations for heat conduction simulations
* Add front propagation matrix assembly to FEAScriptModel
* Enhance front propagation matrix assembly and initiate Newton-Raphson method
* Update parameters names and improve convergence logic in Newton-Raphson method
* Add Euclidean norm function and update Newton-Raphson method to use it for error calculation
* Update README files to clarify Node.js environment suitability for heat conduction examples
* Integrate Newton-Raphson method into front propagation solver
* Refactor Newton-Raphson method to accept matrix assembly function and context, enhancing front propagation solver with eikonal viscous term parameterization
* Add a seperate linear system solver function (linearSystemScript.js). Refactor linearSystemScript.js and FEAScript.js to utilize it
* Include error logging for unknown linear solver
* Refactor Jacobi and Newton-Raphson methods to standardize solution vector naming
* Fix import path for logging utilities in Newton-Raphson script
* Add todo statements in frontPropagationScript.js
* Improve Readability and Maintainability of meshGenerationScript.js (#28)
* Redefining the mesh script as a Class
* Deleting meshGeneration class and replacing it to the Mesh1D and Mesh2D classes
* Replace meshGeneration class with the Mesh1D and Mesh2D classes
* Fix non-capitalized class names
* Rename variables for consistency
* Create a new file for generic boundary condutions (genericBoundaryConditionsScript.js). Possible need to consolidate with thermalBoundaryConditionsScript.js in the future
* Add residual and Jacobian terms for the eikonal equation
* Refactor Jacobian determinant calculation
* Update boundary condition handling to use 'constantValue' instead of 'constantTemp'
* Refactor Newton-Raphson implementation and improve debug logging in boundary conditions
* Enhance eikonal equation solver with initial solution handling and improve logging in boundary condition applications
* Refactor eikonal equation parameters and update Newton-Raphson convergence tolerance; add helper function for system size calculation
* - Reduce the number of incremental steps for the eikonal term activation in FEAScript.js from 10 to 5
- Reorganize the return statement in meshGenerationScript.js since it was causing an error in the case of linear elements
- Update logging messages in newtonRaphsonScript.js
- Increase the base viscous term in frontPropagationScript.js from 1e-3 to 1e-2 to prevent stability issues
---------
Co-authored-by: ferrari212 <felipe.ferrari.212@gmail.com>1 parent 767da8a commit 9750827
File tree
35 files changed
+1748
-1342
lines changed- dist
- examples/solidHeatTransferScript
- HeatConduction1DWall
- HeatConduction2DFin
- src
- mesh
- methods
- solvers
- utilities
- visualization
35 files changed
+1748
-1342
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
14 | 42 | | |
15 | 43 | | |
16 | 44 | | |
| |||
20 | 48 | | |
21 | 49 | | |
22 | 50 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 51 | + | |
28 | 52 | | |
29 | 53 | | |
30 | | - | |
| 54 | + | |
31 | 55 | | |
32 | 56 | | |
33 | 57 | | |
34 | 58 | | |
35 | 59 | | |
36 | 60 | | |
37 | | - | |
| 61 | + | |
38 | 62 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 63 | + | |
42 | 64 | | |
| 65 | + | |
43 | 66 | | |
44 | | - | |
| 67 | + | |
| 68 | + | |
45 | 69 | | |
46 | 70 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
57 | 75 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 76 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 77 | | |
66 | 78 | | |
67 | 79 | | |
68 | 80 | | |
69 | | - | |
70 | 81 | | |
71 | 82 | | |
72 | 83 | | |
| |||
79 | 90 | | |
80 | 91 | | |
81 | 92 | | |
| 93 | + | |
82 | 94 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | 95 | | |
94 | 96 | | |
95 | | - | |
96 | | - | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 90 deletions
This file was deleted.
Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments