Skip to content

Martin-Lacroix/FSPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This code is intended to be used as a Python package providing fluid-structure interaction tools for partitioned coupling between the solid solver Metafor and the fluid solver PFEM3D. The doc folder contains a brief documentation written in markdown. The examples folder contains some working 2D and 3D test-cases.

Installation

First, make sure to work with Python 3 and the scientific packages. Then, add the main repository folder to your Python path environment variables. Another possibility is to add the path to FSPC in your Python script. It is important to note that FSPC assumes the paths to the external solvers Metafor and PFEM3D are available in your Python environment.

export PYTHONPATH=path-to-fspc
from sys import path
path.append('path-to-fspc')
import FSPC