File size: 2,871 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-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"
}