Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

FEAScript creepingFlow Logo

Creeping Flow Examples

This directory contains Node.js examples demonstrating how to use the FEAScript library to solve steady creeping flow (Stokes) problems.

Examples

1. Creeping Flow on a Lid-Driven 2D Cavity (lidDrivenCavity2DCreepingFlow.js)

This example solves a 2D lid-driven cavity flow using the creeping flow solver with Taylor-Hood (Q2-Q1) elements. For detailed information on the model setup, refer to the corresponding tutorial on 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

3. Run the example:

node lidDrivenCavity2DCreepingFlow.js

(for the "Creeping Flow on a Lid-Driven 2D Cavity" example)