Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

pyFANS

pyFANS is a Python-wrapped library to control FANS via the Micro Manager. The main idea is to create a large number of FANS simulations, and couple them to one macro-scale simulation typically in Abaqus, CalculiX, etc. The library follows the API of the Micro Manager.

Dependencies

Building

To build FANS as a Micro Manager compatible Python library, set the CMake variable FANS_LIB to ON. The CMake command to compile FANS would then be cmake .. -DFANS_LIBRARY_FOR_MICRO_MANAGER=ON.

Usage

pyFANS is intended to be used with the Micro Manager and preCICE for two-scale coupled simulations. However, standalone use of the library is not restricted per se. Look at the test_pyfans example to see how the library is used in a Python script.