ansys / pyseascape

Pythonic interface to Ansys RedHawk-SC, Totem-SC and other seascape tools
https://seascape.docs.pyansys.com
MIT License
3 stars 0 forks source link

How to co-simulate with ICEPAK? #135

Closed Brilight closed 1 week ago

Brilight commented 3 months ago

🔍 Before submitting the issue

🐞 Description of the bug

hi there, thanks for your contribution on the package!

Recently, I am engaged in simulating the advanced package system with ANSYS, including RedHawk and Icepak in my python env. So I am curious about how to co-simulate these two tools. Could you please provide with an example or some illustrations?

📝 Steps to reproduce

None

💻 Which operating system are you using?

Linux

📀 Which ANSYS version are you using?

ANSYS AEDT Student version 23.2 RedHawk 2023

🐍 Which Python version are you using?

3.9

📦 Installed packages

Pyaedt
PySeascape 
and other required
RobPasMue commented 3 months ago

Pinging @kaleabhip for visibilitity

kaleabhip commented 3 months ago

@Brilight I talked with the internal teams. Currently, there are no co-simulation capabilities between AEDT and Redhawk. Also, there are multiple products in the Redhawk group including RedHawk, RedHawk-SC, RedHawk-SC ET, and so on. PySeaScape specifically connects to RedHawk-SC backend. Can you please specify what is the exact simulation/scenario that you are working with? I can help you better help you with what solutions we have.

Brilight commented 3 months ago

@Brilight I talked with the internal teams. Currently, there are no co-simulation capabilities between AEDT and Redhawk. Also, there are multiple products in the Redhawk group including RedHawk, RedHawk-SC, RedHawk-SC ET, and so on. PySeaScape specifically connects to RedHawk-SC backend. Can you please specify what is the exact simulation/scenario that you are working with? I can help you better help you with what solutions we have.

Thanks for your kind reply~ Actually, I am working on the power-thermal co-simulation of 3DIC. So I want to try the co-simulation flow composed of ICEPAK and RedHawk SC ET, an interesting feature announced last year. Since I also want to optimize the 3DIC structure with python scripts, so i open the issue to look up for methods for the co-simulation of icepak and redhawk sc et in python env. Again, thanks for your help~

lorenzovecchietti commented 3 months ago

Hi @Brilight,

you want to apply to your RH-SC ET simulation HTC boundary conditions from Icepak, right? immagine

For the pyAEDT side, once you simulation is done, you can just use this function to save the file with the HTC boundary condition you'll want to use in RH-SC ET.

So the relevant part of the code will be something like this:

import pyaedt

ipk=pyaedt.Icepak()
# code to setup and solve simulation
output_file = "C:\\test.fld"
ipk.post.export_field_file(quantity="Heat_Transfer_Coeff", objects_type="Surf", assignment="AllObjects", output_dir=output_file )

Let's see if someone is able to help on the pyseascape side, else I'll try to have a look next week. Hope this helps :)

kaleabhip commented 1 month ago

@Brilight Is your issue resolved? If so, I will mark this as closed.

kaleabhip commented 1 week ago

No update. Closing this issue. Please reopen if needed