2016-05-11 14:31:39 +05:30
|
|
|
#!/usr/bin/env bash
|
2016-04-25 00:08:36 +05:30
|
|
|
|
|
|
|
for geom in "$@"
|
|
|
|
do
|
2016-04-25 12:10:36 +05:30
|
|
|
geom_toTable \
|
|
|
|
< $geom \
|
|
|
|
| \
|
|
|
|
vtk_rectilinearGrid > ${geom%.*}.vtk
|
2016-04-25 00:08:36 +05:30
|
|
|
|
|
|
|
geom_toTable \
|
|
|
|
< $geom \
|
|
|
|
| \
|
|
|
|
vtk_addRectilinearGridData \
|
2016-09-27 02:02:39 +05:30
|
|
|
--data microstructure \
|
2016-04-25 00:08:36 +05:30
|
|
|
--inplace \
|
2016-04-25 12:10:36 +05:30
|
|
|
--vtk ${geom%.*}.vtk
|
|
|
|
rm ${geom%.*}.vtk
|
2016-04-25 00:08:36 +05:30
|
|
|
done
|