Skip to content

Commit

Permalink
Merge pull request #12 from stackhpc/fix/openfoam-solverinfo
Browse files Browse the repository at this point in the history
Fix openfoam solverInfo error
  • Loading branch information
sd109 authored Sep 27, 2023
2 parents e5ef9c7 + 8984adf commit a861288
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions images/openfoam/scripts/openfoam-init
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ cp -r /opt/hpc/Lid_driven_cavity-3d/${PROBLEM_SIZE}/* /opt/benchmark
ln -sf /opt/benchmark/system/fvSolution.${ITERATIVE_METHOD} /opt/benchmark/system/fvSolution
mv /opt/benchmark/constant/transportProperties /opt/benchmark/constant/physicalProperties
sed -i "s/^numberOfSubdomains.*/numberOfSubdomains ${NUM_PROCS};/g" /opt/benchmark/system/decomposeParDict
sed -i "s/\(#includeFunc solverInfo\)/\/\/ \1/" /opt/benchmark/system/controlDict # comment out solverInfo

# Stage benchmark datafiles
cd /opt/benchmark
Expand Down

0 comments on commit a861288

Please sign in to comment.