Comments (8)
Can you email me at [email protected]?
from pymapdl.
I'll work on this as soon as I get the rst file. Please include a text output of the results that you'd like me to achieve like in #17.
from pymapdl.
Thank you. I will send you the ANSYS rst file and the expected text output shortly. I am working on it.
from pymapdl.
Alex,
I emailed you the ANSYS rst file (v18.2) and the expected outputs.
Please let me know if you need any other info from me.
Thanks,
-Shobeir
from pymapdl.
Results for SHELL181 elements now match ANSYS output in both the element coordinate system and the global coordinate system. Updated in 0.32.4. See the documentation for ElementStress.
from pymapdl.
Alex,
Thanks for the update. This is really a good improvement. I removed the previous version and downloaded the updated 0.32.4. version and successfully reinstalled it through Anaconda distributor by using "pip install pyansys" command. However, I am still getting the previous results (mid-plane stress) and not the top and bottom surface stresses. Here is what I have
import numpy as np
import pyansys
result=pyansys.ResultReader('Test.rst')
estress, elem, enode= result.ElementStress(0,False)
When I try to change the coordinate system by typing
estress, elem, enode= result.ElementStress(0,False,True)
I get the following error:
TypeError: ElementStress() takes from 2 to 3 positional arguments but 4 were given
It seems that my pyansys has not been updated. Am I missing anything here?
Thanks,
-Shobeir
from pymapdl.
Alex,
Never mind about my previous comment. I resolved the installation issue.
Every thing works perfect now. Thank you so much.
Just a couple of suggestions for future considerations:
(1) Might be good to include an option to extract the stresses for certain element numbers and not for all the available elements.
(2) I guess the updated version works fine for all Shell elements and not only for Shell 181, is this correct? I can test it and let you know.
Thanks again.
Best,
-Shobeir
from pymapdl.
You can create a mask or loop through specific elements if you’d like only the stresses of those elements. I suppose there would be a speed up if you only wanted the stress of certain elements. If it’s critical, let me know.
I only programmed it for SHELL181. If you send me a rst file with a different shell type I can add it to the source. I’d sure it won’t be much code on my side, but I like to have tests to support code and I don’t usually work with shells.
from pymapdl.
Related Issues (20)
- Problems whith trying to use two different instances of mapdl in the new version of ansys-mapdl-core HOT 2
- Black MAPDL window opens when compiling a program with PyMAPDL HOT 9
- MAPDL server connection terminated when using parameters HOT 6
- RDEC and VFQUERY need updating. HOT 2
- Bug located in element_values of JT, SUM in that it changes the set of selected elements after. HOT 1
- Version/Command mismatch on doc page
- Bug located in MPCOPY and other commands which has unused field HOT 5
- Add /CYCEXPAND APDL command.
- MAPDL commands do not match API HOT 1
- Large files in the final python package HOT 1
- `sphinx-build` configuration is not being catched
- Failed scheduled build HOT 13
- post_processing.plot_nodal_pressure() fails for CPT element type though data is there.
- On the MSTOLE the two fields with component names seem to require the names be enclosed in single quotes by MAPDL aaS.
- MAPDL server connection terminated when running on linux container HOT 1
- Hello, is there any method to calculate
- In `mapdl.input_strings(cmd)`, if cmd is very long command, it fails with `MapdlExitedError` HOT 2
- Add support for EEMBED and SFCONTROL
- Add support for Solid293
- Add support for new commands for multistage cyclic symmetry and harmonic balance method.
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.