Advance V5 nonlinear benchmarks and shell solver

This commit is contained in:
shenw
2026-06-27 16:43:00 +08:00
parent a2a11179d9
commit db68340aaf
84 changed files with 38720 additions and 971 deletions
+14 -4
View File
@@ -1,12 +1,12 @@
@echo off
setlocal
call "%~dp0..\run_example_case.bat" "%~dp0" "strengthReduction" "--static-linear" "strength_reduction_slope_static.inp" "1"
if errorlevel 1 exit /b %errorlevel%
echo FemLite strengthReduction PDF benchmark
set "ROOT_DIR=%~dp0..\.."
set "OUT_DIR=%~dp0results\auto_run"
set "TOOL=%ROOT_DIR%\build-win-gcc-16\strength_reduction_benchmark.exe"
set "PYTHON=%ROOT_DIR%\Python\.venv\Scripts\python.exe"
if not exist "%TOOL%" (
echo Building strength_reduction_benchmark...
@@ -14,10 +14,20 @@ if not exist "%TOOL%" (
if errorlevel 1 exit /b %errorlevel%
)
del /Q "%OUT_DIR%\strength_reduction_history.csv" 2>nul
del /Q "%OUT_DIR%\strength_reduction_path.csv" 2>nul
del /Q "%OUT_DIR%\strength_reduction_cases.csv" 2>nul
del /Q "%OUT_DIR%\strength_reduction_summary.csv" 2>nul
del /Q "%OUT_DIR%\plastic_zone.csv" 2>nul
del /Q "%OUT_DIR%\displacement_probe.csv" 2>nul
del /Q "%OUT_DIR%\history.csv" 2>nul
del /Q "%OUT_DIR%\result_*.vtk" 2>nul
del /Q "%OUT_DIR%\nodes_*.csv" 2>nul
del /Q "%OUT_DIR%\elements_*.csv" 2>nul
del /Q "%OUT_DIR%\reactions_*.csv" 2>nul
"%TOOL%" "%~dp0strength_reduction_slope_static.inp" "%OUT_DIR%"
if exist "%PYTHON%" (
"%PYTHON%" "%~dp0check_strength_reduction_results.py" "%OUT_DIR%"
) else (
python "%~dp0check_strength_reduction_results.py" "%OUT_DIR%"
)
exit /b %errorlevel%