Jump to content
RokHodnik

Compose - Flux coupling

Recommended Posts

Hello!

 

I'm working on a project where I would need to couple Altair Compose with Flux. 

I would like to set up parameters and feed them in Flux and import results back in to Compose for post processing.

 

Where can I access the commands library with definitions for such coupling of Compose and Flux?

 

Thanks.

 

Best regards,

Rok Hodnik

Share this post


Link to post
Share on other sites

@robertavarela thank you for your reply.  I was looking for something language wise rather than block diagrams due to ease of use.  

I know that Altair Flux can be run using python commands or using Matlab. 

So I am looking for a list of available commands (if it exists).

 

Thanks. 

 

Best regards,

Rok Hodnik

Share this post


Link to post
Share on other sites

Rok,

 

I see now what you mean. I suggest the following steps then:

1) Use Compose and its OML Math functions to create whatever inputs you need in Flux: as Flux has a native interface with Python, these arguments could be simply written in a .py file that can be loaded in Flux

 

2) Create a batch file in Compose calling Flux and passing these parameters: the executable is located at C:\Program Files\Altair\<your_version>\flux\Flux and you can pass a .py file as an extra argument

image.png.20bde7659a5e12b991f4178def6425df.png

 

3) Post-process the results once the simulation is finished using Compose: Flux may output .h3d format that is natively understood by Compose with functions such as readcae. If you have questions about how to import the results, you can load your .h3d file in readvectorbuilder and see how the entities were written:

image.png.2541646259e0cd21be6e97168e9e875e.png

With this, you drastically reduce the post-processing time by loading all relevant information with just a few commands.

 

Regards,

 

Roberta

RokHodnik likes this

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...