HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
2.31 kB
{
"id": "single-software-execution--cli--calculix--task-01--ubuntu",
"snapshot": "CalculiX-2.21",
"instruction": "Work from a CalculiX beam-element template `/home/user/Desktop/beam_rect.inp`. Run `ccx --version` or invoke the installed `ccx` binary from a terminal. Use `/usr/bin/ccx` for the CalculiX solve and `/usr/bin/cgx` when CGX processing is needed.\n\nNote that in CalculiX, `B32` is a 3-node quadratic beam element, but the current model defines only 2 nodes. Complete the following from the command line: 1. Modify and generate `/home/user/Desktop/beam.inp`: Please save the final input file as /home/user/Desktop/beam.inp. - Insert middle node 3 between nodes 1 and 2 (coordinates `50,0,0`) - Change element 1 connectivity to `1,3,2` (`B32` requires 3 nodes) - Define a `10×10 mm` rectangular section - Fully constrain node 1 (`1,2,3,4,5,6`) - Apply `FY=-100 N` at node 2 2. Submit the job and write a post-processing script to parse `beam.dat`: - Extract node-2 `UY` (deflection) - Extract element-1 Mises stress (from `S11`, axial stress in beam) - Write to `/home/user/Desktop/summary.txt` in this format: `tip_uy, max_mises`",
"source": "https://github.com/calculix/CalculiX-Examples",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-01/init_file/beam_rect.inp",
"path": "/home/user/Desktop/beam_rect.inp"
}
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"calculix"
],
"artifact_paths": [
"/home/user/Desktop/beam.dat",
"/home/user/Desktop/beam.inp",
"/home/user/Desktop/summary.txt"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-01/eval.py",
"path": "/home/user/Desktop/eval.py"
}
]
}
}
],
"func": "exact_match",
"result": {
"type": "vm_command_line",
"command": "python3 /home/user/Desktop/eval.py",
"shell": "true"
},
"expected": {
"type": "rule",
"rules": {
"expected": "True\n"
}
}
},
"proxy": false,
"fixed_ip": false,
"possibility_of_env_change": "low"
}