Comments (6)
What you're seeing is the stresses at only edge nodes as ANSYS does not store strain and stresses at midside points
If you still need the stress at the mid side nodes, since ANSYS does store displacements for its midside nodes, if you knew the shape functions of the element, you could evaluate the stress at the midside nodes. It might be easier to interpolate using polyharmonic splines based on the stresses at edge nodes.
from pymapdl.
Thanks for the quick answer!
Is there a possibility to get the assignment of node and output stress value easily?
Best regards,
from pymapdl.
No problem!
The trick is to use the stored edge index self.edge_node_num_idx
in the result object. Here's a snippet from the source:
# Initialize stress array for all nodes
stress = np.zeros((self.resultheader['nnod'], 6))
# Populate with nodal stress at edge nodes
stress[self.edge_node_num_idx] = self.NodalStress(rnum)
Where self
is the result object.
from pymapdl.
Thanks! Worked well!
from pymapdl.
from pymapdl.
There is. This is a separate issue. Could you open a new one?
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.