KratosMultiphysics / GiDInterface

The graphical user interface of Kratos for GiD. Featuring CFD, CSM, DEM, PFEM, etc
Other
32 stars 16 forks source link

Spd save as xml #954

Closed jginternational closed 11 months ago

jginternational commented 1 year ago

SPD files are the xml files that define the tree structure. For a given case, we store the properties tree in case.spd which is a compressed xml file.

With this PR, this file will remain uncompressed.

Basic users will be able to open and edit it, for example, to change a value. For example, set the Inlet to 5 m/s

Advanced users will be able to edit it in a batch loop, for example in a python or shell script, create copies of this file, and changing the Inlet of each of this cases.

Developers will be able to open the spd file in order to implement better the writing scripts

Users that needed this features used to change the parameters in the ProjectParameters.json, which was a good way of doin it, but if you load the GiD model and write the input files again, you lost your changes. with this method, the changes remain with the model.