Skip to content

Commit

Permalink
fix openfoam error 'Cannot find functionObject configuration file sol…
Browse files Browse the repository at this point in the history
…verInfo'
  • Loading branch information
sjpb committed Sep 26, 2023
1 parent e5ef9c7 commit 8984adf
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 8984adf

Please sign in to comment.