OpenFLUID.addVariablesExportAsCSV | R Documentation |
Adds export of simulation variables as CSV files for a given units class
OpenFLUID.addVariablesExportAsCSV(ofblob, unitclass, unitid = NULL, varname = "*", precision = 0)
ofblob |
the simulation definition blob |
unitclass |
the units class to add for simulation variables export |
unitid |
the unit ID (optional) |
varname |
the name of the variable(s) (optional) |
precision |
the number of digits of the variables (optional) |
OpenFLUID.loadResult
## Not run: OpenFLUID.addVariablesExportAsCSV(ofsim,"TU") OpenFLUID.addVariablesExportAsCSV(ofsim,"TU",1,"var1",precision=14) OpenFLUID.addVariablesExportAsCSV(ofsim,"TU",2,"var1;var2") OpenFLUID.addVariablesExportAsCSV(ofsim,"TU",2,c("var1","var2")) OpenFLUID.addVariablesExportAsCSV(ofsim,"TU",c(3,5),c("var1","var2")) OpenFLUID.addVariablesExportAsCSV(ofsim,"TU",1,"*") ## End(Not run)