You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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>
Copy file name to clipboardExpand all lines: README.md
+43-43Lines changed: 43 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,43 @@
2
2
3
3
# FEAScript-core
4
4
5
-
[FEAScript](https://feascript.com/) is a lightweight finite element simulation library built in JavaScript. It empowers users to create and execute browser-based simulations for physics and engineering applications. This is the core library of FEAScript.
5
+
[FEAScript](https://feascript.com/) is a lightweight finite element simulation library built in JavaScript. It empowers users to create and execute simulations for physics and engineering applications in both browser-based and server-side environments. This is the core library of FEAScript.
6
6
7
7
> 🚧 **FEAScript is currently under heavy development.** Functionality and interfaces may change rapidly as new features and enhancements are introduced. 🚧
8
8
9
9
## Installation
10
10
11
-
FEAScript is entirely implemented in pure JavaScript and requires only a simple HTML page to operate. All simulations are executed locally in your browser, without the need for any cloud services. You can use FEAScript in your projects through one of the following methods:
11
+
FEAScript is entirely implemented in pure JavaScript and can run in two environments:
12
12
13
-
### Option 1: NPM Installation
13
+
1.**In the browser** with a simple HTML page, where all simulations are executed locally without any installations or using any cloud services
14
+
2.**Via Node.js** with plain JavaScript files, for server-side simulations
15
+
16
+
### Option 1: In the Browser
17
+
18
+
You can use FEAScript in browser environments in two ways:
**Important:** FEAScript is built as an ES module. If you're starting a new project, make sure to configure it to use ES modules by running:
54
+
**Important:** FEAScript is built as an ES module. If you're starting a completely new project (outside this repository), make sure to configure it to use ES modules by (when running examples from within this repository, this step is not needed as the root package.json already has the proper configuration):
31
55
32
56
```bash
33
57
# Create package.json with type=module for ES modules support
34
58
echo'{"type":"module"}'> package.json
35
59
```
36
60
37
-
If you already have a package.json file, manually add `"type": "module"` to enable ES modules in your project.
61
+
Explore various Node.js examples and use cases [here](https://github.com/FEAScript/FEAScript-core/tree/main/examples).
Explore various examples and use cases of FEAScript [here](https://github.com/FEAScript/FEAScript-core/tree/main/examples).
96
-
97
97
## Contribute
98
98
99
99
We warmly welcome contributors to help expand and refine FEAScript. Please see the [CONTRIBUTING.md](./CONTRIBUTING.md) file for detailed guidance on how to contribute.
0 commit comments