diff --git a/src/ansys/mapdl/core/mapdl_extended.py b/src/ansys/mapdl/core/mapdl_extended.py index 94f2808fd4..a12ba23392 100644 --- a/src/ansys/mapdl/core/mapdl_extended.py +++ b/src/ansys/mapdl/core/mapdl_extended.py @@ -2314,7 +2314,7 @@ def load_array(self, name, array): np.savetxt( filename, array, - delimiter=",", + delimiter="", header="File generated by PyMAPDL:load_array", fmt="%24.18e", ) @@ -2329,7 +2329,7 @@ def load_array(self, name, array): n2 = imax n3 = kmax self.vread(name, filename, n1=n1, n2=n2, n3=n3, label=label, nskip=1) - fmt = "(" + ",',',".join(["E24.18" for i in range(jmax)]) + ")" + fmt = f"({jmax}E24.18)" logger.info("Using *VREAD with format %s in %s", fmt, filename) self.run(fmt)