Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CHANGELOG enty and a small comment in the pyFANS test script
Browse files Browse the repository at this point in the history
IshaanDesai committed Oct 31, 2024
1 parent add3b4c commit 5d8d405
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# FANS Changelog

## latest

- Build FANS as a library to be coupled to a macro-scale simulation via preCICE and the Micro Manager https://github.com/DataAnalyticsEngineering/FANS/pull/23

## v0.3.0

- Added Linear thermal and mechanical triclinic material models https://github.com/DataAnalyticsEngineering/FANS/pull/32
10 changes: 3 additions & 7 deletions test/test_pyfans/run_fans_as_library.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
"""
Run FANS as a Python callable library.
"""
import PyFANS as fans
import numpy as np

# from mpi4py import MPI

"""
Run FANS from python. For mechanical simulations, import PyFANS. For thermal simulations, use PyFANSTHERMAL.
To be able to run the code, the python bindings must be compiled with the correct flags to initialize MPI.
Move to a build directory and run cmake with the following flags:
cmake -DUSE_MPI=ON ..
"""

# MPI.Init()

micro = fans.MicroSimulation(1)

0 comments on commit 5d8d405

Please sign in to comment.