MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
run.py File Reference

Go to the source code of this file.

Namespaces

 FoamConstruction.run
 Python script, which organizes creation of the foam.
 

Functions

def FoamConstruction.run.porOpt (vx)
 Objective function. More...
 
def FoamConstruction.run.porfsOpt (x)
 Objective function. More...
 
def FoamConstruction.run.main ()
 Main function. More...
 

Variables

int FoamConstruction.run.dx = 1
 size of RVE
 
int FoamConstruction.run.dedge = 6
 initial guess for strut size
 
 FoamConstruction.run.data = json.load(data_file)
 Read input file. More...
 
string FoamConstruction.run.filenameBox = filename+"Box"
 foam in periodic box, binary format
 
string FoamConstruction.run.filenameBoxAscii = filenameBox+"-ascii"
 foam in periodic box, ascii format
 
string FoamConstruction.run.filenameBoxStruts = filenameBox+"Struts"
 foam in periodic box with struts
 
string FoamConstruction.run.filenameDescriptors = "descriptors.out"
 foam porosity and strut content
 
string FoamConstruction.run.filenameParameters = "parameters.out"
 current value of strut size
 
 FoamConstruction.run.term = Terminal()
 Creates terminal for colour output.