Complete V5 acceptance milestone

This commit is contained in:
shenw
2026-06-26 12:54:40 +08:00
parent 26639d8dc2
commit a01a4fda24
105 changed files with 8694 additions and 8922 deletions
+23 -1
View File
@@ -1,3 +1,25 @@
@echo off
call "%~dp0..\run_example_case.bat" "%~dp0" "ball_adhesion_decohesion" "--run" "ball_adhesion_contact_smoke.inp" "10"
rem FemLite ball adhesion smoke and cohesive decohesion benchmark runner.
setlocal
set "CASE_DIR=%~dp0"
for %%I in ("%CASE_DIR%..\..") do set "ROOT_DIR=%%~fI"
set "BUILD_DIR=%ROOT_DIR%\build-win-gcc-16"
call "%CASE_DIR%..\run_example_case.bat" "%CASE_DIR%" "ball_adhesion_decohesion" "--run" "ball_adhesion_contact_smoke.inp" "10"
if errorlevel 1 exit /b %errorlevel%
set "TOOL=%BUILD_DIR%\ball_adhesion_cohesive_benchmark.exe"
set "INP=%CASE_DIR%ball_adhesion_cohesive_benchmark.inp"
set "OUT_DIR=%CASE_DIR%results\cohesive"
if not exist "%OUT_DIR%" mkdir "%OUT_DIR%"
del /Q "%OUT_DIR%\adhesion_*.csv" 2>nul
del /Q "%OUT_DIR%\decohesion_profile.csv" 2>nul
if not exist "%TOOL%" (
echo Building ball_adhesion_cohesive_benchmark...
cmake --build "%BUILD_DIR%" --config Release --target ball_adhesion_cohesive_benchmark
if errorlevel 1 exit /b %errorlevel%
)
"%TOOL%" "%INP%" "%OUT_DIR%"
exit /b %errorlevel%