anisotropy/temp/tools/changeInitial.sh

8 lines
240 B
Bash
Raw Normal View History

2021-02-26 13:32:59 +05:00
#!/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