Hi all,
I was trying to import a microstructure to micress in vtk format. I want Micress to read the phase information from the file. Following is the section of the input file:
# Grain input
# ===========
# Type of grain positioning?
# Options: deterministic random [deterministic_infile] from_file
from_file
# Filename of initial grain/phase structure [VTK_identifier (default=korn)] ?
Gamma_Alpha_PARA_1.vtk phas
Following is the error that I'm getting:
# Reading (uncompressing) the VTK data file
STOP in routine 'initFeldVonVTK'
# Warning: VTK file has point data information, please supply cell data information
Press any key to exit
I'm attaching the vtk file I tried to import. (The forum doesn't allow me to upload a vtk file. So I have changed the extension to txt.) Please help me in this regard.
Thanks,
Deepu
Microstructure from file: VTK input
Microstructure from file: VTK input
- Attachments
-
- Gamma_Alpha_PARA_1.txt
- (139.29 KiB) Downloaded 357 times
Re: Microstructure from file: VTK input
Dear Deepu,
The solution is a bit tricky but very simple: You just replace the keyword "POINT_DATA" in the .vtk file by "CELL_DATA" and increase the dimensions by one (to match the amount of data) using a text editor.
The reason why this is necessary is a bit more complicated and explained here.
Bernd
The solution is a bit tricky but very simple: You just replace the keyword "POINT_DATA" in the .vtk file by "CELL_DATA" and increase the dimensions by one (to match the amount of data) using a text editor.
The reason why this is necessary is a bit more complicated and explained here.
Bernd