Page 1 of 1

Problem in reading microstructure input file

Posted: Fri Apr 05, 2019 10:37 am
by kmukherj
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

Re: Problem in reading microstructure input file

Posted: Fri Apr 05, 2019 11:54 am
by ralph
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

Re: Problem in reading microstructure input file

Posted: Wed Apr 17, 2019 7:31 am
by kmukherj
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