-
-
July 11, 2023 at 11:59 amLuke DriverSubscriber
Hi,
So as the title describes, I'm using MATLAB to open up ansys ICEM. In MATLAB im doing this using:
ICEM_Path = 'C:\Program Files\ANSYS Inc\v221\icemcfd\win64_amd\bin\icemcfd';
ICEM_Script = [currentFolder, '\ICEM_Script.tcl'];
system(['"' ICEM_Path '" -script "' ICEM_Script '"'])
The file path is correct for both, and it is opening up ansys ICEM. I have also tried opening up the icem.bat file and the same error persists. The problem is the script is not working. Its giving me the error of:
ERROR:plPartMgr ->AttatchAssembley() failed!
Now the weird thing is, when I open up ansys ICEM using the windows start bar (i.e. typing in ICEM and opening it up that way) the script runs fine and generates my mesh as expected. Is there some problem with the MATLAB version, or do I need some additional environment variables or something? I'm pretty stuck to why this is happening so any help would be appreciated.Â
I will say that I do not exactly have ansys ICEM downloaded, I'm using AppsAnywhere, but all the files do show up on my computer so i can access them. I can open up fluent with a script and spaceclaim with a script using the same MATLAB code. -
July 11, 2023 at 3:30 pmEssenceAnsys Employee
Hello,
Which version of Matlab and ICEM are you using? Could you please check the CAD configuration? Seems like installation issue to me.
-
July 11, 2023 at 3:32 pmLuke DriverSubscriber
Hi,Â
Im using Ansys 2022 R1 and MATLAB R2020a. I could use a future version of MATLAB and see if that works?
The geometry that I am using is fine because the script works when I dont use MATLAB (i.e. importing the geometry and mesh creation works in the script) -
July 11, 2023 at 3:48 pmLuke DriverSubscriber
The MATLAB version doesnt make any difference.Â
When I open up ICEM through normally i.e. through the windows star bar, or going into the folder and opening the batch file, a command window opens. When I open up ICEM through MATLAB, it doesnt open up this terminal. I would suppose this terminal is what ICEM uses to perform commands. Maybe this is the issue? -
July 11, 2023 at 4:19 pm
-
July 12, 2023 at 9:38 amEssenceAnsys Employee
Hello,
"I would suppose this terminal is what ICEM uses to perform commands."Â This might be the issue because, while importing the geometry, the working lines and points get selected when starting the ICEM.
Could you try to select them using Matlab?
-
July 12, 2023 at 10:56 amLuke DriverSubscriber
What do you mean by "try to select them using MATLAB"?
When i run my scritpt im importing a .x_t file that (exported from spaceclaim). Should I try another file type? -
July 12, 2023 at 2:45 pmEssenceAnsys Employee
I was referring to select the working points and lines using Matlab. Is it possible?
Yes, please try using .step or .iges files.
-
- The topic ‘Opening ICEM with MATLAB’ is closed to new replies.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Fluent fails with Intel MPI protocol on 2 nodes
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script error Code: 800a000d
- Encountering Error in Heterogeneous Surface Reaction
-
1191
-
513
-
488
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.