File size: 3,104 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-06--windows",
  "snapshot": "ANSYS-2026R",
  "instruction": "Build and solve a 2D axisymmetric structural model of a thick-walled cylinder under internal pressure using ANSYS Mechanical APDL. To start ANSYS Workbench, run `C:\\Program Files\\ANSYS Inc\\v261\\ansys\\bin\\winx64\\ANSYS261.exe -g` (version/path may differ on your machine). On this machine, launch ANSYS Workbench with `C:\\Program Files\\ANSYS Inc\\v261\\Framework\\bin\\Win64\\RunWB2.exe`.\n\nPhysical problem: Axisymmetric thick-walled cylinder under internal pressure. Coordinate system and geometry: - Use the global Cartesian coordinate system for the axisymmetric cross-section. - X is the radial direction. - Y is the axial direction. - The cylinder has an inner diameter of 50 mm and an outer diameter of 100 mm. - Therefore, model the radial domain from X = 25 mm to X = 50 mm. - The axial thickness is 10 mm. - Model the rectangular axisymmetric cross-section: - 25 ≤ X ≤ 50 mm - 0 ≤ Y ≤ 10 mm - Do not model or constrain a symmetry axis at X = 0, because the cylinder has a central hole and the axis is outside the modeled annular cross-section. Model parameters: - Material: linear elastic steel - Young's modulus E = 210000 MPa - Poisson's ratio ν = 0.3 - Element type: PLANE183 with axisymmetric option enabled - Mesh: global element size 5 mm Boundary conditions and load: - Inner cylindrical surface at X = 25 mm: apply an internal pressure of 10 MPa acting on the cylinder wall. - Outer cylindrical surface at X = 50 mm: free surface. - Axial faces: - At Y = 0 mm: constrain axial displacement UY = 0. - At Y = 10 mm: constrain axial displacement UY = 0. - Do not constrain radial displacement UX on the inner or outer cylindrical surfaces. 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_cylinder.db - Save the structural result file as: C:\\Users\\user\\Desktop\\apdl_cylinder.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_cylinder.db",
    "C:\\Users\\user\\Desktop\\apdl_cylinder.rst"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-06/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"
}