A long time ago, I thought about how to make it possible to define data with a list of assignment statements in a programming language with software that incorporates python such as Salome-meca and FreeCAD, or json. At that time, I registered a script called pp4 on CPAN.
pp4 is a name given to mean perl power for anythingtte.
Just by adopting a file with a list of assignment statements as the format of the data file, there is an advantage that you do not have to consider the file format or write a data reading routine even for data with a structure, but in pp4, the command line and file It has a function to define data from matching from the path name of. With this, it becomes possible to automate the calculation of multiple cases by changing the parameters simply by creating a directory that includes the parameter definition in the path name. Since the related parameters are included in the path name, it is easy to find the directory of the case.
After studying python, I'm thinking about rewriting pp4 with python. You can leave the name as pp4.
Recommended Posts