Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EMBEDDED] Issue when importing load in Static Structural linked to Thermal analysis #998

Open
dipinknair opened this issue Dec 9, 2024 · 2 comments

Comments

@dipinknair
Copy link
Collaborator

Thermal_Analysis = Model.Analyses[0]

Struc_Analysis = Model.Analyses[1]

strucAnalysis.ImportLoad(thermAnalysis)

The issue is only seen with PyMechanical embedding but works fine with Mechanical script running in batch mode

@youthkiss
Copy link

Hey, dipinknair. I am also unable to import temperature data when performing thermo-mechanical coupling. May I ask if you have resolved the issue on your end?

@dipinknair
Copy link
Collaborator Author

@youthkiss Hi Currently this is because of limitation of Mechanical. But the work around to use the "WorkBench" configuration instead of "Mechanical" . Please find the code below

from ansys.mechanical.core import App
from ansys.mechanical.core.embedding import AddinConfiguration

# config = AddinConfiguration("Mechanical")
config = AddinConfiguration("WorkBench")
config.no_act_addins = True
app = App(config=config)

@dipinknair dipinknair changed the title [Embedding] Issue when importing load in Static Structural linked to Thermal analysis [EMBEDDED] Issue when importing load in Static Structural linked to Thermal analysis Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants