File size: 3,810 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
54
{
  "id": "single-software-execution--cli--ansys--task-11--windows",
  "snapshot": "ANSYS-2026R",
  "instruction": "Using ANSYS Workbench via the Command Line Interface (CLI), complete a nonlinear Static Structural contact analysis. 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: An elastic steel sphere presses against an elastic steel plate through frictionless contact. Coordinate system and geometry: - Use the global Cartesian coordinate system. - Use a full 3D model. - The vertical loading direction is the negative global Y direction. - The plate is centered about the global origin in the X-Z plane. - The plate dimensions are: - X direction: 100 mm - Z direction: 100 mm - Y direction thickness: 10 mm - Place the plate so that: - The top surface is at Y = 0 mm - The bottom surface is at Y = -10 mm - The sphere radius is 10 mm. - Place the sphere above the plate with its center on the global Y axis. - The lower point of the sphere should initially contact the center of the plate top surface. Model parameters: - Sphere material: Structural Steel - Plate material: Structural Steel - Use the following linear elastic properties for both bodies: - Young's modulus E = 210000 MPa - Poisson's ratio ν = 0.3 - Mesh: - Use local refinement in the contact region. - Local element size in the contact region: 0.3 mm - Element size away from the contact region: 2 mm Contact setup: - Contact pair: sphere surface against the top surface of the plate. - Contact type: Frictionless. - Contact formulation: Augmented Lagrange or Pure Penalty. - Use appropriate normal contact stiffness settings to obtain a converged nonlinear contact solution. Boundary conditions and load: - Fix the bottom face of the plate. - Apply a vertical compressive force of 500 N to the sphere in the negative global Y direction. - Prevent only the unnecessary rigid-body lateral motion of the sphere, while allowing the sphere to move vertically into contact with the plate. - Do not fully fix the sphere. Analysis type: - Nonlinear Static Structural analysis. - Enable large deflection. - Use automatic time stepping or sufficient load substeps to obtain a converged contact solution. Save requirements: - Use C:\\Users\\user\\Desktop as the working location. - Save the Workbench project file as: C:\\Users\\user\\Desktop\\wb_hertz.wbpj - Save the MAPDL-equivalent database file as: C:\\Users\\user\\Desktop\\wb_hertz.db - Save the MAPDL-equivalent structural result file as: C:\\Users\\user\\Desktop\\wb_hertz.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\\wb_hertz.db",
    "C:\\Users\\user\\Desktop\\wb_hertz.rst",
    "C:\\Users\\user\\Desktop\\wb_hertz.wbpj"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-11/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"
}