Giter Site home page Giter Site logo

Comments (2)

xwpken avatar xwpken commented on May 28, 2024

Hello, sigma represents the stress tensor at quadrature points within the element, while sigma_average represents the average stress tensor obtained from sigma. For a 3D problem, the dimensions of these two variables are (num_cells, num_quad_points, 3, 3) and (num_cells, 3, 3) respectively.

In the latest commit, we have added code to calculate the Von Mises stress vm_stress from sigma_average, and its dimensions are (num_cells,). It has been saved to the VTU file using the function save_sol . You can enable the data array vm_stress in ParaView to check it.

from jax-fem.

peps212 avatar peps212 commented on May 28, 2024

Thank you so much I really appreciate the help. One last question:

def get_surface_maps(self): def surface_map(u, x): return np.array([0., 0., 100.]) return [surface_map]

The value of the force applied, which in the demo is 100, is that in Newton?

from jax-fem.

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.