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

turbulentInflow


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
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions # Tutorial clean functions

# Test with different synthetic inflow models
modelTypes=”reducedDigitalFilter digitalFilter DFSEM”

runApplication blockMesh
restore0Dir

# Compute (serial) and collect data
for modelType in $modelTypes
do
echo
echo “Running with model: $modelType”
(cd 0 && ln -snf “inlet.$modelType” inlet)
(cd constant/boundaryData && ln -snf “inlet.$modelType” inlet)

runApplication -s “$modelType” pimpleFoam
./createGraphs

# Collect data in ‘results’ directory
results=”results/$modelType”
echo “Placing summary in $results”
mkdir -p “$results”
mv -f log.* *.png postProcessing “$results” 2>/dev/null

cleanTimeDirectories

m -rf processor* >/dev/null 2>&1
done

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

実行年月:06/19/2020