-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated make_viz_img.sh to work again
- Loading branch information
1 parent
9c249bd
commit 0551229
Showing
4 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
#!/bin/bash | ||
# | ||
restart_files=`ls viz_data/*fluid*.pvtu` | ||
for file in ${restart_files[@]}; do | ||
export pvpath="/Applications/ParaView-5.11.0.app/Contents/bin" | ||
cd viz_data | ||
viz_files=`ls *fluid*.pvtu` | ||
cd .. | ||
directory="`pwd`/viz_data" | ||
|
||
for file in ${viz_files[@]}; do | ||
echo "making viz images from ${file}" | ||
#./run-paraview.sh viz_data/${file} > /dev/null 2>&1 | ||
./run-paraview.sh ${file} | ||
dump=${file%.pvtu} | ||
dump_index=`echo $dump | cut -d - -f 3` | ||
echo "Running paraview in ${directory} on dump $dump_index" | ||
${pvpath}/pvpython paraview-driver.py -f $directory/$file -p $directory -d $dump_index -i viz_config.py | ||
done |
This file was deleted.
Oops, something went wrong.