9. SFC interface

Prvinding you have available the SFC dlls this wrapper allows you to run SFC directly from python.

Here an example (Win platform only):

import pyfas as fa
sfc = fa.SFC()
case = sfc.default_input()
df = sfc.run(**case)
dp_fr = df[“Frictional pressure gradient (> 0 for dp_f/dx < 0) [N/m3]”]
hol = df[“Liquid volume fraction [fraction]”]

A pandas dataframe with all the input and potential output is returned.