Comments (12)
Using Linux? ANSYS corba is a bit more limited than using pexpect
. You can get around this by setting prefer_pexpect=True
when initializing ansys:
import pyansys
ansys = pyansys.ANSYS(prefer_pexpect=True)
I'll add something in the docs about this error.
from pymapdl.
No, I'm on Windows. And I already tried to use prefer_pexpect=True
, with no success...
from pymapdl.
I changed the error reporting to raise an exception when commands couldn't run through CORBA. Before they were just warnings in the logger.
If possible, please send me the input file that you're using and I'll take a look at it. It might be necessary to run this command non-interactively. See the documentation for how to do that.
from pymapdl.
Ah, I see. So ANSYS does not support all commands through CORBA? I've tried to search for a list of what commands that are or are not supported this way - haven't been able to finde one....
from pymapdl.
I've tried to use ansys.non-interactive as described in the documentation. Unfortunately, I keep getting 'permission denied' errors when attempting to write to tmp.inp. It doesn't help to delete the file first or uncheck its read-only flag. Have you tested this on Windows?
from pymapdl.
CORBA documentation has been lacking from ANSYS, which makes writing a python module to support it quite difficult. There's a few thousand APDL commands and I have not yet tested all of them. Conversion of the verification files is an ongoing process.
I'll have to test the non_interactive feature in Windows. I honestly can't test it fully each time on both Linux and Windows for each release, especially as I can't get a copy of ANSYS on Travis CI and Appveyor. Functional testing ends up being local and only on major releases.
Either way, I'll have to debug this, make list of non-supported CORBA commands, and then raise a meaningful exception when it does so people know how to deal with them.
from pymapdl.
There's no rush. I might take a look at the code myself and see how I can get around it.
from pymapdl.
is it possible to start ansys gui and send the command to it
from pymapdl.
Yes, use open_gui
.
from pymapdl.
can we send all the commands in GUI or some exceptions are there.
from pymapdl.
Not all commands are available in the GUI. This is noted in ANSYS help see:
APDL Commands
from pymapdl.
Closing due to inactivity. Please open again with specific commands that should be available within pyansys but are not GUI only commands.
from pymapdl.
Related Issues (20)
- [SUMMARY] MAPDL features/bugs implementation list HOT 1
- Failed scheduled build HOT 1
- Failed scheduled build HOT 1
- Bug located in `launch_mapdl`
- Bug located in MODE command. HOT 2
- Failed scheduled build HOT 2
- Bug located in enriched command output for prcint HOT 5
- convert_script returns a INF instead of "INF" on the SF command and 'type' instead of skipping /TYPE. HOT 2
- Failed scheduled build HOT 4
- Logging setup on bare import HOT 11
- Failed scheduled build HOT 1
- Unhandeled exception when using get_value to retrieve 'twsi' values. HOT 6
- Failed scheduled build
- Failed scheduled build HOT 1
- Remark on Documentation Notes for "PostProcessing.nodal_displacement(...)" and "PostProcessing.nodal_component_stress(...)" and maybe others? HOT 1
- Failed scheduled build HOT 3
- Failed scheduled build HOT 1
- ACCOPTION causes pymapdl run to fail HOT 7
- Failed scheduled build HOT 13
- Some examples are not plotting properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymapdl.