Warning: Undefined array key 1 in /home/xs256437/ocse2.com/public_html/openfoam.ocse2.com/wp-content/plugins/elementor-pro/modules/dynamic-tags/pods/tags/pods-url.php on line 40

Warning: Undefined array key 2 in /home/xs256437/ocse2.com/public_html/openfoam.ocse2.com/wp-content/plugins/elementor-pro/modules/dynamic-tags/pods/tags/pods-url.php on line 40

Warning: Trying to access array offset on null in /home/xs256437/ocse2.com/public_html/openfoam.ocse2.com/wp-content/plugins/elementor-pro/modules/dynamic-tags/pods/tags/pods-url.php on line 50

Warning: Undefined array key 1 in /home/xs256437/ocse2.com/public_html/openfoam.ocse2.com/wp-content/plugins/elementor-pro/modules/dynamic-tags/pods/tags/pods-url.php on line 40

Warning: Undefined array key 2 in /home/xs256437/ocse2.com/public_html/openfoam.ocse2.com/wp-content/plugins/elementor-pro/modules/dynamic-tags/pods/tags/pods-url.php on line 40

Warning: Trying to access array offset on null in /home/xs256437/ocse2.com/public_html/openfoam.ocse2.com/wp-content/plugins/elementor-pro/modules/dynamic-tags/pods/tags/pods-url.php on line 50

biconic25-55Run35


Warning: Undefined array key 1 in /home/xs256437/ocse2.com/public_html/openfoam.ocse2.com/wp-content/plugins/elementor-pro/modules/dynamic-tags/pods/tags/pods-url.php on line 40

Warning: Undefined array key 2 in /home/xs256437/ocse2.com/public_html/openfoam.ocse2.com/wp-content/plugins/elementor-pro/modules/dynamic-tags/pods/tags/pods-url.php on line 40

Warning: Trying to access array offset on null in /home/xs256437/ocse2.com/public_html/openfoam.ocse2.com/wp-content/plugins/elementor-pro/modules/dynamic-tags/pods/tags/pods-url.php on line 50

#!/bin/sh
cd “${0%/*}” || exit 1 # Run from this directory

# Source tutorial run functions
. “$WM_PROJECT_DIR/bin/tools/RunFunctions”

runApplication blockMesh

runApplication datToFoam constant/grid256.dat

points=”constant/polyMesh/points”
pointsTmp=”constant/points.tmp”
sed -i -e ‘s/binary/ascii/’ -ne ‘1,17p’ $points
cat $pointsTmp >> $points
rm $pointsTmp

runApplication collapseEdges -overwrite

echo “Changing patch type to wedge type in boundary file”
sed -i ‘/wedge/,/nFaces/{s/patch/wedge/}’ constant/polyMesh/boundary

runApplication “$(getApplication)”

#——————————————————————————

実行年月:08/01/2018