Hi everyone,
This is a bit of an unusual request, so I'll try to explain the context. We are doing a multidimensional optimization of a tokamak fusion reactor, and have a CAD model built in Solid Edge ST2 Synchronous which is parametrically driven. So there is a Variables table (currently driven by an Excel spreadsheet) that contains certain key dimensions, which drives things like the overall size of the machine, aspect ratios of certain parts, etc.
The Solid Edge Assembly model is then exported to STEP, and the STEP file is imported into COMSOL Multiphysics for a couple electromagnetic/stress analysis, and also into a special front end built for the neutron transport code MCNP5 for a neutronics analysis. Then MCNP and Comsol output certain figures of merit (neutron damage rate to magnetic field coils, peak stress on the vacuum vessel, etc.).
The goal is to actually drive the entire process from a MATLAB multidimensional optimization "uber-loop" which will basically search in a multidimensional parameter space, calling the geometry builder (Solid Edge variables), export to STEP, import to our E&M/stress code (Comsol) and our neutronics code (MCNP), and then read back in the eventual figures of merit (as produced by Comsol and MCNP) and iterate to find the optimum shape for the reactor.
Okay, with all of that explanation out of the way, let me explain what I'm looking to do with Solid Edge. The idea is to have all of this happen automatically, without requiring a human to do File > Save As > Translated to do the STEP export every time.
So does anyone know a way to control Solid Edge from other Windows programs (e.g. Matlab)? I don't need to do much -- the geometry will be already built by me using the ordinary Solid Edge GUI -- it'll just be simple things like exporting to a STEP file.
Thanks for any help people can provide. Sorry for the length of the post.
This is a bit of an unusual request, so I'll try to explain the context. We are doing a multidimensional optimization of a tokamak fusion reactor, and have a CAD model built in Solid Edge ST2 Synchronous which is parametrically driven. So there is a Variables table (currently driven by an Excel spreadsheet) that contains certain key dimensions, which drives things like the overall size of the machine, aspect ratios of certain parts, etc.
The Solid Edge Assembly model is then exported to STEP, and the STEP file is imported into COMSOL Multiphysics for a couple electromagnetic/stress analysis, and also into a special front end built for the neutron transport code MCNP5 for a neutronics analysis. Then MCNP and Comsol output certain figures of merit (neutron damage rate to magnetic field coils, peak stress on the vacuum vessel, etc.).
The goal is to actually drive the entire process from a MATLAB multidimensional optimization "uber-loop" which will basically search in a multidimensional parameter space, calling the geometry builder (Solid Edge variables), export to STEP, import to our E&M/stress code (Comsol) and our neutronics code (MCNP), and then read back in the eventual figures of merit (as produced by Comsol and MCNP) and iterate to find the optimum shape for the reactor.
Okay, with all of that explanation out of the way, let me explain what I'm looking to do with Solid Edge. The idea is to have all of this happen automatically, without requiring a human to do File > Save As > Translated to do the STEP export every time.
So does anyone know a way to control Solid Edge from other Windows programs (e.g. Matlab)? I don't need to do much -- the geometry will be already built by me using the ordinary Solid Edge GUI -- it'll just be simple things like exporting to a STEP file.
Thanks for any help people can provide. Sorry for the length of the post.