2016-04-25 00:08:36 +05:30
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
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 \
|
|
|
|
--scalar microstructure \
|
|
|
|
--inplace \
|
2016-04-25 12:10:36 +05:30
|
|
|
--vtk ${geom%.*}.vtk
|
|
|
|
rm ${geom%.*}.vtk
|
2016-04-25 00:08:36 +05:30
|
|
|
done
|