Hey Kyunghoon, If you are using FEMSystem, see element_postprocess.C and side_postprocess.C in this example: libmesh/examples/adjoints/adjoints_ex1 ( http://libmesh.sourceforge.net/adjoints_ex1.php)
If you are not using FEMSystem, I believe all you will have to do is to write a loop over all elements, and then adapt the contents of element/side_postprocess.C to the interior of that loop. Thanks. On Sat, Jun 23, 2012 at 9:34 PM, Kyunghoon Lee <aeronova.mail...@gmail.com>wrote: > Hi all, > > I wonder what is the best way of computing strain and stress values with > displacements obtained by solving linear elasticity problems. I can simply > follow displacement-strain and strain-stress relationships (using finite > difference to compute gradients), but I guess it would be more natural to > use basis function information. I'd appreciate it if someone can suggest > me some reference examples. > > K. Lee. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Libmesh-users mailing list > Libmesh-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libmesh-users > -- Vikram Garg PhD Candidate Institute for Computational and Engineering Sciences The University of Texas at Austin http://users.ices.utexas.edu/~vikram/ http://www.runforindia.org/runners/vikramg ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users