MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Recipe for PCSAFT Surface Tension Application. More...
Public Member Functions | |
def | task (self, fw_spec) |
def | generate_inputfile (self) |
Generate a input file. | |
def | analyse_output (self) |
analysing the output of the file. More... | |
Recipe for PCSAFT Surface Tension Application.
This FireTask controls the execution of the detailed model of the Surface Tension model. The detailed model is a density functional theory implementation based on PC-SAFT. A detailed description of this model can be found in Deliverable 1.3 on the MoDeNa website.
In order to start the detailed model, the input values for the model are first written to the file "in.txt". The detailed model code picks them up from this file and performs the according calculation. Once it is done, the output value is written to the file "out.txt". This FireTask then reads in the calculated surface tension from "out.txt" and inserts this value into the database.
Definition at line 148 of file SurfaceTension.py.
def SurfaceTension.SurfaceTension.SurfaceTensionExactSim.analyse_output | ( | self | ) |
analysing the output of the file.
consider adding check for empty file
Definition at line 202 of file SurfaceTension.py.