File size: 3,594 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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | {
"id": "single-software-execution--cli--openfast--task-05--ubuntu",
"snapshot": "openfast5",
"instruction": "`/home/user/Desktop/subdyn_base.fst`, `/home/user/Desktop/subdyn_oc3_base.dat`, and an NREL 5 MW OC3 dependency set is provided. Additional initialization dependencies are pre-uploaded under `/home/user/Desktop` with relative structure preserved. Only initialization inputs are included; no answer/result artifacts are preloaded.\n\nComplete a fixed-base SubDyn reaction-load analysis from the command line. 1. Write `/home/user/Desktop/build_case.py`. Create `/home/user/Desktop/subdyn.dat` from the supplied SubDyn template, retain its fully fixed mudline reaction joint, and request the native SubDyn channels `ReactFXss` and `ReactMYss`. 2. Create `/home/user/Desktop/elasto_subdyn.dat`, `/home/user/Desktop/aero_subdyn.dat`, and `/home/user/Desktop/servo_subdyn.dat` from the supplied module files and normalize their dependency paths to the desktop `5MW_Baseline` tree. Create `/home/user/Desktop/subdyn_case.fst` from the main template; set `TMax=30`, `CompSeaSt=0`, `CompHydro=0`, `CompSub=1`, `DT_Out=0.1`, `OutFileFmt=1`, and point `EDFile`, `AeroFile`, `ServoFile`, and `SubFile` to the generated files. 3. Run `/home/user/miniconda3/bin/openfast subdyn_case.fst`, retain `/home/user/Desktop/subdyn_case.out`, and save the console output as `/home/user/Desktop/subdyn_case.log`; require normal termination. 4. Write `/home/user/Desktop/postprocess.py` and use samples with `t >= 20 s` to compute mean `ReactMYss`; the glue-code channel is in N*m, so divide by `1e6` for MN-m. Compute mean `ReactFXss`; its channel is in N, so divide by `1000` for kN. Save `/home/user/Desktop/summary.txt` as one row `mean_reactmyss_mnm,mean_reactfxss_kn`. Do not use GUI tools.",
"source": "https://github.com/openFAST/r-test",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-05/init_file/init_file.tar",
"path": "/home/user/Desktop/init_file.tar"
}
]
}
},
{
"type": "launch",
"parameters": {
"command": "bash -c \"mkdir -p '/home/user/Desktop/' && tar -xf '/home/user/Desktop/init_file.tar' -C '/home/user/Desktop/' && rm -f '/home/user/Desktop/init_file.tar'\"",
"shell": true
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"openfast"
],
"artifact_paths": [
"/home/user/Desktop/aero_subdyn.dat",
"/home/user/Desktop/build_case.py",
"/home/user/Desktop/elasto_subdyn.dat",
"/home/user/Desktop/postprocess.py",
"/home/user/Desktop/servo_subdyn.dat",
"/home/user/Desktop/subdyn.dat",
"/home/user/Desktop/subdyn_base.fst",
"/home/user/Desktop/subdyn_case.fst",
"/home/user/Desktop/subdyn_case.log",
"/home/user/Desktop/subdyn_case.out",
"/home/user/Desktop/subdyn_oc3_base.dat",
"/home/user/Desktop/summary.txt"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-05/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"
}
|