Root cause: Path.absolute() on Windows does NOT resolve '..' components. sim_file_path was reaching NX as '...\studies\01_doe_landscape\..\..\models\Beam_sim1.sim' NX likely can't resolve referenced parts from a path with '..' in it. Fixes: - nx_interface.py: glob from self.model_dir (resolved) not model_dir (raw) - solver.py: sim_file.resolve() instead of sim_file.absolute() - solve_simulation.py: os.path.abspath(sim_file_path) at entry point - Diagnostic logging still in place for next run
15 lines
400 B
JSON
15 lines
400 B
JSON
{
|
|
"iteration": 2,
|
|
"expressions": {
|
|
"beam_half_core_thickness": 16.7813185433211,
|
|
"beam_face_thickness": 26.83364680743843,
|
|
"holes_diameter": 192.42062402658527,
|
|
"hole_count": 8.0
|
|
},
|
|
"trial_input": {
|
|
"beam_half_core_thickness": 16.7813185433211,
|
|
"beam_face_thickness": 26.83364680743843,
|
|
"holes_diameter": 192.42062402658527,
|
|
"hole_count": 8
|
|
}
|
|
} |