prisms-center / phaseField

PRISMS-PF: An Open-Source Phase-Field Modeling Framework
https://prisms-center.github.io/phaseField/
Other
229 stars 119 forks source link

Improved vtk file reading using rectilinear mesh #254

Closed supriyoumich closed 2 weeks ago

supriyoumich commented 1 month ago

These commits are for external file reading with vtk rectilinear mesh. Currently only unstructured mesh can be read through the input file. However, many problems do not require unstructured mesh. Therefore, rectilinear mesh can reduce the file size and improve the memory usage while reading the files.

If you want to read rectilinear file, include the following line just below "set Load grain structure" in your input parameter file: set vtk file type = RECTILINEAR

If you want to read unstructured mesh file, include the following line just below "set Load grain structure" in your input parameter file: set vtk file type = UNSTRUCTURED The default option for file reading is set as UNSTRUCTURED.

Example rectilinear vtk file named "20_grain_2D_RL.vtk" and parameters.prm file have been uploaded in the applications/graingrowth_dream3d for testing purpose. A pdf file named rectilinear_grid_instructions.pdf explaining how to create a rectilinear grid file from dream3d has been uploaded in the same location applications/graingrowth_dream3d.

david-montiel-t commented 1 month ago

One option would be to have the instructions a READme.md file within the graingrowth_dream3d app. I am still not sure what would make more sense.

landinjm commented 1 month ago

Looks like the merge I made introduced a bunch or errors. I'll retry it a little later this week.