File size: 3,276 Bytes
5154c4e
3de3b50
5154c4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
  "id": "single-software-execution--cli--ansys--task-13--windows",
  "snapshot": "ANSYS-2026R",
  "instruction": "Complete a nonlinear static structural analysis 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 the steps below, launch ANSYS Workbench with `C:\\Program Files\\ANSYS Inc\\v261\\Framework\\bin\\Win64\\RunWB2.exe`.\n\nPhysical problem: A solid round bar made of ideal elastic-plastic steel is subjected to displacement-controlled uniaxial tension. Coordinate system and geometry: - Use the global Cartesian coordinate system. - The cylinder axis is along the global Y direction. - The bar length is 50 mm. - The bar diameter is 10 mm. - The circular cross-section is centered on the global Y axis. - Model the solid cylinder with: - Radius = 5 mm - 0 ≤ Y ≤ 50 mm - The fixed end face is the circular face at Y = 0 mm. - The displacement-controlled end face is the circular face at Y = 50 mm. Model parameters: - Element type: SOLID185 - Mesh: global element size 3 mm - Material: ideal elastic-plastic steel - Use a consistent N-mm-MPa unit system. - Linear elastic properties: - Young's modulus E = 210000 MPa - Poisson's ratio ν = 0.3 - Plasticity: - Use bilinear isotropic hardening or an equivalent ideal elastic-plastic model. - Initial yield strength = 250 MPa - Tangent modulus = 0 MPa Boundary conditions and load: - Fixed end face at Y = 0 mm: - Fully constrain UX, UY, and UZ on the entire face. - Loaded end face at Y = 50 mm: - Apply displacement-controlled tension by prescribing UY = 2 mm on the entire face. - Prevent unnecessary rigid-body motion while preserving uniaxial tensile deformation. Analysis type: - Nonlinear static structural analysis. - Enable large deflection. - Use automatic time stepping. - Use 50 to 100 substeps or an equivalent nonlinear solution control sufficient for convergence. Save requirements: - Use C:\\Users\\user\\Desktop as the ANSYS working directory. - Save the database file as: C:\\Users\\user\\Desktop\\apdl_plastic.db - Save the structural result file as: C:\\Users\\user\\Desktop\\apdl_plastic.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_plastic.db",
    "C:\\Users\\user\\Desktop\\apdl_plastic.rst"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-13/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"
}