User login

You are here

Biswajit Banerjee's blog

Nonlinear programming and closest point return plasticity

New article:  Nonlinear programming and closest point return plasticity http://www.parresianz.com/mechanics/plasticity/algorithm/primal-dual-closest-point-return/

This article tries to justify the use of backward Euler stress updates.

-- Biswajit

Forward vs backward Euler for return algorithms

In Part 5 of my series on return mapping for plane stress plasticity, I claim that the obsession with backward Euler is not justified if accuracy is important.  See http://www.parresianz.com/mechanics/plasticity/algorithm/plane-stress-drucker-prager-return-part-5/.

Let me know if you disagree and why.

-- Biswajit

More on plane stress Drucker-Prager plasticity

Parts 3 and 4 of the series on plane stress Drucker-Prager plasticity are now online.  More to come soon.

Check out 

http://www.parresianz.com/mechanics/plasticity/algorithm/plane-stress-drucker-prager-return-part-3/

and

Compressing XML input files for particle simulations

Creating compressed base64 encoded XML input files for million particle DEM simulations:  http://www.parresianz.com/r/xml/xml-particle-input-file/

- Biswajit

vtk.js vs. three.js

vtk.js is a recently released javacript version of vtk. Here's my experience with it and how it compares with three.js today. http://www.parresianz.com/javascript/typescript/vtkjs/threejs/vue/vtkjs-ellipsoid/ 

-- Biswajit

Visualizing ellipsoidal particles with three.js

You will find my new article on visualizing ellisoids with three.js at http://www.parresianz.com/javascript/typescript/threejs/vue/vtk-threejs-ellipsoid/

This series contains almost all the information you will need to create your own viz tools in javascript.

-- Biswajit

Javascript frontend for simulations?

I've been exploring the possibility of frontend development for engineering simulations in Javascript.  Following on from the previous post on generating VTK XML particle data output files from our simulation, her's a new post on reading in those files in Javascript.  See my article at http://www.parresianz.com/javascript/typescript/vue/vuex/xml/reading-vtk-particles/.

-- Biswajit

Particles and VTK

The find out how data from your particle simulations can be written out in VTK XML format, examine http://www.parresianz.com/c++/xml/vtk/vtk-particle-output/

-- Biswajit

Writing VTK output files in C++

If you're interested in visualizing your data with Visit or Paraview, it's convenient to write out VTK files.  If you are a C++ person you will find my post at http://www.parresianz.com/c++/xml/vtk/vtk-output/ of interest.

-- Biswajit

JSON or XML for your input files?

Either, depending on your taste and use-case.  I prefer XML for aesthetic reasons, but that format can get verbose.  Check out my new post on how to read JSON files in your C++ code at http://www.parresianz.com/c++/json/json-input/.

-- Biswajit

Reading input files in your C++ research code

Mechanics research codes are typically written by graduate students who aim to get their work done as quickly as possible. These codes are not meant to last beyond the publication of a few related papers. These files have the advantage that they can be read in quickly using an input file stream and the code for doing that can be written in minutes. 

Regression testing with the Command design pattern

Computational mechanics practitioners are not typically known for practising well-established software engineering techniques. That makes code developed by various research groups next to impossible to understand and modify.  I still see requests on iMechanica on how to implement Drucker-Prager models when every freshman student probably has their own implementation.  It is likely that the person who developed a particular code cannot themselves understand the code a few years after the relevant paper has been published.  

Modernizing your old c++ code

Continuing yesterday's thread on new C++ productivity tools, here's another one on using clang-tidy to modernize your code automatically to C++11/14. Life becomes markedly easier after the code has been updated.  Check out my post at http://www.parresianz.com/c++/clang-tidy/ to see how I've integrated clang-tidy into my toolchain.

-- Biswajit

Formatting your C++ code

Some of you may be involved in computational work where your students develop C++ codes.  If the code is formatted well it's easier to read and understand.  With the creation of clang-format, the job of formatting (and not just indentation) can now be automated to a great extent.  For a few pointers on how-to, check out my post at http://www.parresianz.com/c++/clang-format/.

-- Biswajit

A disseration style worth emulating ?

http://www.theliberatedmathematician.com/wp-content/uploads/2015/11/PiperThesisPostPrint.pdf

Abstract:

... We do not assume any of those words make any kind of sense, though we do make certain assumptions about how much time the reader has on her hands and what kind of sense of humor she has.

I urge you to read the rest of the dissertation.

GPU Technology Conference 2015

This year's talks are now at https://registration.gputechconf.com/form/session-listing

A large number of interesting talks from the 2014 conference can be found at http://on-demand-gtc.gputechconf.com/gtcnew/on-demand-gtc.php

There is even one talk on structural mechanics in the 2014 conf.

 

-- Biswajit

Sampling data from large numerical simulations - part 2

The new blog post discusses yet another application of the Linear Assignment Problem; in this case the use of the Hungarian algorithm for finding an optimal list of close data points to a set of point generated using Latin Hypercube sampling.  See http://www.parresianz.com//sampling/hungarian_algorithm/

-- Biswajit

Sampling data from large numerical simulations

Large numerical simulations lead to large data sets that typically need some sampling to make analysis tractable.  Check out my upcoming series of posts on the topic at http://www.parresianz.com//sampling/latin_hypercube_sampling/

-- Biswajit

Please support "Theoretical and Applied Mechanics" at Stack Exchange

Hello everyone,

I've proposed a new Stack Exchange site called "Theoretical and Applied Mechanics" for people intersted in mechaics related issues.  The current link is  http://area51.stackexchange.com/proposals/67726/theoretical-and-applied-mechanics?referrer=73mdEQ3M_DdhwHImwznaBQ2

For the proposal to be accepted to go to the next stage the site will need the  following:

- 60 people to follow the site

Pages

Subscribe to RSS - Biswajit Banerjee's blog

More comments

Syndicate

Subscribe to Syndicate