HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
2.87 kB
{
"id": "single-software-execution--cli--ansys--task-07--windows",
"snapshot": "ANSYS-2026R",
"instruction": "Build and solve a 3D solid cantilever beam model using ANSYS Mechanical APDL via the Command Line Interface (CLI). To start ANSYS Workbench, run `C:\\Program Files\\ANSYS Inc\\v261\\ansys\\bin\\winx64\\ANSYS261.exe -g` (version/path may differ on your machine). For this workflow, launch ANSYS Workbench with `C:\\Program Files\\ANSYS Inc\\v261\\Framework\\bin\\Win64\\RunWB2.exe`.\n\nPhysical problem: A 3D solid cantilever beam is subjected to a concentrated force at the free end. Coordinate system and geometry: - Use the global Cartesian coordinate system. - The beam length is along the X direction. - The beam height is along the Y direction. - The beam width is along the Z direction. - The beam occupies: - 0 ≤ X ≤ 100 mm - 0 ≤ Y ≤ 10 mm - 0 ≤ Z ≤ 10 mm - The fixed end is the face at X = 0. - The free end is the face at X = 100. - The force application point is the top midpoint of the free end: - X = 100 mm - Y = 10 mm - Z = 5 mm Model parameters: - Beam cross section: 10 mm × 10 mm - Beam length: 100 mm - Material: linear elastic steel - Young's modulus E = 210000 MPa - Poisson's ratio ν = 0.3 - Element type: SOLID185 - Mesh: global element size 5 mm Boundary conditions and load: - Fully constrain all translational degrees of freedom on the fixed face X = 0. - Apply a concentrated force of 100 N in the negative global Y direction at the top midpoint of the free end, located at (100, 10, 5) mm. Analysis type: - Static structural analysis. Save requirements: - Use C:\\Users\\user\\Desktop as the ANSYS working directory. - Save the database file as: C:\\Users\\user\\Desktop\\apdl_solid_beam.db - Save the structural result file as: C:\\Users\\user\\Desktop\\apdl_solid_beam.rst",
"source": "https://github.com/ansys/pymapdl https://github.com/ansys/example-data",
"config": [
{
"type": "upload_file",
"parameters": {
"files": []
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"ansys"
],
"artifact_paths": [
"C:\\Users\\user\\Desktop\\apdl_solid_beam.db",
"C:\\Users\\user\\Desktop\\apdl_solid_beam.rst"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-07/eval.py",
"path": "C:\\Users\\user\\Desktop\\eval.py"
}
]
}
}
],
"func": "exact_match",
"result": {
"type": "vm_command_line",
"command": "python C:\\Users\\user\\Desktop\\eval.py",
"shell": "true"
},
"expected": {
"type": "rule",
"rules": {
"expected": "True\n"
}
}
},
"proxy": false,
"fixed_ip": false,
"possibility_of_env_change": "low"
}