Giter VIP home page Giter VIP logo

Comments (6)

akaszynski avatar akaszynski commented on May 25, 2024

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.

FEMstudent avatar FEMstudent commented on May 25, 2024

Thanks for the quick answer!
Is there a possibility to get the assignment of node and output stress value easily?

Best regards,

from pymapdl.

akaszynski avatar akaszynski commented on May 25, 2024

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.

FEMstudent avatar FEMstudent commented on May 25, 2024

Thanks! Worked well!

from pymapdl.

abhijeet-pandey avatar abhijeet-pandey commented on May 25, 2024

from pymapdl.

akaszynski avatar akaszynski commented on May 25, 2024

There is. This is a separate issue. Could you open a new one?

from pymapdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.