Tags: FEAScript/FEAScript-core
Tags
Add Solidification Front 2D example (#30) * 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 * Add Solidification Front 2D example * Fix markdown link formatting in SolidificationFront2D README --------- Co-authored-by: ferrari212 <felipe.ferrari.212@gmail.com>