anisotropy/temp/tools/changeInitial.sh

8 lines
240 B
Bash
Executable File

#!/usr/bin/env bash
for n in {0..3}; do
foamDictionary "processor${n}/0/U" -entry boundaryField.inlet.type -set pressureInletVelocity
foamDictionary "processor${n}/0/U" -entry boundaryField.inlet.value -set 'uniform (0 0 0)'
done