The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Is there convhull function in Compose?
If not , are there some solution about this function?
Hello Seoksan Kim,
The convhull function is not present in Compose. But there is a ticket VSM - 4208 which is for creating convex hull.
Thanks,
Sijo George
Hi Seoksan Kim,
As COMPOSE has a great feature of communicating between python environment and OML environment. we can utilize this feature to achieve the task when compose OML doesnt support any function.
Scipy.spatial python library has ConvexHull function in it. we can use this to get the Convhull function in OML. You can install the Scipy python library as attached file
I have attached the sample scripts that i created for the same.
steps to run the scripts after installing scipy:
1. save the files in a folder
2. open test.oml in COMPOSE and set the working directory to the folder in step1.
3. Run test.oml
You will get convhull points as variable k.
Hope this helps.
Please let me know if you have any questions.
<?xml version="1.0" encoding="UTF-8"?>
Unable to find an attachment - read this blog
Hello Manoj,
I attached modified .oml and .py file to plot a closed outline graph.
Perfect Seoksan. I edited the python file which i was using and posted in the forum as an example. Good that you modified the script to reduce the lines, plot and made it more elegantly /emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />
MK
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…