diff --git a/CMakeLists.txt b/CMakeLists.txt index 5454acb..2337d6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -443,6 +443,16 @@ if(Python3_Interpreter_FOUND) WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" ) + add_test(NAME examples_layout + COMMAND "${Python3_EXECUTABLE}" + "${CMAKE_SOURCE_DIR}/tests/scripts/check_examples_layout.py" + "${CMAKE_SOURCE_DIR}" + ) + set_tests_properties(examples_layout PROPERTIES + WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" + LABELS "example_smoke" + ) + add_test(NAME perf_contact_pair_omp_consistency COMMAND "${Python3_EXECUTABLE}" "${CMAKE_SOURCE_DIR}/tests/scripts/check_perf_contact_pair_omp.py" @@ -611,6 +621,85 @@ if(Python3_Interpreter_FOUND) WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" LABELS "example_smoke" ) + + add_test(NAME example_elliptic_membrane_smoke + COMMAND "${Python3_EXECUTABLE}" + "${CMAKE_SOURCE_DIR}/tests/scripts/run_example_smoke.py" + "${CMAKE_SOURCE_DIR}" + "$" + "${CMAKE_BINARY_DIR}" + elliptic_membrane + examples/elliptic_membrane/elliptic_membrane_s4_static.inp + static-linear + ) + set_tests_properties(example_elliptic_membrane_smoke PROPERTIES + WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" + LABELS "example_smoke" + ) + + add_test(NAME example_membrane_uniaxial_smoke + COMMAND "${Python3_EXECUTABLE}" + "${CMAKE_SOURCE_DIR}/tests/scripts/run_example_smoke.py" + "${CMAKE_SOURCE_DIR}" + "$" + "${CMAKE_BINARY_DIR}" + membrane_uniaxial + examples/membrane_uniaxial_stretching/membrane_uniaxial_s4_static.inp + static-linear + ) + set_tests_properties(example_membrane_uniaxial_smoke PROPERTIES + WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" + LABELS "example_smoke" + ) + + add_test(NAME example_shell_solid_connection_smoke + COMMAND "${Python3_EXECUTABLE}" + "${CMAKE_SOURCE_DIR}/tests/scripts/run_example_smoke.py" + "${CMAKE_SOURCE_DIR}" + "$" + "${CMAKE_BINARY_DIR}" + shell_solid_connection + examples/shell_solid_connection/shell_solid_connection_static.inp + static-linear + ) + set_tests_properties(example_shell_solid_connection_smoke PROPERTIES + WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" + LABELS "example_smoke" + ) + + add_test(NAME example_strength_reduction_smoke + COMMAND "${Python3_EXECUTABLE}" + "${CMAKE_SOURCE_DIR}/tests/scripts/run_example_smoke.py" + "${CMAKE_SOURCE_DIR}" + "$" + "${CMAKE_BINARY_DIR}" + strength_reduction + examples/strengthReduction/strength_reduction_slope_static.inp + static-linear + ) + set_tests_properties(example_strength_reduction_smoke PROPERTIES + WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" + LABELS "example_smoke" + ) + + add_test(NAME example_golf_ball_impact_smoke + COMMAND "${Python3_EXECUTABLE}" + "${CMAKE_SOURCE_DIR}/tests/scripts/run_example_smoke.py" + "${CMAKE_SOURCE_DIR}" + "$" + "${CMAKE_BINARY_DIR}" + golf_ball_impact + examples/golfBallImpact/golf_ball_impact_s4_short.inp + run + --dynamic-steps 200 + --output-interval 200 + --require-contact + ) + set_tests_properties(example_golf_ball_impact_smoke PROPERTIES + WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" + LABELS "example_smoke" + TIMEOUT 60 + ) endif() add_test(NAME implicit_inp COMMAND test_implicit_inp) diff --git a/docs/06_test_and_verification_plan.md b/docs/06_test_and_verification_plan.md index ec86e09..a97f144 100644 --- a/docs/06_test_and_verification_plan.md +++ b/docs/06_test_and_verification_plan.md @@ -337,7 +337,8 @@ SPH总力映射测试 relative tolerance 1.0e-10 to 1.0e-8 - 法向接触功、摩擦功、stick/slip 计数、mortar 积分点历史槽、正则化摩擦切线和累计滑移 sanity check。 - V4.2 新增示例:rigid plane indentation、two blocks compression、shell rigid plane contact;每个示例应可通过目录内 `run_case.bat` 自动运行和检查结果。 - V4.3 新增示例:contact block sliding friction;检查正则化参数、累计滑移、切向力、摩擦功非负和 VTK 输出。 -- 已接入 `example_smoke` CTest 分组:shell patch S3/S4 静力 smoke、Scordelis-Lo S3/S4 静力 smoke、clamped square plate pressure pulse S4 短步数动力 smoke、rigid sphere impact plate S3/S4 短步数动力 smoke、contact block sliding friction 短步数动力 smoke;rigid impact smoke 需要 final contact CSV 中出现 active contact,sliding friction smoke 需要 final contact CSV 中出现正摩擦耗散,Scordelis-Lo smoke 需要自由角竖向位移为负且超过最小量级。 +- V4.8 补齐文档型示例目录的可运行输入和 `run_case.bat`,新增 `examples_layout` CTest 检查“有文档无 `.inp`”和“有 `.inp` 无双击脚本”的回退。 +- 已接入 `example_smoke` CTest 分组:shell patch S3/S4 静力 smoke、Scordelis-Lo S3/S4 静力 smoke、clamped square plate pressure pulse S4 短步数动力 smoke、rigid sphere impact plate S3/S4 短步数动力 smoke、contact block sliding friction 短步数动力 smoke、elliptic membrane 静力 smoke、membrane uniaxial 静力 smoke、shell-solid connection 静力 smoke、strength reduction slope 静力 smoke 和 golf ball impact 短步数动力 smoke;rigid/golf impact smoke 需要 final contact CSV 中出现 active contact,sliding friction smoke 需要 final contact CSV 中出现正摩擦耗散,Scordelis-Lo smoke 需要自由角竖向位移为负且超过最小量级。 - rigid sphere impact plate 的长步数结果保留为示例复现实验。 ## 11. 输入解析测试 @@ -688,7 +689,8 @@ V4.4 contact pair 性能 smoke: - 保留 Windows GCC、WSL gfortran 和 Intel Fortran 兼容性检查记录。 - 0.4.2 本地发布记录:Windows GCC 16 CTest 33/33,WSL Ubuntu + gfortran 13.3 CTest 33/33,Windows Intel oneAPI `ifx` 2026.0 + MSVC `cl` 19.44 CTest 33/33;Intel/NMake `/machine:x64` ifx warning 已清理。 - 0.4.3 当前 Windows GCC 16 回归记录:CTest 34/34。 -- V4.4 开发态新增 `contact_omp1` / `contact_omp4`,用 `OMP_NUM_THREADS=1/4` 重跑 contact 模块回归;新增 `perf_contact_pair_smoke` 和 `perf_contact_pair_medium` 覆盖 BVH contact pair 性能 smoke;新增 `perf_contact_pair_omp_consistency` 对比性能 smoke 在 OpenMP 1/4 线程下的非计时统计;contact CSV 已覆盖 summary 和逐 pair 统计;BVH force 权重准备统计改为 OpenMP reduction 后由 contact 定向回归覆盖;BVH force 并行装配已将法向/mortar/接触面积准备移出全局提交临界区,BVH tangent 并行装配已将 mortar/切线块准备移出 CSR 临界区;`contact` 覆盖跨调用候选缓存 force/tangent 命中和失效条件;Python 可用时 Windows GCC 16 CTest 当前为 39 项。 +- V4.4 开发态新增 `contact_omp1` / `contact_omp4`,用 `OMP_NUM_THREADS=1/4` 重跑 contact 模块回归;新增 `perf_contact_pair_smoke` 和 `perf_contact_pair_medium` 覆盖 BVH contact pair 性能 smoke;新增 `perf_contact_pair_omp_consistency` 对比性能 smoke 在 OpenMP 1/4 线程下的非计时统计;contact CSV 已覆盖 summary 和逐 pair 统计;BVH force 权重准备统计改为 OpenMP reduction 后由 contact 定向回归覆盖;BVH force 并行装配已将法向/mortar/接触面积准备移出全局提交临界区,BVH tangent 并行装配已将 mortar/切线块准备移出 CSR 临界区;`contact` 覆盖跨调用候选缓存 force/tangent 命中和失效条件。 +- V4.8 开发态新增 `examples_layout` 和五个文档派生 `example_smoke`,Python 可用时 Windows GCC 16 CTest 当前为 47 项。 ## 21. 发布阻断条件 diff --git a/docs/07_user_manual.md b/docs/07_user_manual.md index b8cd6de..8194218 100644 --- a/docs/07_user_manual.md +++ b/docs/07_user_manual.md @@ -258,12 +258,17 @@ Fortran95 API 可通过 `fem_get_convergence_status` 查询最近一次求解的 | `examples/shell_patch_test` | 壳单元 patch test | | `examples/clamped_square_plate_pressure_pulse` | 固支方板压力脉冲 | | `examples/rigid_sphere_impact_plate` | 刚球冲击板壳接触算例 | +| `examples/elliptic_membrane` | NAFEMS LE1 椭圆膜缩减静力案例 | +| `examples/membrane_uniaxial_stretching` | 文档参数派生的膜单轴拉伸静力案例 | +| `examples/shell_solid_connection` | 共享节点壳-实体接口静力案例 | +| `examples/strengthReduction` | 强度折减文档派生的线弹性坡体案例 | +| `examples/golfBallImpact` | 高尔夫冲击文档派生的壳接触动力缩减案例 | | `examples/contact_rigid_plane_indentation` | 刚性平面压入接触算例 | | `examples/contact_two_blocks_compression` | 两实体块面-面压缩接触算例 | | `examples/shell_rigid_plane_contact` | S4 壳-刚性平面接触算例 | | `examples/contact_block_sliding` | 两实体块正则化摩擦滑移接触算例 | -每个示例目录中的 `README.md` 给出几何、材料、边界、生成脚本和运行命令。新增基准测试应放在 `examples/` 下,并为每个基准案例建立独立文件夹;旧目录可为兼容保留,但新的 CTest 和文档应优先指向独立目录。第四版新增接触示例提供 `run_case.bat`,可在 Windows 下双击自动运行并检查结果。 +每个示例目录中的 `README.md` 给出几何、材料、边界、生成脚本和运行命令。新增基准测试应放在 `examples/` 下,并为每个基准案例建立独立文件夹;旧目录可为兼容保留,但新的 CTest 和文档应优先指向独立目录。包含 `.inp` 的示例目录应提供 `run_case.bat`,可在 Windows 下双击自动运行,结果默认写入该目录的 `results\auto_run`。 ## 11. 测试 diff --git a/docs/08_developer_manual.md b/docs/08_developer_manual.md index 46bdeb1..c49fed5 100644 --- a/docs/08_developer_manual.md +++ b/docs/08_developer_manual.md @@ -368,6 +368,7 @@ python tests\scripts\check_source_size.py . --warn-file-lines 1500 --max-file-li - Windows 双击自动运行脚本可命名为 `run_case.bat`;脚本应把结果写入示例目录下的 `results` 子目录,并支持自动检查失败码。 新增基准测试案例应放在 `examples/` 下,并为每个案例建立独立文件夹;旧兼容目录不作为新测试入口。 +V4.8 起,`examples_layout` CTest 会检查 `examples/` 一级目录:有文档的目录必须包含至少一个 `.inp`,有 `.inp` 的目录必须包含 `run_case.bat`。 示例目录不应提交: @@ -389,7 +390,7 @@ python tests\scripts\check_source_size.py . --warn-file-lines 1500 --max-file-li 3. 运行 WSL gfortran build 和 CTest。 4. 运行 Windows Intel ifx build 和 CTest。 5. 运行 `git diff --check`。 -6. 运行 `source_size`。 +6. 运行 `source_size` 和 `examples_layout`。 7. 检查 `git status --ignored --short`,确认 results 和 build 输出未被暂存。 8. 更新 `docs/v*_acceptance_report.md` 和相关接口/测试文档。 9. 提交 git,必要时打 tag 并推送。 diff --git a/docs/v4_acceptance_report.md b/docs/v4_acceptance_report.md new file mode 100644 index 0000000..202683e --- /dev/null +++ b/docs/v4_acceptance_report.md @@ -0,0 +1,89 @@ +# FemLite 第四版 V4.8 阶段验收报告 + +日期:2026-06-25 + +## 1. 版本信息 + +- 软件名称:FemLite +- 阶段范围:第四版 V4.1 至 V4.8 +- 开发分支:`dev/v0.4` +- 交付形态:静态库、命令行程序、C ABI 静态库、测试程序、Python 检查脚本和示例算例 +- 默认验收构建:Windows GCC 16,构建目录 `build-win-gcc-16` + +## 2. 验收口径 + +V4.8 是第四版阶段验收收束版,重点确认 0.4.x 开发期新增的接触、隐式、壳稳定、线性求解器、示例和发布检查能力可以作为下一阶段基线。 + +本次验收覆盖: + +- 第一版、第二版、第三版已验收能力无回退。 +- surface/contact 输入子集、contact pair active-set、augmented penalty、摩擦历史、BVH 搜索、候选缓存和性能统计保持可回归。 +- 非线性静力和非线性 Newmark 收敛诊断、cutback 诊断和 C ABI 查询接口保持可回归。 +- CG/BiCGSTAB 线性求解器分发、预条件设置和统计接口保持可回归。 +- 壳 drilling 稳定、S3 剪切锁定诊断、壳 J2 剪切/弯曲代表性塑性和 Scordelis-Lo smoke 保持可回归。 +- `examples/` 下文档型目录均有可执行 `.inp`,包含 `.inp` 的目录均有 `run_case.bat`。 + +本报告不声称 FemLite 已具备完整 Abaqus 兼容、完整工程级 mortar 约束求解、完整 Mohr-Coulomb 强度折减、完整高尔夫球多层超弹/黏弹模型或完整 shell-solid benchmark 保真能力。相关文档派生案例在 V4.8 中作为可执行缩减基准和回归入口。 + +## 3. 验收项结果 + +| 验收项 | 结果 | 覆盖说明 | +|---|---:|---| +| 基础回归 | PASS | smoke、材料、单元、数据库、稀疏矩阵、线性求解、输出和 restart 测试保留 | +| 接触与摩擦 | PASS | contact、OMP 1/4、contact block sliding、rigid impact 和接触统计回归覆盖 | +| 隐式与收敛诊断 | PASS | implicit inp、solver implicit、cutback 和收敛状态接口回归覆盖 | +| 线性求解器 | PASS | CG/BiCGSTAB、Jacobi、unsupported external 占位和 C ABI 设置查询覆盖 | +| 壳稳定与壳塑性 | PASS | drilling、S3 剪切锁定、S4 J2 剪切/弯曲、trial rollback 和 Scordelis-Lo smoke 覆盖 | +| 示例目录结构 | PASS | `examples_layout` 检查文档目录和双击脚本约定 | +| 文档派生示例 | PASS | elliptic membrane、membrane uniaxial、shell-solid connection、strength reduction、golf ball impact 均接入 smoke | +| 源码规模门禁 | PASS | `source_size` 保持通过 | + +## 4. 示例矩阵 + +V4.8 期间补齐或确认的示例目录: + +| 目录 | 运行入口 | 验收说明 | +|---|---|---| +| `examples/elliptic_membrane` | `run_case.bat` | NAFEMS LE1 椭圆膜文档派生 S4 静力缩减案例 | +| `examples/membrane_uniaxial_stretching` | `run_case.bat` | 各向同性膜单轴拉伸静力案例 | +| `examples/shell_solid_connection` | `run_case.bat` | C3D8 与 S4 共享节点接口静力案例 | +| `examples/strengthReduction` | `run_case.bat` | 强度折减文档派生线弹性坡体案例 | +| `examples/golfBallImpact` | `run_case.bat` | 壳接触动力缩减案例,采用文档摩擦系数尺度 | +| 既有基准目录 | `run_case.bat` | Kirsch、Scordelis-Lo、shell patch、压力脉冲、刚球冲击、2D/3D 拉伸等均补齐双击入口 | + +## 5. 测试命令 + +V4.8 发布前建议执行: + +```powershell +cmake --build build-win-gcc-16 --config Release +ctest --test-dir build-win-gcc-16 --output-on-failure +``` + +示例结构专项检查: + +```powershell +ctest --test-dir build-win-gcc-16 -R examples_layout --output-on-failure +``` + +文档派生示例 smoke 专项检查: + +```powershell +ctest --test-dir build-win-gcc-16 -R "example_(elliptic_membrane|membrane_uniaxial|shell_solid_connection|strength_reduction|golf_ball_impact)_smoke" --output-on-failure +``` + +本轮 Windows GCC 16 验证结果: + +```text +cmake --build build-win-gcc-16 --config Release +completed successfully + +ctest --test-dir build-win-gcc-16 --output-on-failure +100% tests passed, 0 tests failed out of 47 +``` + +## 6. 后续限制 + +- 完整 Mohr-Coulomb 强度折减、完整高尔夫球多材料冲击和高保真 shell-solid benchmark 仍需核心求解器后续能力支持。 +- pinched cylinder、hemisphere、twisted beam 和更密 Scordelis-Lo 收敛矩阵建议作为 0.5.x 或专项长跑基准推进。 +- 外部稀疏求解器后端当前仍是显式 unsupported 占位,接口已预留但未绑定第三方库。 diff --git a/docs/v4_development_plan.md b/docs/v4_development_plan.md index 797c958..4a3c7fc 100644 --- a/docs/v4_development_plan.md +++ b/docs/v4_development_plan.md @@ -874,3 +874,35 @@ FemLite 0.4.x 定位为: - 在 V4.8 中补充 pinched cylinder、hemisphere、twisted beam 和更密 Scordelis-Lo 网格收敛矩阵。 - 将代表性外纤维弯曲塑性扩展为可选多层壳厚度积分时,保持现有 trial/rollback、section tangent 和外部诊断接口兼容。 - 补充更长时间 pressure pulse 与壳接触长跑验证,形成第四版阶段验收报告。 + +## 29. 0.4.8 开发记录 + +### V4.8 示例验收、发布检查与阶段报告完善 + +完成状态:V4.8 将第四版阶段验收收束到可运行示例矩阵、发布前自动检查和验收报告。`examples/` 下每个文档型目录均补充了可执行输入文件,每个包含 `.inp` 的示例目录均提供 `run_case.bat` 双击运行入口。 + +已完成: + +- 新增 `examples/elliptic_membrane/` S4 静力缩减案例,基于 NAFEMS LE1 椭圆膜文档的几何、材料和边界尺度。 +- 新增 `examples/membrane_uniaxial_stretching/` S4 单轴拉伸静力案例,采用文档中的各向同性膜材料参数。 +- 新增 `examples/shell_solid_connection/` 共享节点壳-实体接口静力案例,覆盖 C3D8 与 S4 混合模型路径。 +- 新增 `examples/strengthReduction/` 线弹性坡体楔形静力案例,作为强度折减文档的可执行占位基准。 +- 新增 `examples/golfBallImpact/` 壳接触动力缩减案例,采用文档中的摩擦系数尺度并复用刚球冲击路径。 +- 为 `clamped_square_plate_pressure_pulse`、`Kirsch`、`rigid_sphere_impact_plate`、`scordelis_lo_roof`、`ScordelisLo`、`shell_patch_test`、`tension2D`、`uniaxialTension3D` 和上述新增目录补充 `run_case.bat`。 +- 新增通用 `examples/run_example_case.bat`,统一示例双击运行、结果目录清理和失败码返回。 +- 新增 `tests/scripts/check_examples_layout.py`,检查 `examples/` 一级目录中“有文档无 `.inp`”和“有 `.inp` 无 `run_case.bat`”的回退。 +- CTest 新增 `examples_layout`,并将新增五个文档派生案例接入 `example_smoke`。 +- 新增 `docs/v4_acceptance_report.md`,记录第四版 V4.8 阶段验收范围、测试矩阵、示例矩阵和后续限制。 + +已补充测试: + +- `elliptic_membrane_s4_static.inp`、`membrane_uniaxial_s4_static.inp`、`shell_solid_connection_static.inp` 和 `strength_reduction_slope_static.inp` 已完成静力求解 smoke。 +- `example_golf_ball_impact_smoke` 使用短步数动态输入检查接触输出,避免常规回归运行完整长跑。 +- `examples_layout` 纳入 Python CTest 分支,保护示例目录结构约定。 +- Windows GCC 16 Release 构建已通过;全量 CTest 已通过,47/47 passed。 +- 已手动验证 `examples/elliptic_membrane/run_case.bat` 静力入口和 `examples/clamped_square_plate_pressure_pulse/run_case.bat` 动力入口均可在 `FEMLITE_NO_PAUSE=1` 下完成。 + +后续: + +- 将完整 pinched cylinder、hemisphere、twisted beam 和多密度 Scordelis-Lo 收敛矩阵作为 0.5.x 或专项长跑扩展,不阻断 V4.8 阶段验收。 +- 当 Mohr-Coulomb、超弹/黏弹和完整 shell-solid coupling 能力进入核心求解器后,将当前文档派生缩减案例替换或扩展为更高保真 benchmark。 diff --git a/examples/Kirsch/run_case.bat b/examples/Kirsch/run_case.bat new file mode 100644 index 0000000..2e5a8dd --- /dev/null +++ b/examples/Kirsch/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "Kirsch" "--static-linear" "kirsch_quad.inp" "1" +exit /b %errorlevel% diff --git a/examples/ScordelisLo/run_case.bat b/examples/ScordelisLo/run_case.bat new file mode 100644 index 0000000..6f7744c --- /dev/null +++ b/examples/ScordelisLo/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "ScordelisLo" "--static-linear" "scordelislo_quad_static.inp" "1" +exit /b %errorlevel% diff --git a/examples/clamped_square_plate_pressure_pulse/run_case.bat b/examples/clamped_square_plate_pressure_pulse/run_case.bat new file mode 100644 index 0000000..e00e1ee --- /dev/null +++ b/examples/clamped_square_plate_pressure_pulse/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "clamped_square_plate_pressure_pulse" "--run" "clamped_square_plate_pressure_pulse_s4.inp" "50" +exit /b %errorlevel% diff --git a/examples/elliptic_membrane/README.md b/examples/elliptic_membrane/README.md new file mode 100644 index 0000000..15d5b1c --- /dev/null +++ b/examples/elliptic_membrane/README.md @@ -0,0 +1,14 @@ +# Elliptic Membrane Benchmark + +This folder contains a compact FemLite approximation of the NAFEMS LE1 elliptic +membrane reference described by `models.sme.elliptic_membrane.zh_CN.pdf`. + +The reference model is a thin, isotropic quarter membrane with elliptical inner +and outer boundaries, symmetry constraints on the coordinate axes, and outward +edge loading. FemLite currently represents this case with shell membrane +elements in the X-Y plane, using the benchmark geometry and material scale while +keeping the mesh intentionally small for smoke and regression runs. + +Run `run_case.bat` from Explorer or a terminal to execute the static case and +write VTK results under `results\auto_run`. + diff --git a/examples/elliptic_membrane/elliptic_membrane_s4_static.inp b/examples/elliptic_membrane/elliptic_membrane_s4_static.inp new file mode 100644 index 0000000..4930703 --- /dev/null +++ b/examples/elliptic_membrane/elliptic_membrane_s4_static.inp @@ -0,0 +1,45 @@ +*HEADING +FemLite compact NAFEMS LE1 elliptic membrane approximation +*NODE +1, 2.000000, 0.000000, 0.000000 +2, 3.250000, 0.000000, 0.000000 +3, 1.732051, 0.500000, 0.000000 +4, 2.814583, 1.375000, 0.000000 +5, 1.000000, 0.866025, 0.000000 +6, 1.625000, 2.381570, 0.000000 +7, 0.000000, 1.000000, 0.000000 +8, 0.000000, 2.750000, 0.000000 +*ELEMENT, TYPE=S4, ELSET=MEMBRANE +1, 1, 2, 4, 3 +2, 3, 4, 6, 5 +3, 5, 6, 8, 7 +*NSET, NSET=X_SYMM +7, 8 +*NSET, NSET=Y_SYMM +1, 2 +*NSET, NSET=ALLNODES +1, 2, 3, 4, 5, 6, 7, 8 +*NSET, NSET=OUTER +2, 4, 6, 8 +*MATERIAL, NAME=STEEL +*ELASTIC +2.1E11, 0.3 +*DENSITY +7850.0 +*SHELL SECTION, ELSET=MEMBRANE, MATERIAL=STEEL +0.1 +*BOUNDARY +X_SYMM, 1, 1, 0.0 +Y_SYMM, 2, 2, 0.0 +ALLNODES, 3, 6, 0.0 +*STEP +*STATIC +*CLOAD +2, 1, 5.0E5 +4, 1, 8.0E5 +4, 2, 4.0E5 +6, 1, 4.0E5 +6, 2, 8.0E5 +8, 2, 5.0E5 +*END STEP + diff --git a/examples/elliptic_membrane/models.sme.elliptic_membrane.zh_CN.pdf b/examples/elliptic_membrane/models.sme.elliptic_membrane.zh_CN.pdf new file mode 100644 index 0000000..703f400 Binary files /dev/null and b/examples/elliptic_membrane/models.sme.elliptic_membrane.zh_CN.pdf differ diff --git a/examples/elliptic_membrane/run_case.bat b/examples/elliptic_membrane/run_case.bat new file mode 100644 index 0000000..e7b0ca0 --- /dev/null +++ b/examples/elliptic_membrane/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "elliptic_membrane" "--static-linear" "elliptic_membrane_s4_static.inp" "1" +exit /b %errorlevel% diff --git a/examples/golfBallImpact/README.md b/examples/golfBallImpact/README.md new file mode 100644 index 0000000..a1deb4d --- /dev/null +++ b/examples/golfBallImpact/README.md @@ -0,0 +1,14 @@ +# Golf Ball Impact Smoke Case + +The reference PDF in this folder describes a detailed golf ball impact model +with multi-layer ball materials, club geometry, friction, and high-speed contact. +FemLite does not yet implement the full hyperelastic/viscoelastic material stack, +so this example provides a compact dynamic contact surrogate that exercises the +available shell impact path. + +The case reuses the existing rigid-sphere impact topology, applies the documented +contact friction scale (`mu = 0.15`), and writes transient VTK output under +`results\auto_run`. + +Run `run_case.bat` from Explorer or a terminal. + diff --git a/examples/golfBallImpact/golf_ball_impact_s4_short.inp b/examples/golfBallImpact/golf_ball_impact_s4_short.inp new file mode 100644 index 0000000..98f3dce --- /dev/null +++ b/examples/golfBallImpact/golf_ball_impact_s4_short.inp @@ -0,0 +1,1034 @@ +*HEADING +FemLite compact golf ball impact surrogate using shell contact dynamics +** Derived from the rigid sphere impact plate case; reference document friction=0.15. +** plate_side=4.0000000000E-01, thickness=4.0000000000E-03, sphere_radius=5.0000000000E-02, center_node=221 +*NODE +1, 0.0000000000E+00, 0.0000000000E+00, 0.0000000000E+00 +2, 2.0000000000E-02, 0.0000000000E+00, 0.0000000000E+00 +3, 4.0000000000E-02, 0.0000000000E+00, 0.0000000000E+00 +4, 6.0000000000E-02, 0.0000000000E+00, 0.0000000000E+00 +5, 8.0000000000E-02, 0.0000000000E+00, 0.0000000000E+00 +6, 1.0000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +7, 1.2000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +8, 1.4000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +9, 1.6000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +10, 1.8000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +11, 2.0000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +12, 2.2000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +13, 2.4000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +14, 2.6000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +15, 2.8000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +16, 3.0000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +17, 3.2000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +18, 3.4000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +19, 3.6000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +20, 3.8000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +21, 4.0000000000E-01, 0.0000000000E+00, 0.0000000000E+00 +22, 0.0000000000E+00, 2.0000000000E-02, 0.0000000000E+00 +23, 2.0000000000E-02, 2.0000000000E-02, 0.0000000000E+00 +24, 4.0000000000E-02, 2.0000000000E-02, 0.0000000000E+00 +25, 6.0000000000E-02, 2.0000000000E-02, 0.0000000000E+00 +26, 8.0000000000E-02, 2.0000000000E-02, 0.0000000000E+00 +27, 1.0000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +28, 1.2000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +29, 1.4000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +30, 1.6000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +31, 1.8000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +32, 2.0000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +33, 2.2000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +34, 2.4000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +35, 2.6000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +36, 2.8000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +37, 3.0000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +38, 3.2000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +39, 3.4000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +40, 3.6000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +41, 3.8000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +42, 4.0000000000E-01, 2.0000000000E-02, 0.0000000000E+00 +43, 0.0000000000E+00, 4.0000000000E-02, 0.0000000000E+00 +44, 2.0000000000E-02, 4.0000000000E-02, 0.0000000000E+00 +45, 4.0000000000E-02, 4.0000000000E-02, 0.0000000000E+00 +46, 6.0000000000E-02, 4.0000000000E-02, 0.0000000000E+00 +47, 8.0000000000E-02, 4.0000000000E-02, 0.0000000000E+00 +48, 1.0000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +49, 1.2000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +50, 1.4000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +51, 1.6000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +52, 1.8000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +53, 2.0000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +54, 2.2000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +55, 2.4000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +56, 2.6000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +57, 2.8000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +58, 3.0000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +59, 3.2000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +60, 3.4000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +61, 3.6000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +62, 3.8000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +63, 4.0000000000E-01, 4.0000000000E-02, 0.0000000000E+00 +64, 0.0000000000E+00, 6.0000000000E-02, 0.0000000000E+00 +65, 2.0000000000E-02, 6.0000000000E-02, 0.0000000000E+00 +66, 4.0000000000E-02, 6.0000000000E-02, 0.0000000000E+00 +67, 6.0000000000E-02, 6.0000000000E-02, 0.0000000000E+00 +68, 8.0000000000E-02, 6.0000000000E-02, 0.0000000000E+00 +69, 1.0000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +70, 1.2000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +71, 1.4000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +72, 1.6000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +73, 1.8000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +74, 2.0000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +75, 2.2000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +76, 2.4000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +77, 2.6000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +78, 2.8000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +79, 3.0000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +80, 3.2000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +81, 3.4000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +82, 3.6000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +83, 3.8000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +84, 4.0000000000E-01, 6.0000000000E-02, 0.0000000000E+00 +85, 0.0000000000E+00, 8.0000000000E-02, 0.0000000000E+00 +86, 2.0000000000E-02, 8.0000000000E-02, 0.0000000000E+00 +87, 4.0000000000E-02, 8.0000000000E-02, 0.0000000000E+00 +88, 6.0000000000E-02, 8.0000000000E-02, 0.0000000000E+00 +89, 8.0000000000E-02, 8.0000000000E-02, 0.0000000000E+00 +90, 1.0000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +91, 1.2000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +92, 1.4000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +93, 1.6000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +94, 1.8000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +95, 2.0000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +96, 2.2000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +97, 2.4000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +98, 2.6000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +99, 2.8000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +100, 3.0000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +101, 3.2000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +102, 3.4000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +103, 3.6000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +104, 3.8000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +105, 4.0000000000E-01, 8.0000000000E-02, 0.0000000000E+00 +106, 0.0000000000E+00, 1.0000000000E-01, 0.0000000000E+00 +107, 2.0000000000E-02, 1.0000000000E-01, 0.0000000000E+00 +108, 4.0000000000E-02, 1.0000000000E-01, 0.0000000000E+00 +109, 6.0000000000E-02, 1.0000000000E-01, 0.0000000000E+00 +110, 8.0000000000E-02, 1.0000000000E-01, 0.0000000000E+00 +111, 1.0000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +112, 1.2000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +113, 1.4000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +114, 1.6000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +115, 1.8000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +116, 2.0000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +117, 2.2000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +118, 2.4000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +119, 2.6000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +120, 2.8000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +121, 3.0000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +122, 3.2000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +123, 3.4000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +124, 3.6000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +125, 3.8000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +126, 4.0000000000E-01, 1.0000000000E-01, 0.0000000000E+00 +127, 0.0000000000E+00, 1.2000000000E-01, 0.0000000000E+00 +128, 2.0000000000E-02, 1.2000000000E-01, 0.0000000000E+00 +129, 4.0000000000E-02, 1.2000000000E-01, 0.0000000000E+00 +130, 6.0000000000E-02, 1.2000000000E-01, 0.0000000000E+00 +131, 8.0000000000E-02, 1.2000000000E-01, 0.0000000000E+00 +132, 1.0000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +133, 1.2000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +134, 1.4000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +135, 1.6000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +136, 1.8000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +137, 2.0000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +138, 2.2000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +139, 2.4000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +140, 2.6000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +141, 2.8000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +142, 3.0000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +143, 3.2000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +144, 3.4000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +145, 3.6000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +146, 3.8000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +147, 4.0000000000E-01, 1.2000000000E-01, 0.0000000000E+00 +148, 0.0000000000E+00, 1.4000000000E-01, 0.0000000000E+00 +149, 2.0000000000E-02, 1.4000000000E-01, 0.0000000000E+00 +150, 4.0000000000E-02, 1.4000000000E-01, 0.0000000000E+00 +151, 6.0000000000E-02, 1.4000000000E-01, 0.0000000000E+00 +152, 8.0000000000E-02, 1.4000000000E-01, 0.0000000000E+00 +153, 1.0000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +154, 1.2000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +155, 1.4000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +156, 1.6000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +157, 1.8000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +158, 2.0000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +159, 2.2000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +160, 2.4000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +161, 2.6000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +162, 2.8000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +163, 3.0000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +164, 3.2000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +165, 3.4000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +166, 3.6000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +167, 3.8000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +168, 4.0000000000E-01, 1.4000000000E-01, 0.0000000000E+00 +169, 0.0000000000E+00, 1.6000000000E-01, 0.0000000000E+00 +170, 2.0000000000E-02, 1.6000000000E-01, 0.0000000000E+00 +171, 4.0000000000E-02, 1.6000000000E-01, 0.0000000000E+00 +172, 6.0000000000E-02, 1.6000000000E-01, 0.0000000000E+00 +173, 8.0000000000E-02, 1.6000000000E-01, 0.0000000000E+00 +174, 1.0000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +175, 1.2000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +176, 1.4000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +177, 1.6000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +178, 1.8000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +179, 2.0000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +180, 2.2000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +181, 2.4000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +182, 2.6000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +183, 2.8000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +184, 3.0000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +185, 3.2000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +186, 3.4000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +187, 3.6000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +188, 3.8000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +189, 4.0000000000E-01, 1.6000000000E-01, 0.0000000000E+00 +190, 0.0000000000E+00, 1.8000000000E-01, 0.0000000000E+00 +191, 2.0000000000E-02, 1.8000000000E-01, 0.0000000000E+00 +192, 4.0000000000E-02, 1.8000000000E-01, 0.0000000000E+00 +193, 6.0000000000E-02, 1.8000000000E-01, 0.0000000000E+00 +194, 8.0000000000E-02, 1.8000000000E-01, 0.0000000000E+00 +195, 1.0000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +196, 1.2000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +197, 1.4000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +198, 1.6000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +199, 1.8000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +200, 2.0000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +201, 2.2000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +202, 2.4000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +203, 2.6000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +204, 2.8000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +205, 3.0000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +206, 3.2000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +207, 3.4000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +208, 3.6000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +209, 3.8000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +210, 4.0000000000E-01, 1.8000000000E-01, 0.0000000000E+00 +211, 0.0000000000E+00, 2.0000000000E-01, 0.0000000000E+00 +212, 2.0000000000E-02, 2.0000000000E-01, 0.0000000000E+00 +213, 4.0000000000E-02, 2.0000000000E-01, 0.0000000000E+00 +214, 6.0000000000E-02, 2.0000000000E-01, 0.0000000000E+00 +215, 8.0000000000E-02, 2.0000000000E-01, 0.0000000000E+00 +216, 1.0000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +217, 1.2000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +218, 1.4000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +219, 1.6000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +220, 1.8000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +221, 2.0000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +222, 2.2000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +223, 2.4000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +224, 2.6000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +225, 2.8000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +226, 3.0000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +227, 3.2000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +228, 3.4000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +229, 3.6000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +230, 3.8000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +231, 4.0000000000E-01, 2.0000000000E-01, 0.0000000000E+00 +232, 0.0000000000E+00, 2.2000000000E-01, 0.0000000000E+00 +233, 2.0000000000E-02, 2.2000000000E-01, 0.0000000000E+00 +234, 4.0000000000E-02, 2.2000000000E-01, 0.0000000000E+00 +235, 6.0000000000E-02, 2.2000000000E-01, 0.0000000000E+00 +236, 8.0000000000E-02, 2.2000000000E-01, 0.0000000000E+00 +237, 1.0000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +238, 1.2000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +239, 1.4000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +240, 1.6000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +241, 1.8000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +242, 2.0000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +243, 2.2000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +244, 2.4000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +245, 2.6000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +246, 2.8000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +247, 3.0000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +248, 3.2000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +249, 3.4000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +250, 3.6000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +251, 3.8000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +252, 4.0000000000E-01, 2.2000000000E-01, 0.0000000000E+00 +253, 0.0000000000E+00, 2.4000000000E-01, 0.0000000000E+00 +254, 2.0000000000E-02, 2.4000000000E-01, 0.0000000000E+00 +255, 4.0000000000E-02, 2.4000000000E-01, 0.0000000000E+00 +256, 6.0000000000E-02, 2.4000000000E-01, 0.0000000000E+00 +257, 8.0000000000E-02, 2.4000000000E-01, 0.0000000000E+00 +258, 1.0000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +259, 1.2000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +260, 1.4000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +261, 1.6000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +262, 1.8000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +263, 2.0000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +264, 2.2000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +265, 2.4000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +266, 2.6000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +267, 2.8000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +268, 3.0000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +269, 3.2000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +270, 3.4000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +271, 3.6000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +272, 3.8000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +273, 4.0000000000E-01, 2.4000000000E-01, 0.0000000000E+00 +274, 0.0000000000E+00, 2.6000000000E-01, 0.0000000000E+00 +275, 2.0000000000E-02, 2.6000000000E-01, 0.0000000000E+00 +276, 4.0000000000E-02, 2.6000000000E-01, 0.0000000000E+00 +277, 6.0000000000E-02, 2.6000000000E-01, 0.0000000000E+00 +278, 8.0000000000E-02, 2.6000000000E-01, 0.0000000000E+00 +279, 1.0000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +280, 1.2000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +281, 1.4000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +282, 1.6000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +283, 1.8000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +284, 2.0000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +285, 2.2000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +286, 2.4000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +287, 2.6000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +288, 2.8000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +289, 3.0000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +290, 3.2000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +291, 3.4000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +292, 3.6000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +293, 3.8000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +294, 4.0000000000E-01, 2.6000000000E-01, 0.0000000000E+00 +295, 0.0000000000E+00, 2.8000000000E-01, 0.0000000000E+00 +296, 2.0000000000E-02, 2.8000000000E-01, 0.0000000000E+00 +297, 4.0000000000E-02, 2.8000000000E-01, 0.0000000000E+00 +298, 6.0000000000E-02, 2.8000000000E-01, 0.0000000000E+00 +299, 8.0000000000E-02, 2.8000000000E-01, 0.0000000000E+00 +300, 1.0000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +301, 1.2000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +302, 1.4000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +303, 1.6000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +304, 1.8000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +305, 2.0000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +306, 2.2000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +307, 2.4000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +308, 2.6000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +309, 2.8000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +310, 3.0000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +311, 3.2000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +312, 3.4000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +313, 3.6000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +314, 3.8000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +315, 4.0000000000E-01, 2.8000000000E-01, 0.0000000000E+00 +316, 0.0000000000E+00, 3.0000000000E-01, 0.0000000000E+00 +317, 2.0000000000E-02, 3.0000000000E-01, 0.0000000000E+00 +318, 4.0000000000E-02, 3.0000000000E-01, 0.0000000000E+00 +319, 6.0000000000E-02, 3.0000000000E-01, 0.0000000000E+00 +320, 8.0000000000E-02, 3.0000000000E-01, 0.0000000000E+00 +321, 1.0000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +322, 1.2000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +323, 1.4000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +324, 1.6000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +325, 1.8000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +326, 2.0000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +327, 2.2000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +328, 2.4000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +329, 2.6000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +330, 2.8000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +331, 3.0000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +332, 3.2000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +333, 3.4000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +334, 3.6000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +335, 3.8000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +336, 4.0000000000E-01, 3.0000000000E-01, 0.0000000000E+00 +337, 0.0000000000E+00, 3.2000000000E-01, 0.0000000000E+00 +338, 2.0000000000E-02, 3.2000000000E-01, 0.0000000000E+00 +339, 4.0000000000E-02, 3.2000000000E-01, 0.0000000000E+00 +340, 6.0000000000E-02, 3.2000000000E-01, 0.0000000000E+00 +341, 8.0000000000E-02, 3.2000000000E-01, 0.0000000000E+00 +342, 1.0000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +343, 1.2000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +344, 1.4000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +345, 1.6000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +346, 1.8000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +347, 2.0000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +348, 2.2000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +349, 2.4000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +350, 2.6000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +351, 2.8000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +352, 3.0000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +353, 3.2000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +354, 3.4000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +355, 3.6000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +356, 3.8000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +357, 4.0000000000E-01, 3.2000000000E-01, 0.0000000000E+00 +358, 0.0000000000E+00, 3.4000000000E-01, 0.0000000000E+00 +359, 2.0000000000E-02, 3.4000000000E-01, 0.0000000000E+00 +360, 4.0000000000E-02, 3.4000000000E-01, 0.0000000000E+00 +361, 6.0000000000E-02, 3.4000000000E-01, 0.0000000000E+00 +362, 8.0000000000E-02, 3.4000000000E-01, 0.0000000000E+00 +363, 1.0000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +364, 1.2000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +365, 1.4000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +366, 1.6000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +367, 1.8000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +368, 2.0000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +369, 2.2000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +370, 2.4000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +371, 2.6000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +372, 2.8000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +373, 3.0000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +374, 3.2000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +375, 3.4000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +376, 3.6000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +377, 3.8000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +378, 4.0000000000E-01, 3.4000000000E-01, 0.0000000000E+00 +379, 0.0000000000E+00, 3.6000000000E-01, 0.0000000000E+00 +380, 2.0000000000E-02, 3.6000000000E-01, 0.0000000000E+00 +381, 4.0000000000E-02, 3.6000000000E-01, 0.0000000000E+00 +382, 6.0000000000E-02, 3.6000000000E-01, 0.0000000000E+00 +383, 8.0000000000E-02, 3.6000000000E-01, 0.0000000000E+00 +384, 1.0000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +385, 1.2000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +386, 1.4000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +387, 1.6000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +388, 1.8000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +389, 2.0000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +390, 2.2000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +391, 2.4000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +392, 2.6000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +393, 2.8000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +394, 3.0000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +395, 3.2000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +396, 3.4000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +397, 3.6000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +398, 3.8000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +399, 4.0000000000E-01, 3.6000000000E-01, 0.0000000000E+00 +400, 0.0000000000E+00, 3.8000000000E-01, 0.0000000000E+00 +401, 2.0000000000E-02, 3.8000000000E-01, 0.0000000000E+00 +402, 4.0000000000E-02, 3.8000000000E-01, 0.0000000000E+00 +403, 6.0000000000E-02, 3.8000000000E-01, 0.0000000000E+00 +404, 8.0000000000E-02, 3.8000000000E-01, 0.0000000000E+00 +405, 1.0000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +406, 1.2000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +407, 1.4000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +408, 1.6000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +409, 1.8000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +410, 2.0000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +411, 2.2000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +412, 2.4000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +413, 2.6000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +414, 2.8000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +415, 3.0000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +416, 3.2000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +417, 3.4000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +418, 3.6000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +419, 3.8000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +420, 4.0000000000E-01, 3.8000000000E-01, 0.0000000000E+00 +421, 0.0000000000E+00, 4.0000000000E-01, 0.0000000000E+00 +422, 2.0000000000E-02, 4.0000000000E-01, 0.0000000000E+00 +423, 4.0000000000E-02, 4.0000000000E-01, 0.0000000000E+00 +424, 6.0000000000E-02, 4.0000000000E-01, 0.0000000000E+00 +425, 8.0000000000E-02, 4.0000000000E-01, 0.0000000000E+00 +426, 1.0000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +427, 1.2000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +428, 1.4000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +429, 1.6000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +430, 1.8000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +431, 2.0000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +432, 2.2000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +433, 2.4000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +434, 2.6000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +435, 2.8000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +436, 3.0000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +437, 3.2000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +438, 3.4000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +439, 3.6000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +440, 3.8000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +441, 4.0000000000E-01, 4.0000000000E-01, 0.0000000000E+00 +442, 1.7000000000E-01, 1.7000000000E-01, 2.4542486889E-02 +443, 1.7750000000E-01, 1.7000000000E-01, 1.7928108612E-02 +444, 1.8500000000E-01, 1.7000000000E-01, 1.3919007565E-02 +445, 1.9250000000E-01, 1.7000000000E-01, 1.1709415886E-02 +446, 2.0000000000E-01, 1.7000000000E-01, 1.1000000000E-02 +447, 2.0750000000E-01, 1.7000000000E-01, 1.1709415886E-02 +448, 2.1500000000E-01, 1.7000000000E-01, 1.3919007565E-02 +449, 2.2250000000E-01, 1.7000000000E-01, 1.7928108612E-02 +450, 2.3000000000E-01, 1.7000000000E-01, 2.4542486889E-02 +451, 1.7000000000E-01, 1.7750000000E-01, 1.7928108612E-02 +452, 1.7750000000E-01, 1.7750000000E-01, 1.2431878449E-02 +453, 1.8500000000E-01, 1.7750000000E-01, 8.9434903968E-03 +454, 1.9250000000E-01, 1.7750000000E-01, 6.9829578459E-03 +455, 2.0000000000E-01, 1.7750000000E-01, 6.3485722513E-03 +456, 2.0750000000E-01, 1.7750000000E-01, 6.9829578459E-03 +457, 2.1500000000E-01, 1.7750000000E-01, 8.9434903968E-03 +458, 2.2250000000E-01, 1.7750000000E-01, 1.2431878449E-02 +459, 2.3000000000E-01, 1.7750000000E-01, 1.7928108612E-02 +460, 1.7000000000E-01, 1.8500000000E-01, 1.3919007565E-02 +461, 1.7750000000E-01, 1.8500000000E-01, 8.9434903968E-03 +462, 1.8500000000E-01, 1.8500000000E-01, 5.7230743093E-03 +463, 1.9250000000E-01, 1.8500000000E-01, 3.8963907965E-03 +464, 2.0000000000E-01, 1.8500000000E-01, 3.3030399292E-03 +465, 2.0750000000E-01, 1.8500000000E-01, 3.8963907965E-03 +466, 2.1500000000E-01, 1.8500000000E-01, 5.7230743093E-03 +467, 2.2250000000E-01, 1.8500000000E-01, 8.9434903968E-03 +468, 2.3000000000E-01, 1.8500000000E-01, 1.3919007565E-02 +469, 1.7000000000E-01, 1.9250000000E-01, 1.1709415886E-02 +470, 1.7750000000E-01, 1.9250000000E-01, 6.9829578459E-03 +471, 1.8500000000E-01, 1.9250000000E-01, 3.8963907965E-03 +472, 1.9250000000E-01, 1.9250000000E-01, 2.1379492858E-03 +473, 2.0000000000E-01, 1.9250000000E-01, 1.5657001668E-03 +474, 2.0750000000E-01, 1.9250000000E-01, 2.1379492858E-03 +475, 2.1500000000E-01, 1.9250000000E-01, 3.8963907965E-03 +476, 2.2250000000E-01, 1.9250000000E-01, 6.9829578459E-03 +477, 2.3000000000E-01, 1.9250000000E-01, 1.1709415886E-02 +478, 1.7000000000E-01, 2.0000000000E-01, 1.1000000000E-02 +479, 1.7750000000E-01, 2.0000000000E-01, 6.3485722513E-03 +480, 1.8500000000E-01, 2.0000000000E-01, 3.3030399292E-03 +481, 1.9250000000E-01, 2.0000000000E-01, 1.5657001668E-03 +482, 2.0000000000E-01, 2.0000000000E-01, 1.0000000000E-03 +483, 2.0750000000E-01, 2.0000000000E-01, 1.5657001668E-03 +484, 2.1500000000E-01, 2.0000000000E-01, 3.3030399292E-03 +485, 2.2250000000E-01, 2.0000000000E-01, 6.3485722513E-03 +486, 2.3000000000E-01, 2.0000000000E-01, 1.1000000000E-02 +487, 1.7000000000E-01, 2.0750000000E-01, 1.1709415886E-02 +488, 1.7750000000E-01, 2.0750000000E-01, 6.9829578459E-03 +489, 1.8500000000E-01, 2.0750000000E-01, 3.8963907965E-03 +490, 1.9250000000E-01, 2.0750000000E-01, 2.1379492858E-03 +491, 2.0000000000E-01, 2.0750000000E-01, 1.5657001668E-03 +492, 2.0750000000E-01, 2.0750000000E-01, 2.1379492858E-03 +493, 2.1500000000E-01, 2.0750000000E-01, 3.8963907965E-03 +494, 2.2250000000E-01, 2.0750000000E-01, 6.9829578459E-03 +495, 2.3000000000E-01, 2.0750000000E-01, 1.1709415886E-02 +496, 1.7000000000E-01, 2.1500000000E-01, 1.3919007565E-02 +497, 1.7750000000E-01, 2.1500000000E-01, 8.9434903968E-03 +498, 1.8500000000E-01, 2.1500000000E-01, 5.7230743093E-03 +499, 1.9250000000E-01, 2.1500000000E-01, 3.8963907965E-03 +500, 2.0000000000E-01, 2.1500000000E-01, 3.3030399292E-03 +501, 2.0750000000E-01, 2.1500000000E-01, 3.8963907965E-03 +502, 2.1500000000E-01, 2.1500000000E-01, 5.7230743093E-03 +503, 2.2250000000E-01, 2.1500000000E-01, 8.9434903968E-03 +504, 2.3000000000E-01, 2.1500000000E-01, 1.3919007565E-02 +505, 1.7000000000E-01, 2.2250000000E-01, 1.7928108612E-02 +506, 1.7750000000E-01, 2.2250000000E-01, 1.2431878449E-02 +507, 1.8500000000E-01, 2.2250000000E-01, 8.9434903968E-03 +508, 1.9250000000E-01, 2.2250000000E-01, 6.9829578459E-03 +509, 2.0000000000E-01, 2.2250000000E-01, 6.3485722513E-03 +510, 2.0750000000E-01, 2.2250000000E-01, 6.9829578459E-03 +511, 2.1500000000E-01, 2.2250000000E-01, 8.9434903968E-03 +512, 2.2250000000E-01, 2.2250000000E-01, 1.2431878449E-02 +513, 2.3000000000E-01, 2.2250000000E-01, 1.7928108612E-02 +514, 1.7000000000E-01, 2.3000000000E-01, 2.4542486889E-02 +515, 1.7750000000E-01, 2.3000000000E-01, 1.7928108612E-02 +516, 1.8500000000E-01, 2.3000000000E-01, 1.3919007565E-02 +517, 1.9250000000E-01, 2.3000000000E-01, 1.1709415886E-02 +518, 2.0000000000E-01, 2.3000000000E-01, 1.1000000000E-02 +519, 2.0750000000E-01, 2.3000000000E-01, 1.1709415886E-02 +520, 2.1500000000E-01, 2.3000000000E-01, 1.3919007565E-02 +521, 2.2250000000E-01, 2.3000000000E-01, 1.7928108612E-02 +522, 2.3000000000E-01, 2.3000000000E-01, 2.4542486889E-02 +*ELEMENT, TYPE=S4, ELSET=PLATE +1, 1, 2, 23, 22 +2, 2, 3, 24, 23 +3, 3, 4, 25, 24 +4, 4, 5, 26, 25 +5, 5, 6, 27, 26 +6, 6, 7, 28, 27 +7, 7, 8, 29, 28 +8, 8, 9, 30, 29 +9, 9, 10, 31, 30 +10, 10, 11, 32, 31 +11, 11, 12, 33, 32 +12, 12, 13, 34, 33 +13, 13, 14, 35, 34 +14, 14, 15, 36, 35 +15, 15, 16, 37, 36 +16, 16, 17, 38, 37 +17, 17, 18, 39, 38 +18, 18, 19, 40, 39 +19, 19, 20, 41, 40 +20, 20, 21, 42, 41 +21, 22, 23, 44, 43 +22, 23, 24, 45, 44 +23, 24, 25, 46, 45 +24, 25, 26, 47, 46 +25, 26, 27, 48, 47 +26, 27, 28, 49, 48 +27, 28, 29, 50, 49 +28, 29, 30, 51, 50 +29, 30, 31, 52, 51 +30, 31, 32, 53, 52 +31, 32, 33, 54, 53 +32, 33, 34, 55, 54 +33, 34, 35, 56, 55 +34, 35, 36, 57, 56 +35, 36, 37, 58, 57 +36, 37, 38, 59, 58 +37, 38, 39, 60, 59 +38, 39, 40, 61, 60 +39, 40, 41, 62, 61 +40, 41, 42, 63, 62 +41, 43, 44, 65, 64 +42, 44, 45, 66, 65 +43, 45, 46, 67, 66 +44, 46, 47, 68, 67 +45, 47, 48, 69, 68 +46, 48, 49, 70, 69 +47, 49, 50, 71, 70 +48, 50, 51, 72, 71 +49, 51, 52, 73, 72 +50, 52, 53, 74, 73 +51, 53, 54, 75, 74 +52, 54, 55, 76, 75 +53, 55, 56, 77, 76 +54, 56, 57, 78, 77 +55, 57, 58, 79, 78 +56, 58, 59, 80, 79 +57, 59, 60, 81, 80 +58, 60, 61, 82, 81 +59, 61, 62, 83, 82 +60, 62, 63, 84, 83 +61, 64, 65, 86, 85 +62, 65, 66, 87, 86 +63, 66, 67, 88, 87 +64, 67, 68, 89, 88 +65, 68, 69, 90, 89 +66, 69, 70, 91, 90 +67, 70, 71, 92, 91 +68, 71, 72, 93, 92 +69, 72, 73, 94, 93 +70, 73, 74, 95, 94 +71, 74, 75, 96, 95 +72, 75, 76, 97, 96 +73, 76, 77, 98, 97 +74, 77, 78, 99, 98 +75, 78, 79, 100, 99 +76, 79, 80, 101, 100 +77, 80, 81, 102, 101 +78, 81, 82, 103, 102 +79, 82, 83, 104, 103 +80, 83, 84, 105, 104 +81, 85, 86, 107, 106 +82, 86, 87, 108, 107 +83, 87, 88, 109, 108 +84, 88, 89, 110, 109 +85, 89, 90, 111, 110 +86, 90, 91, 112, 111 +87, 91, 92, 113, 112 +88, 92, 93, 114, 113 +89, 93, 94, 115, 114 +90, 94, 95, 116, 115 +91, 95, 96, 117, 116 +92, 96, 97, 118, 117 +93, 97, 98, 119, 118 +94, 98, 99, 120, 119 +95, 99, 100, 121, 120 +96, 100, 101, 122, 121 +97, 101, 102, 123, 122 +98, 102, 103, 124, 123 +99, 103, 104, 125, 124 +100, 104, 105, 126, 125 +101, 106, 107, 128, 127 +102, 107, 108, 129, 128 +103, 108, 109, 130, 129 +104, 109, 110, 131, 130 +105, 110, 111, 132, 131 +106, 111, 112, 133, 132 +107, 112, 113, 134, 133 +108, 113, 114, 135, 134 +109, 114, 115, 136, 135 +110, 115, 116, 137, 136 +111, 116, 117, 138, 137 +112, 117, 118, 139, 138 +113, 118, 119, 140, 139 +114, 119, 120, 141, 140 +115, 120, 121, 142, 141 +116, 121, 122, 143, 142 +117, 122, 123, 144, 143 +118, 123, 124, 145, 144 +119, 124, 125, 146, 145 +120, 125, 126, 147, 146 +121, 127, 128, 149, 148 +122, 128, 129, 150, 149 +123, 129, 130, 151, 150 +124, 130, 131, 152, 151 +125, 131, 132, 153, 152 +126, 132, 133, 154, 153 +127, 133, 134, 155, 154 +128, 134, 135, 156, 155 +129, 135, 136, 157, 156 +130, 136, 137, 158, 157 +131, 137, 138, 159, 158 +132, 138, 139, 160, 159 +133, 139, 140, 161, 160 +134, 140, 141, 162, 161 +135, 141, 142, 163, 162 +136, 142, 143, 164, 163 +137, 143, 144, 165, 164 +138, 144, 145, 166, 165 +139, 145, 146, 167, 166 +140, 146, 147, 168, 167 +141, 148, 149, 170, 169 +142, 149, 150, 171, 170 +143, 150, 151, 172, 171 +144, 151, 152, 173, 172 +145, 152, 153, 174, 173 +146, 153, 154, 175, 174 +147, 154, 155, 176, 175 +148, 155, 156, 177, 176 +149, 156, 157, 178, 177 +150, 157, 158, 179, 178 +151, 158, 159, 180, 179 +152, 159, 160, 181, 180 +153, 160, 161, 182, 181 +154, 161, 162, 183, 182 +155, 162, 163, 184, 183 +156, 163, 164, 185, 184 +157, 164, 165, 186, 185 +158, 165, 166, 187, 186 +159, 166, 167, 188, 187 +160, 167, 168, 189, 188 +161, 169, 170, 191, 190 +162, 170, 171, 192, 191 +163, 171, 172, 193, 192 +164, 172, 173, 194, 193 +165, 173, 174, 195, 194 +166, 174, 175, 196, 195 +167, 175, 176, 197, 196 +168, 176, 177, 198, 197 +169, 177, 178, 199, 198 +170, 178, 179, 200, 199 +171, 179, 180, 201, 200 +172, 180, 181, 202, 201 +173, 181, 182, 203, 202 +174, 182, 183, 204, 203 +175, 183, 184, 205, 204 +176, 184, 185, 206, 205 +177, 185, 186, 207, 206 +178, 186, 187, 208, 207 +179, 187, 188, 209, 208 +180, 188, 189, 210, 209 +181, 190, 191, 212, 211 +182, 191, 192, 213, 212 +183, 192, 193, 214, 213 +184, 193, 194, 215, 214 +185, 194, 195, 216, 215 +186, 195, 196, 217, 216 +187, 196, 197, 218, 217 +188, 197, 198, 219, 218 +189, 198, 199, 220, 219 +190, 199, 200, 221, 220 +191, 200, 201, 222, 221 +192, 201, 202, 223, 222 +193, 202, 203, 224, 223 +194, 203, 204, 225, 224 +195, 204, 205, 226, 225 +196, 205, 206, 227, 226 +197, 206, 207, 228, 227 +198, 207, 208, 229, 228 +199, 208, 209, 230, 229 +200, 209, 210, 231, 230 +201, 211, 212, 233, 232 +202, 212, 213, 234, 233 +203, 213, 214, 235, 234 +204, 214, 215, 236, 235 +205, 215, 216, 237, 236 +206, 216, 217, 238, 237 +207, 217, 218, 239, 238 +208, 218, 219, 240, 239 +209, 219, 220, 241, 240 +210, 220, 221, 242, 241 +211, 221, 222, 243, 242 +212, 222, 223, 244, 243 +213, 223, 224, 245, 244 +214, 224, 225, 246, 245 +215, 225, 226, 247, 246 +216, 226, 227, 248, 247 +217, 227, 228, 249, 248 +218, 228, 229, 250, 249 +219, 229, 230, 251, 250 +220, 230, 231, 252, 251 +221, 232, 233, 254, 253 +222, 233, 234, 255, 254 +223, 234, 235, 256, 255 +224, 235, 236, 257, 256 +225, 236, 237, 258, 257 +226, 237, 238, 259, 258 +227, 238, 239, 260, 259 +228, 239, 240, 261, 260 +229, 240, 241, 262, 261 +230, 241, 242, 263, 262 +231, 242, 243, 264, 263 +232, 243, 244, 265, 264 +233, 244, 245, 266, 265 +234, 245, 246, 267, 266 +235, 246, 247, 268, 267 +236, 247, 248, 269, 268 +237, 248, 249, 270, 269 +238, 249, 250, 271, 270 +239, 250, 251, 272, 271 +240, 251, 252, 273, 272 +241, 253, 254, 275, 274 +242, 254, 255, 276, 275 +243, 255, 256, 277, 276 +244, 256, 257, 278, 277 +245, 257, 258, 279, 278 +246, 258, 259, 280, 279 +247, 259, 260, 281, 280 +248, 260, 261, 282, 281 +249, 261, 262, 283, 282 +250, 262, 263, 284, 283 +251, 263, 264, 285, 284 +252, 264, 265, 286, 285 +253, 265, 266, 287, 286 +254, 266, 267, 288, 287 +255, 267, 268, 289, 288 +256, 268, 269, 290, 289 +257, 269, 270, 291, 290 +258, 270, 271, 292, 291 +259, 271, 272, 293, 292 +260, 272, 273, 294, 293 +261, 274, 275, 296, 295 +262, 275, 276, 297, 296 +263, 276, 277, 298, 297 +264, 277, 278, 299, 298 +265, 278, 279, 300, 299 +266, 279, 280, 301, 300 +267, 280, 281, 302, 301 +268, 281, 282, 303, 302 +269, 282, 283, 304, 303 +270, 283, 284, 305, 304 +271, 284, 285, 306, 305 +272, 285, 286, 307, 306 +273, 286, 287, 308, 307 +274, 287, 288, 309, 308 +275, 288, 289, 310, 309 +276, 289, 290, 311, 310 +277, 290, 291, 312, 311 +278, 291, 292, 313, 312 +279, 292, 293, 314, 313 +280, 293, 294, 315, 314 +281, 295, 296, 317, 316 +282, 296, 297, 318, 317 +283, 297, 298, 319, 318 +284, 298, 299, 320, 319 +285, 299, 300, 321, 320 +286, 300, 301, 322, 321 +287, 301, 302, 323, 322 +288, 302, 303, 324, 323 +289, 303, 304, 325, 324 +290, 304, 305, 326, 325 +291, 305, 306, 327, 326 +292, 306, 307, 328, 327 +293, 307, 308, 329, 328 +294, 308, 309, 330, 329 +295, 309, 310, 331, 330 +296, 310, 311, 332, 331 +297, 311, 312, 333, 332 +298, 312, 313, 334, 333 +299, 313, 314, 335, 334 +300, 314, 315, 336, 335 +301, 316, 317, 338, 337 +302, 317, 318, 339, 338 +303, 318, 319, 340, 339 +304, 319, 320, 341, 340 +305, 320, 321, 342, 341 +306, 321, 322, 343, 342 +307, 322, 323, 344, 343 +308, 323, 324, 345, 344 +309, 324, 325, 346, 345 +310, 325, 326, 347, 346 +311, 326, 327, 348, 347 +312, 327, 328, 349, 348 +313, 328, 329, 350, 349 +314, 329, 330, 351, 350 +315, 330, 331, 352, 351 +316, 331, 332, 353, 352 +317, 332, 333, 354, 353 +318, 333, 334, 355, 354 +319, 334, 335, 356, 355 +320, 335, 336, 357, 356 +321, 337, 338, 359, 358 +322, 338, 339, 360, 359 +323, 339, 340, 361, 360 +324, 340, 341, 362, 361 +325, 341, 342, 363, 362 +326, 342, 343, 364, 363 +327, 343, 344, 365, 364 +328, 344, 345, 366, 365 +329, 345, 346, 367, 366 +330, 346, 347, 368, 367 +331, 347, 348, 369, 368 +332, 348, 349, 370, 369 +333, 349, 350, 371, 370 +334, 350, 351, 372, 371 +335, 351, 352, 373, 372 +336, 352, 353, 374, 373 +337, 353, 354, 375, 374 +338, 354, 355, 376, 375 +339, 355, 356, 377, 376 +340, 356, 357, 378, 377 +341, 358, 359, 380, 379 +342, 359, 360, 381, 380 +343, 360, 361, 382, 381 +344, 361, 362, 383, 382 +345, 362, 363, 384, 383 +346, 363, 364, 385, 384 +347, 364, 365, 386, 385 +348, 365, 366, 387, 386 +349, 366, 367, 388, 387 +350, 367, 368, 389, 388 +351, 368, 369, 390, 389 +352, 369, 370, 391, 390 +353, 370, 371, 392, 391 +354, 371, 372, 393, 392 +355, 372, 373, 394, 393 +356, 373, 374, 395, 394 +357, 374, 375, 396, 395 +358, 375, 376, 397, 396 +359, 376, 377, 398, 397 +360, 377, 378, 399, 398 +361, 379, 380, 401, 400 +362, 380, 381, 402, 401 +363, 381, 382, 403, 402 +364, 382, 383, 404, 403 +365, 383, 384, 405, 404 +366, 384, 385, 406, 405 +367, 385, 386, 407, 406 +368, 386, 387, 408, 407 +369, 387, 388, 409, 408 +370, 388, 389, 410, 409 +371, 389, 390, 411, 410 +372, 390, 391, 412, 411 +373, 391, 392, 413, 412 +374, 392, 393, 414, 413 +375, 393, 394, 415, 414 +376, 394, 395, 416, 415 +377, 395, 396, 417, 416 +378, 396, 397, 418, 417 +379, 397, 398, 419, 418 +380, 398, 399, 420, 419 +381, 400, 401, 422, 421 +382, 401, 402, 423, 422 +383, 402, 403, 424, 423 +384, 403, 404, 425, 424 +385, 404, 405, 426, 425 +386, 405, 406, 427, 426 +387, 406, 407, 428, 427 +388, 407, 408, 429, 428 +389, 408, 409, 430, 429 +390, 409, 410, 431, 430 +391, 410, 411, 432, 431 +392, 411, 412, 433, 432 +393, 412, 413, 434, 433 +394, 413, 414, 435, 434 +395, 414, 415, 436, 435 +396, 415, 416, 437, 436 +397, 416, 417, 438, 437 +398, 417, 418, 439, 438 +399, 418, 419, 440, 439 +400, 419, 420, 441, 440 +*ELEMENT, TYPE=S4, ELSET=SPHERE +401, 442, 443, 452, 451 +402, 443, 444, 453, 452 +403, 444, 445, 454, 453 +404, 445, 446, 455, 454 +405, 446, 447, 456, 455 +406, 447, 448, 457, 456 +407, 448, 449, 458, 457 +408, 449, 450, 459, 458 +409, 451, 452, 461, 460 +410, 452, 453, 462, 461 +411, 453, 454, 463, 462 +412, 454, 455, 464, 463 +413, 455, 456, 465, 464 +414, 456, 457, 466, 465 +415, 457, 458, 467, 466 +416, 458, 459, 468, 467 +417, 460, 461, 470, 469 +418, 461, 462, 471, 470 +419, 462, 463, 472, 471 +420, 463, 464, 473, 472 +421, 464, 465, 474, 473 +422, 465, 466, 475, 474 +423, 466, 467, 476, 475 +424, 467, 468, 477, 476 +425, 469, 470, 479, 478 +426, 470, 471, 480, 479 +427, 471, 472, 481, 480 +428, 472, 473, 482, 481 +429, 473, 474, 483, 482 +430, 474, 475, 484, 483 +431, 475, 476, 485, 484 +432, 476, 477, 486, 485 +433, 478, 479, 488, 487 +434, 479, 480, 489, 488 +435, 480, 481, 490, 489 +436, 481, 482, 491, 490 +437, 482, 483, 492, 491 +438, 483, 484, 493, 492 +439, 484, 485, 494, 493 +440, 485, 486, 495, 494 +441, 487, 488, 497, 496 +442, 488, 489, 498, 497 +443, 489, 490, 499, 498 +444, 490, 491, 500, 499 +445, 491, 492, 501, 500 +446, 492, 493, 502, 501 +447, 493, 494, 503, 502 +448, 494, 495, 504, 503 +449, 496, 497, 506, 505 +450, 497, 498, 507, 506 +451, 498, 499, 508, 507 +452, 499, 500, 509, 508 +453, 500, 501, 510, 509 +454, 501, 502, 511, 510 +455, 502, 503, 512, 511 +456, 503, 504, 513, 512 +457, 505, 506, 515, 514 +458, 506, 507, 516, 515 +459, 507, 508, 517, 516 +460, 508, 509, 518, 517 +461, 509, 510, 519, 518 +462, 510, 511, 520, 519 +463, 511, 512, 521, 520 +464, 512, 513, 522, 521 +*NSET, NSET=PLATE_EDGE +1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 +13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 42, 43 +63, 64, 84, 85, 105, 106, 126, 127, 147, 148, 168, 169 +189, 190, 210, 211, 231, 232, 252, 253, 273, 274, 294, 295 +315, 316, 336, 337, 357, 358, 378, 379, 399, 400, 420, 421 +422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433 +434, 435, 436, 437, 438, 439, 440, 441 +*NSET, NSET=SPHERE_NODES +442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453 +454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465 +466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477 +478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489 +490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501 +502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513 +514, 515, 516, 517, 518, 519, 520, 521, 522 +*NSET, NSET=CENTER +221 +*MATERIAL, NAME=ALUMINUM +*DENSITY +2.7000000000E+03 +*ELASTIC +7.0000000000E+10, 3.0000000000E-01 +*SHELL SECTION, ELSET=PLATE, MATERIAL=ALUMINUM +4.0000000000E-03 +*SHELL SECTION, ELSET=SPHERE, MATERIAL=ALUMINUM +4.0000000000E-03 +*BOUNDARY +PLATE_EDGE, 1, 6, 0.0 +SPHERE_NODES, 1, 2, 0.0 +SPHERE_NODES, 4, 6, 0.0 +*AMPLITUDE, NAME=IMPACT +0.0, 0.0, 1.5000000000E-04, 1.0 +3.0000000000E-04, 1.0 +*BOUNDARY, AMPLITUDE=IMPACT +SPHERE_NODES, 3, 3, -6.0000000000E-03 +*CONTACT PAIR, SLAVE=SPHERE, MASTER=PLATE, PENALTY=5.0000000000E+09, DAMPING=2.0000000000E+04, SEARCH=2.0000000000E-02, FRICTION=1.5000000000E-01 +*STEP +*DYNAMIC +2.0000000000E-07, 3.0000000000E-04 +*END STEP diff --git a/examples/golfBallImpact/run_case.bat b/examples/golfBallImpact/run_case.bat new file mode 100644 index 0000000..57faf9c --- /dev/null +++ b/examples/golfBallImpact/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "golfBallImpact" "--run" "golf_ball_impact_s4_short.inp" "200" +exit /b %errorlevel% diff --git a/examples/membrane_uniaxial_stretching/README.md b/examples/membrane_uniaxial_stretching/README.md new file mode 100644 index 0000000..3f4e589 --- /dev/null +++ b/examples/membrane_uniaxial_stretching/README.md @@ -0,0 +1,10 @@ +# Membrane Uniaxial Stretching + +This example turns the documented uniaxial membrane material parameters in this +folder into a compact FemLite S4 static test. The input uses the isotropic +reference values (`E = 100 kPa`, `nu = 0.3`) and applies a prescribed +displacement to the right edge of a thin rectangular membrane. + +Run `run_case.bat` to solve the static case and write VTK output under +`results\auto_run`. + diff --git a/examples/membrane_uniaxial_stretching/membrane_uniaxial_s4_static.inp b/examples/membrane_uniaxial_stretching/membrane_uniaxial_s4_static.inp new file mode 100644 index 0000000..9823ddd --- /dev/null +++ b/examples/membrane_uniaxial_stretching/membrane_uniaxial_s4_static.inp @@ -0,0 +1,35 @@ +*HEADING +FemLite isotropic membrane uniaxial stretching smoke case +*NODE +1, 0.0, 0.0, 0.0 +2, 0.5, 0.0, 0.0 +3, 1.0, 0.0, 0.0 +4, 0.0, 0.2, 0.0 +5, 0.5, 0.2, 0.0 +6, 1.0, 0.2, 0.0 +*ELEMENT, TYPE=S4, ELSET=MEMBRANE +1, 1, 2, 5, 4 +2, 2, 3, 6, 5 +*NSET, NSET=LEFT +1, 4 +*NSET, NSET=RIGHT +3, 6 +*NSET, NSET=ALLNODES +1, 2, 3, 4, 5, 6 +*MATERIAL, NAME=ISO_MEMBRANE +*ELASTIC +1.0E5, 0.3 +*DENSITY +1.0 +*SHELL SECTION, ELSET=MEMBRANE, MATERIAL=ISO_MEMBRANE +0.01 +*BOUNDARY +LEFT, 1, 1, 0.0 +1, 2, 2, 0.0 +ALLNODES, 3, 6, 0.0 +*STEP +*STATIC +*BOUNDARY +RIGHT, 1, 1, 0.01 +*END STEP + diff --git a/examples/membrane_uniaxial_stretching/membrane_uniaxial_stretching_isotropic_properties.txt b/examples/membrane_uniaxial_stretching/membrane_uniaxial_stretching_isotropic_properties.txt new file mode 100644 index 0000000..32d1378 --- /dev/null +++ b/examples/membrane_uniaxial_stretching/membrane_uniaxial_stretching_isotropic_properties.txt @@ -0,0 +1,2 @@ +E_iso 100[kPa] "Young's modulus" +nu_iso 0.3 "Poisson's ratio" diff --git a/examples/membrane_uniaxial_stretching/membrane_uniaxial_stretching_isotropic_properties.zh_CN.txt b/examples/membrane_uniaxial_stretching/membrane_uniaxial_stretching_isotropic_properties.zh_CN.txt new file mode 100644 index 0000000..322ae74 --- /dev/null +++ b/examples/membrane_uniaxial_stretching/membrane_uniaxial_stretching_isotropic_properties.zh_CN.txt @@ -0,0 +1,2 @@ +E_iso 100[kPa] "杨氏模量" +nu_iso 0.3 "泊松比" diff --git a/examples/membrane_uniaxial_stretching/membrane_uniaxial_stretching_orthotropic_properties.txt b/examples/membrane_uniaxial_stretching/membrane_uniaxial_stretching_orthotropic_properties.txt new file mode 100644 index 0000000..2270cc6 --- /dev/null +++ b/examples/membrane_uniaxial_stretching/membrane_uniaxial_stretching_orthotropic_properties.txt @@ -0,0 +1,9 @@ +E1_orth 100[kPa] "Young's modulus, 1 component" +E2_orth 20[kPa] "Young's modulus, 2 component" +E3_orth 20[kPa] "Young's modulus, 3 component" +nu12_orth 0.3 "Poisson's ratio, 12 component" +nu23_orth 0 "Poisson's ratio, 23 component" +nu13_orth 0 "Poisson's ratio, 13 component" +G12_orth 38.5[kPa] "Shear modulus, 12 component" +G23_orth G12_orth "Shear modulus, 23 component" +G13_orth G12_orth "Shear modulus, 13 component" diff --git a/examples/membrane_uniaxial_stretching/membrane_uniaxial_stretching_orthotropic_properties.zh_CN.txt b/examples/membrane_uniaxial_stretching/membrane_uniaxial_stretching_orthotropic_properties.zh_CN.txt new file mode 100644 index 0000000..fa8278c --- /dev/null +++ b/examples/membrane_uniaxial_stretching/membrane_uniaxial_stretching_orthotropic_properties.zh_CN.txt @@ -0,0 +1,9 @@ +E1_orth 100[kPa] "杨氏模量,1 分量" +E2_orth 20[kPa] "杨氏模量,2 分量" +E3_orth 20[kPa] "杨氏模量,3 分量" +nu12_orth 0.3 "泊松比,12 分量" +nu23_orth 0 "泊松比,23 分量" +nu13_orth 0 "泊松比,13 分量" +G12_orth 38.5[kPa] "剪切模量,12 分量" +G23_orth G12_orth "剪切模量,23 分量" +G13_orth G12_orth "剪切模量,13 分量" diff --git a/examples/membrane_uniaxial_stretching/models.sme.membrane_uniaxial_stretching.pdf b/examples/membrane_uniaxial_stretching/models.sme.membrane_uniaxial_stretching.pdf new file mode 100644 index 0000000..794b7fe Binary files /dev/null and b/examples/membrane_uniaxial_stretching/models.sme.membrane_uniaxial_stretching.pdf differ diff --git a/examples/membrane_uniaxial_stretching/models.sme.membrane_uniaxial_stretching.zh_CN.pdf b/examples/membrane_uniaxial_stretching/models.sme.membrane_uniaxial_stretching.zh_CN.pdf new file mode 100644 index 0000000..449a089 Binary files /dev/null and b/examples/membrane_uniaxial_stretching/models.sme.membrane_uniaxial_stretching.zh_CN.pdf differ diff --git a/examples/membrane_uniaxial_stretching/run_case.bat b/examples/membrane_uniaxial_stretching/run_case.bat new file mode 100644 index 0000000..90a9e0c --- /dev/null +++ b/examples/membrane_uniaxial_stretching/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "membrane_uniaxial_stretching" "--static-linear" "membrane_uniaxial_s4_static.inp" "1" +exit /b %errorlevel% diff --git a/examples/rigid_sphere_impact_plate/run_case.bat b/examples/rigid_sphere_impact_plate/run_case.bat new file mode 100644 index 0000000..349f9f2 --- /dev/null +++ b/examples/rigid_sphere_impact_plate/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "rigid_sphere_impact_plate" "--run" "rigid_sphere_impact_plate_s4.inp" "200" +exit /b %errorlevel% diff --git a/examples/run_example_case.bat b/examples/run_example_case.bat new file mode 100644 index 0000000..44edcd4 --- /dev/null +++ b/examples/run_example_case.bat @@ -0,0 +1,56 @@ +@echo off +setlocal + +if "%~5"=="" goto usage + +set "CASE_DIR=%~1" +set "CASE_NAME=%~2" +set "MODE=%~3" +set "INP_FILE=%~4" +set "OUT_INTERVAL=%~5" +set "ROOT_DIR=%CASE_DIR%..\.." +set "EXE=%ROOT_DIR%\build-win-gcc-16\femlite.exe" +set "INP=%CASE_DIR%%INP_FILE%" +set "OUT_DIR=%CASE_DIR%results\auto_run" + +echo FemLite %CASE_NAME% +echo. + +if not exist "%INP%" ( + echo Input file was not found: "%INP%" + goto fail +) + +if not exist "%EXE%" ( + echo femlite.exe was not found. Trying to build build-win-gcc-16... + cmake --build "%ROOT_DIR%\build-win-gcc-16" --config Release + if errorlevel 1 goto fail +) + +if not exist "%OUT_DIR%" mkdir "%OUT_DIR%" +del /Q "%OUT_DIR%\history.csv" 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 +del /Q "%OUT_DIR%\contact_*.csv" 2>nul +del /Q "%OUT_DIR%\result_*.vtk" 2>nul + +echo Running FemLite... +"%EXE%" "%INP%" --output-dir "%OUT_DIR%" --output-interval %OUT_INTERVAL% %MODE% +if errorlevel 1 goto fail + +echo. +echo Case completed successfully. +if not "%FEMLITE_NO_PAUSE%"=="1" pause +exit /b 0 + +:usage +echo Usage: run_example_case.bat CASE_DIR CASE_NAME MODE INP_FILE OUTPUT_INTERVAL +goto fail + +:fail +echo. +echo Case failed. +if not "%FEMLITE_NO_PAUSE%"=="1" pause +exit /b 1 + diff --git a/examples/scordelis_lo_roof/run_case.bat b/examples/scordelis_lo_roof/run_case.bat new file mode 100644 index 0000000..f5de3b9 --- /dev/null +++ b/examples/scordelis_lo_roof/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "scordelis_lo_roof" "--static-linear" "scordelis_lo_s4_static.inp" "1" +exit /b %errorlevel% diff --git a/examples/shell_patch_test/run_case.bat b/examples/shell_patch_test/run_case.bat new file mode 100644 index 0000000..eeb5572 --- /dev/null +++ b/examples/shell_patch_test/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "shell_patch_test" "--static-linear" "shell_patch_s4.inp" "1" +exit /b %errorlevel% diff --git a/examples/shell_solid_connection/README.md b/examples/shell_solid_connection/README.md new file mode 100644 index 0000000..a50e849 --- /dev/null +++ b/examples/shell_solid_connection/README.md @@ -0,0 +1,10 @@ +# Shell-Solid Connection Smoke Case + +The source notes in this folder describe a shell-solid transition benchmark. +FemLite does not yet include a full benchmark cylinder/hole coupling model, so +this case provides a small shared-node shell/solid interface that exercises the +same solver path: a C3D8 solid block shares its loaded face with an S4 shell skin. + +Run `run_case.bat` to execute the static case and write VTK output under +`results\auto_run`. + diff --git a/examples/shell_solid_connection/models.sme.shell_solid_connection.pdf b/examples/shell_solid_connection/models.sme.shell_solid_connection.pdf new file mode 100644 index 0000000..b86671d Binary files /dev/null and b/examples/shell_solid_connection/models.sme.shell_solid_connection.pdf differ diff --git a/examples/shell_solid_connection/models.sme.shell_solid_connection.zh_CN.pdf b/examples/shell_solid_connection/models.sme.shell_solid_connection.zh_CN.pdf new file mode 100644 index 0000000..1e9b503 Binary files /dev/null and b/examples/shell_solid_connection/models.sme.shell_solid_connection.zh_CN.pdf differ diff --git a/examples/shell_solid_connection/run_case.bat b/examples/shell_solid_connection/run_case.bat new file mode 100644 index 0000000..916ebd7 --- /dev/null +++ b/examples/shell_solid_connection/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "shell_solid_connection" "--static-linear" "shell_solid_connection_static.inp" "1" +exit /b %errorlevel% diff --git a/examples/shell_solid_connection/shell_solid_connection_parameters.txt b/examples/shell_solid_connection/shell_solid_connection_parameters.txt new file mode 100644 index 0000000..f3cbb82 --- /dev/null +++ b/examples/shell_solid_connection/shell_solid_connection_parameters.txt @@ -0,0 +1,11 @@ +r_outer 1[m] "Outer radius" +thickness 0.1[m] Thickness +r_inner r_outer-thickness "Inner radius" +r_mid r_outer-thickness/2 "Radius of shell midsurface in geometry" +r_hole 0.15[m] "Hole radius" +length 4[m] "Length of segment" +nominal_stress 10[MPa] "Target stress" +p_int nominal_stress*thickness/r_inner "Internal pressure" +f_extp -pi*r_hole^2*nominal_stress*thickness/r_mid "External load from pressure" +sx_ref 10[MPa] "Reference axial stress" +sz_ref 0[MPa] "Reference transverse stress" diff --git a/examples/shell_solid_connection/shell_solid_connection_parameters.zh_CN.txt b/examples/shell_solid_connection/shell_solid_connection_parameters.zh_CN.txt new file mode 100644 index 0000000..71c6b71 --- /dev/null +++ b/examples/shell_solid_connection/shell_solid_connection_parameters.zh_CN.txt @@ -0,0 +1,11 @@ +r_outer 1[m] 外半径 +thickness 0.1[m] 厚度 +r_inner r_outer-thickness 内半径 +r_mid r_outer-thickness/2 几何中壳中面的半径 +r_hole 0.15[m] 孔半径 +length 4[m] 分段长度 +nominal_stress 10[MPa] 目标应力 +p_int nominal_stress*thickness/r_inner 内压 +f_extp -pi*r_hole^2*nominal_stress*thickness/r_mid 来自压力的外部载荷 +sx_ref 10[MPa] 参考轴向应力 +sz_ref 0[MPa] 参考横向应力 diff --git a/examples/shell_solid_connection/shell_solid_connection_static.inp b/examples/shell_solid_connection/shell_solid_connection_static.inp new file mode 100644 index 0000000..d49f09a --- /dev/null +++ b/examples/shell_solid_connection/shell_solid_connection_static.inp @@ -0,0 +1,38 @@ +*HEADING +FemLite shared-node shell-solid interface smoke case +*NODE +1, 0.0, -0.05, 0.0 +2, 1.0, -0.05, 0.0 +3, 1.0, 0.05, 0.0 +4, 0.0, 0.05, 0.0 +5, 0.0, -0.05, 0.2 +6, 1.0, -0.05, 0.2 +7, 1.0, 0.05, 0.2 +8, 0.0, 0.05, 0.2 +*ELEMENT, TYPE=C3D8, ELSET=SOLID +1, 1, 2, 3, 4, 5, 6, 7, 8 +*ELEMENT, TYPE=S4, ELSET=SHELL_SKIN +2, 2, 3, 7, 6 +*NSET, NSET=FIXED +1, 4, 5, 8 +*NSET, NSET=INTERFACE +2, 3, 6, 7 +*MATERIAL, NAME=STEEL +*ELASTIC +2.1E11, 0.3 +*DENSITY +7850.0 +*SOLID SECTION, ELSET=SOLID, MATERIAL=STEEL +*SHELL SECTION, ELSET=SHELL_SKIN, MATERIAL=STEEL +0.01 +*BOUNDARY +FIXED, 1, 3, 0.0 +*STEP +*STATIC +*CLOAD +2, 1, 2.5E5 +3, 1, 2.5E5 +6, 1, 2.5E5 +7, 1, 2.5E5 +*END STEP + diff --git a/examples/strengthReduction/README.md b/examples/strengthReduction/README.md new file mode 100644 index 0000000..262f57a --- /dev/null +++ b/examples/strengthReduction/README.md @@ -0,0 +1,12 @@ +# Strength Reduction Slope Smoke Case + +The reference document in this folder describes a geomechanical slope stability +strength-reduction benchmark. FemLite does not yet implement Mohr-Coulomb +plasticity or automated strength reduction, so this folder contains a compact +linear-elastic slope wedge derived from the documented geometry and material +scale. It is intended as an executable placeholder and parser/solver regression +case until the full material model is available. + +Run `run_case.bat` to execute the static case and write VTK output under +`results\auto_run`. + diff --git a/examples/strengthReduction/run_case.bat b/examples/strengthReduction/run_case.bat new file mode 100644 index 0000000..41c710e --- /dev/null +++ b/examples/strengthReduction/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "strengthReduction" "--static-linear" "strength_reduction_slope_static.inp" "1" +exit /b %errorlevel% diff --git a/examples/strengthReduction/strength_reduction_slope_static.inp b/examples/strengthReduction/strength_reduction_slope_static.inp new file mode 100644 index 0000000..ddf61cf --- /dev/null +++ b/examples/strengthReduction/strength_reduction_slope_static.inp @@ -0,0 +1,60 @@ +*HEADING +FemLite compact elastic slope wedge derived from strength-reduction benchmark +*NODE +1, 0.0, 0.0, 0.0 +2, 85.0, 0.0, 0.0 +3, 85.0, 0.0, 30.0 +4, 30.0, 0.0, 30.0 +5, 20.0, 0.0, 20.0 +6, 0.0, 0.0, 20.0 +7, 0.0, 1.0, 0.0 +8, 85.0, 1.0, 0.0 +9, 85.0, 1.0, 30.0 +10, 30.0, 1.0, 30.0 +11, 20.0, 1.0, 20.0 +12, 0.0, 1.0, 20.0 +*ELEMENT, TYPE=C3D4, ELSET=SLOPE +1, 1, 5, 2, 7 +2, 2, 11, 8, 7 +3, 2, 5, 11, 7 +4, 1, 6, 5, 7 +5, 5, 12, 11, 7 +6, 5, 6, 12, 7 +7, 2, 4, 3, 8 +8, 3, 10, 9, 8 +9, 3, 4, 10, 8 +10, 2, 5, 4, 8 +11, 4, 11, 10, 8 +12, 4, 5, 11, 8 +*NSET, NSET=BASE +1, 2, 7, 8 +*NSET, NSET=LEFT +1, 6, 7, 12 +*NSET, NSET=ALLNODES +1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 +*NSET, NSET=CREST +3, 4, 9, 10 +*NSET, NSET=SLOPE_FACE +5, 6, 11, 12 +*MATERIAL, NAME=ELASTIC_SOIL +*ELASTIC +2.0E7, 0.3 +*DENSITY +1940.0 +*SOLID SECTION, ELSET=SLOPE, MATERIAL=ELASTIC_SOIL +*BOUNDARY +ALLNODES, 2, 2, 0.0 +BASE, 3, 3, 0.0 +LEFT, 1, 1, 0.0 +*STEP +*STATIC +*CLOAD +3, 3, -1.0E5 +4, 3, -1.0E5 +5, 3, -5.0E4 +6, 3, -5.0E4 +9, 3, -1.0E5 +10, 3, -1.0E5 +11, 3, -5.0E4 +12, 3, -5.0E4 +*END STEP diff --git a/examples/tension2D/run_case.bat b/examples/tension2D/run_case.bat new file mode 100644 index 0000000..b68dc67 --- /dev/null +++ b/examples/tension2D/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "tension2D" "--run" "disp0_0001quad.inp" "100" +exit /b %errorlevel% diff --git a/examples/uniaxialTension3D/run_case.bat b/examples/uniaxialTension3D/run_case.bat new file mode 100644 index 0000000..29240fe --- /dev/null +++ b/examples/uniaxialTension3D/run_case.bat @@ -0,0 +1,3 @@ +@echo off +call "%~dp0..\run_example_case.bat" "%~dp0" "uniaxialTension3D" "--run" "disp0_0001hex.inp" "100" +exit /b %errorlevel% diff --git a/tests/scripts/check_examples_layout.py b/tests/scripts/check_examples_layout.py new file mode 100644 index 0000000..4c624cc --- /dev/null +++ b/tests/scripts/check_examples_layout.py @@ -0,0 +1,74 @@ +from __future__ import annotations + +import argparse +import re +import sys +from pathlib import Path + + +DOC_SUFFIXES = {".md", ".pdf", ".txt", ".rst"} + + +def parse_args() -> argparse.Namespace: + parser = argparse.ArgumentParser(description="Check FemLite example folder layout.") + parser.add_argument("repo_root") + return parser.parse_args() + + +def main() -> int: + args = parse_args() + repo_root = Path(args.repo_root).resolve() + examples_dir = repo_root / "examples" + violations: list[str] = [] + + if not examples_dir.exists(): + print(f"examples directory does not exist: {examples_dir}") + return 1 + + for folder in sorted(path for path in examples_dir.iterdir() if path.is_dir()): + files = [path for path in folder.iterdir() if path.is_file()] + inputs = sorted(path.name for path in files if path.suffix.lower() == ".inp") + docs = sorted(path.name for path in files if path.suffix.lower() in DOC_SUFFIXES) + run_case = folder / "run_case.bat" + + if docs and not inputs: + violations.append( + f"{folder.relative_to(repo_root)} has documentation but no .inp case" + ) + if inputs and not run_case.exists(): + violations.append( + f"{folder.relative_to(repo_root)} has .inp cases but no run_case.bat" + ) + if run_case.exists(): + text = run_case.read_text(encoding="utf-8", errors="replace").lower() + if "femlite" not in text and "run_example_case.bat" not in text: + violations.append( + f"{run_case.relative_to(repo_root)} does not appear to launch FemLite" + ) + for raw_line in text.splitlines(): + if "run_example_case.bat" not in raw_line: + continue + quoted = re.findall(r'"([^"]+)"', raw_line) + if len(quoted) < 5: + violations.append( + f"{run_case.relative_to(repo_root)} has a malformed helper call" + ) + continue + input_name = quoted[4] + if not (folder / input_name).exists(): + violations.append( + f"{run_case.relative_to(repo_root)} points to missing input {input_name}" + ) + + if violations: + print("Example layout violations:") + for violation in violations: + print(f" {violation}") + return 1 + + print("Example layout passed: documented folders have .inp cases and runnable scripts.") + return 0 + + +if __name__ == "__main__": + sys.exit(main())