This repository repository modifies the pyMFEM setup to include the Navier miniapp. See the pyMFEM install page for full details
Run the command
git clone https://github.com/mfem/PyMFEM.git
Then setup a virtual environment and install the packages
pip install -r PyMFEM/requirements.txt
Install PyMFEM
python setup.py install --with-parallel
PyMFEM should install with navier_solver
as a module in python that is called by mfem.navier_solver.<function_we_want>
.
Currently only navier_mms.cpp
is converted from MFEM. We have also included navier_2dfocs
which simulates flow over a 2D cylinder (based on navier_3dfocs
). Converting and other input files should be similar.
PyMFEM is licensed under BSD-3. Please refer the developers' web sites for the external libraries