Application Programming Interface (API)

Application Programming Interface (API)

Anonymous
Not applicable
1,023 Views
5 Replies
Message 1 of 6

Application Programming Interface (API)

Anonymous
Not applicable

Hello,

From what I know, Application Programming interface (API) could provides ways to work with Autodesk Simulation CFD functionality that are not readily available in the user interface by loading a self defined python script.

 

In Autodesk CFD, the phase change process could not be simulated, because the physical status could not change. Once defining a object as solid, it will always be solid, no matter how much heat it absorbs.

 

Can I load a self-defined script to accomplish it? Let the solid phase transfer to liquid phase when reaches a specific temperature.

 

 

Best

Wen

0 Likes
Accepted solutions (1)
1,024 Views
5 Replies
Replies (5)
Message 2 of 6

Jon.Wilde
Alumni
Alumni
Accepted solution

Hi,

 

This is not possible unfortunately, no. The API is really just automating what is already there and not necessarily adding functionality.

I'm afraid this remains outside of the scope of CFD for us.


Thanks for asking though 🙂

Jon

0 Likes
Message 3 of 6

Anonymous
Not applicable

The Python API is more for automating functionality that is already there.  You still have to be careful since not everything in the UI is exposed to the API.

 

To access new functionality like you are describing, you would either need to get a higher-end code or you could also go the "free" route and get an opensource code such as OpenFoam and program it yourself.

0 Likes
Message 4 of 6

Anonymous
Not applicable
Can I load the opensourse code into Autodesk Cfd? It seems like Cfd could only load Python API.
0 Likes
Message 5 of 6

Anonymous
Not applicable

Can I load the opensourse code into Autodesk Cfd? It seems like Cfd could only load Python API.

0 Likes
Message 6 of 6

Anonymous
Not applicable

No.  OpenFoam is an entirely different program.