Dear Expert,
I have a microstructure input file in *.txt format and its size is 45 MB. MICRESS is giving an error while reading the file:
# Treatment of data?
# (n: none, 1: 1D, f: flip (bottom<->top), t: transpose,
# or p: 'phase to grains transformation')
p
# CellsX for initial microstructure?
545
# CellsZ for initial microstructure?
410
# Number of grains at the beginning?
# (Set to less than 1 for the number of grain to be read from the input data,
# with optionally a minimal size, in cells)
-1
Warning: trailing data ignored in file
initial-s.txt
Can you please let me know how to get rid of this error?
Thanking you,
Yours sincerely,
Krishnendu Mukherjee
Problem in reading microstructure input file
Re: Problem in reading microstructure input file
Hi Krishnendu,
there seem to be more data entries in text file than defined by 545 x 410.
# CellsX for initial microstructure?
545
# CellsZ for initial microstructure?
410
Here the given initial microstructure in your file is meant.
Best,
Ralph
there seem to be more data entries in text file than defined by 545 x 410.
# CellsX for initial microstructure?
545
# CellsZ for initial microstructure?
410
Here the given initial microstructure in your file is meant.
Best,
Ralph
Re: Problem in reading microstructure input file
Dear Ralph,
Thank you very much for your reply. Indeed the initial microstructure file was much larger than 545*410. I found out the exact number of the data entries and MICRESS was able to read the microstructure properly.
Thanks,
Best regards,
Krishnendu
Thank you very much for your reply. Indeed the initial microstructure file was much larger than 545*410. I found out the exact number of the data entries and MICRESS was able to read the microstructure properly.
Thanks,
Best regards,
Krishnendu