Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.05 KB

File metadata and controls

33 lines (20 loc) · 1.05 KB

FEAScript frontPropagation Logo

Front Propagation Examples

This directory contains Node.js examples demonstrating how to use the FEAScript library to solve front propagation problems using the eikonal equation.

Examples

1. Solidification Front Propagation in a 2D Domain (SolidificationFront2D.js)

This example demonstrates solving an eikonal equation in a 2D domain to track the movement of a solidification interface. For detailed information on the model setup, refer to the corresponding tutorial in the FEAScript website.

Running the Node.js Examples

1. Create package.json with ES module support:

echo '{"type":"module"}' > package.json

2. Install dependencies:

npm install feascript mathjs

3. Run the example:

node SolidificationFront2D.js

(for the "Solidification Front Propagation in a 2D Domain" example)