Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Rightclick on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Kyunghoon Lee <aeronova.mailing@gm...>  20120624 02:34:51

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 displacementstrain and strainstress 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. 
From: Kyunghoon Lee <aeronova.mailing@gm...>  20120624 02:34:51

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 displacementstrain and strainstress 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. 
From: Vikram Garg <simulationist@gm...>  20120624 03:34:15

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.mailing@...>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 displacementstrain and strainstress 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/ > _______________________________________________ > Libmeshusers mailing list > Libmeshusers@... > https://lists.sourceforge.net/lists/listinfo/libmeshusers >  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 
From: Kyunghoon Lee <aeronova.mailing@gm...>  20120624 05:11:40

On Sun, Jun 24, 2012 at 11:33 AM, Vikram Garg <simulationist@...>wrote: > 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. > Hi Grag, Thank you for the suggestion. I'm working on Reduced Cantilever Problem ( http://libmesh.sourceforge.net/reduced_basis_ex5.php), so I guess I'm using FEMSystem. I checked the two files, element_postprocess.C and side_postprocess.C, but I cannot figure out how I can use them for my strain & stress evaluations. Can you elaborate, plz? K. Lee. 
From: Vikram Garg <simulationist@gm...>  20120624 18:41:14

Hey Kyunghoon, Unfortunately, I am not very familiar with reduced basis methods (or with linear elasticity). If you were using regular Finite Elements, then going by this formulation of linear elasticity ( http://en.wikipedia.org/wiki/Linear_elasticity#Direct_tensor_form), the strain is the gradient of the displacement that is solved for. So I believe, one would use element_postprocess.C, but instead of computing interior_value, one would use compute interior_gradient to compute the strain, and then use Hooke's law to get the stress. This would work if you needed average stress over a subset of the domain. However, if you needed stress and strain at a point, you might want to use point_gradient. See line 464 in libmesh/examples/fem_system/fem_system_ex1/naviersystem.C , it gives an example for point_value but the idea is the same for point_gradient. The definitions for point_value and point_gradient are in libmesh/src/systems/system.C . Thanks. On Sun, Jun 24, 2012 at 12:11 AM, Kyunghoon Lee <aeronova.mailing@...>wrote: > On Sun, Jun 24, 2012 at 11:33 AM, Vikram Garg <simulationist@...>wrote: > >> 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. >> > > Hi Grag, > > Thank you for the suggestion. I'm working on Reduced Cantilever Problem ( > http://libmesh.sourceforge.net/reduced_basis_ex5.php), so I guess I'm > using FEMSystem. I checked the two files, element_postprocess.C and > side_postprocess.C, but I cannot figure out how I can use them for my > strain & stress evaluations. Can you elaborate, plz? > > K. Lee. >  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 
From: John Peterson <jwpeterson@gm...>  20120624 19:19:05

On Saturday, June 23, 2012, Kyunghoon Lee 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 displacementstrain and strainstress 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. What about using some kind of gradient recovery method like ZienkewiczZhu to postprocess the solution? Libmesh also has the patch recovery error estimator machinery that may be inspirational.  John 
From: Derek Gaston <friedmud@gm...>  20120624 23:35:25

Lot's of options here... but what we generally do is compute the _average_ stress and strain (pick a component) and store it per element using CONSTANT, MONOMIAL's in an ExplicitSystem... that way we can view the stress/strain in your visualization tool. This is pretty similar to what Abaqus and other solid mechanics codes do. libMesh will even output a nodal interpolation of that CONSTANT, MONOMIAL field by default if you are using Exodus... which again matches what Abaqus typically does... Computing the average is trivially easy... just integrate whatever component of stress/strain you are interested in (or compute Mises or whatever) over the element (loop over qp's, multiply by JxW and add it up) then just divide by elem>volume() to get the average on that element and store the result into the ExplicitSystem solution vector at the corresponding element DoF for your CONSTANT, MONOMIAL... Derek On Sun, Jun 24, 2012 at 1:19 PM, John Peterson <jwpeterson@...> wrote: > On Saturday, June 23, 2012, Kyunghoon Lee 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 displacementstrain and strainstress 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. > > > What about using some kind of gradient recovery method like ZienkewiczZhu > to postprocess the solution? > > Libmesh also has the patch recovery error estimator machinery that may be > inspirational. > > >  > John > >  > 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/ > _______________________________________________ > Libmeshusers mailing list > Libmeshusers@... > https://lists.sourceforge.net/lists/listinfo/libmeshusers > 
From: David Knezevic <dknezevic@se...>  20120809 00:36:06

I just added stress plotting to systems_of_equations_ex6. I used CONSTANT MONOMIALs, as you suggested Derek, and plot the 9 entries of \sigma as well as the von Mises stress. David On 06/24/2012 07:35 PM, Derek Gaston wrote: > Lot's of options here... but what we generally do is compute the _average_ > stress and strain (pick a component) and store it per element using > CONSTANT, MONOMIAL's in an ExplicitSystem... that way we can view the > stress/strain in your visualization tool. > > This is pretty similar to what Abaqus and other solid mechanics codes do. > libMesh will even output a nodal interpolation of that CONSTANT, MONOMIAL > field by default if you are using Exodus... which again matches what Abaqus > typically does... > > Computing the average is trivially easy... just integrate whatever > component of stress/strain you are interested in (or compute Mises or > whatever) over the element (loop over qp's, multiply by JxW and add it up) > then just divide by elem>volume() to get the average on that element and > store the result into the ExplicitSystem solution vector at the > corresponding element DoF for your CONSTANT, MONOMIAL... > > Derek > > On Sun, Jun 24, 2012 at 1:19 PM, John Peterson <jwpeterson@...> wrote: > >> On Saturday, June 23, 2012, Kyunghoon Lee 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 displacementstrain and strainstress 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. >> >> What about using some kind of gradient recovery method like ZienkewiczZhu >> to postprocess the solution? >> >> Libmesh also has the patch recovery error estimator machinery that may be >> inspirational. >> >> >>  >> John >> >>  >> 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/ >> _______________________________________________ >> Libmeshusers mailing list >> Libmeshusers@... >> https://lists.sourceforge.net/lists/listinfo/libmeshusers >> >  > 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/ > _______________________________________________ > Libmeshusers mailing list > Libmeshusers@... > https://lists.sourceforge.net/lists/listinfo/libmeshusers > > 
From: David Knezevic <dknezevic@se...>  20120625 00:01:41

K, I'd recommend that you do this first for a "normal FE" example like systems_of_equations_ex4, and then apply what you learn there to the RB case. David On 06/24/2012 07:35 PM, Derek Gaston wrote: > Lot's of options here... but what we generally do is compute the _average_ > stress and strain (pick a component) and store it per element using > CONSTANT, MONOMIAL's in an ExplicitSystem... that way we can view the > stress/strain in your visualization tool. > > This is pretty similar to what Abaqus and other solid mechanics codes do. > libMesh will even output a nodal interpolation of that CONSTANT, MONOMIAL > field by default if you are using Exodus... which again matches what Abaqus > typically does... > > Computing the average is trivially easy... just integrate whatever > component of stress/strain you are interested in (or compute Mises or > whatever) over the element (loop over qp's, multiply by JxW and add it up) > then just divide by elem>volume() to get the average on that element and > store the result into the ExplicitSystem solution vector at the > corresponding element DoF for your CONSTANT, MONOMIAL... > > Derek > > On Sun, Jun 24, 2012 at 1:19 PM, John Peterson <jwpeterson@...> wrote: > >> On Saturday, June 23, 2012, Kyunghoon Lee 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 displacementstrain and strainstress 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. >> >> What about using some kind of gradient recovery method like ZienkewiczZhu >> to postprocess the solution? >> >> Libmesh also has the patch recovery error estimator machinery that may be >> inspirational. >> >> >>  >> John >> >>  >> 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/ >> _______________________________________________ >> Libmeshusers mailing list >> Libmeshusers@... >> https://lists.sourceforge.net/lists/listinfo/libmeshusers >> >  > 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/ > _______________________________________________ > Libmeshusers mailing list > Libmeshusers@... > https://lists.sourceforge.net/lists/listinfo/libmeshusers 
From: Kyunghoon Lee <aeronova.mailing@gm...>  20120625 07:26:04

On Mon, Jun 25, 2012 at 8:01 AM, David Knezevic <dknezevic@...>wrote: > K, > > I'd recommend that you do this first for a "normal FE" example like > systems_of_equations_ex4, and then apply what you learn there to the RB > case. > > David > Thank you all for the replies. I'll follow David's suggestion; work on Systems Example 4  Linear Elastic Cantilever first, then move on to its RB version. K. Lee. 