<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Hi guys,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Yes, the goal for me was to plot the data on Gmsh, but i would like to ask if there’s a way to show sigx, sigy and so on as view in Gmsh Post-processing, it’s look like all the tensor is plotted all together, am I wrong?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I will do a little brief on my work, maybe it could be better understanding. I’m sorry in advance if my english is not so perfect.</p>
<p class="MsoNormal">I’m working on a Multiscale RVE, not the one I’,ve send but another one more complex, but I’m working in parallel with this smaller one for having more control on the code and on the operations.</p>
<p class="MsoNormal">First thing first, I’ve generated the mesh on Gmsh and I processed the operation on Matlab, part of the code was made by me, and for the solver I’ve used CalFem function (freeware script for matlab and python for studying FEM). The .txt
file with stress matrix in gauss point and nodal forces for each element are the result of the Calfem function’s I’ve used. The Gauss stress matrix I’ve sent as .txt has 8 point for each element, this is why it has 512 row, cause the element are 64 with 8
gauss point = 512.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Now the post-processing part, my goal is to plot the data on Gmsh postprocessing, thanks to Max now I’ve understood a little bit more about the input data Gmsh needed, but I would like to plot stress field separately (as sigx view, sigy
view and so on); I also have another matrix for strain, but I didn’t sent because I think the process to do is the same for the gauss-points stresses.
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">About this question from Max:</p>
<p class="MsoNormal">“<span style="font-size:11.5pt;font-family:"Segoe UI",sans-serif;color:#212121;background:white">For the displacement, does it seem like it aligns? I don't want to make a mistake in interpreting the data. “<o:p></o:p></span></p>
<p class="MsoNormal">I haven’t understand well your question, my english is a little bit limited, what to you mean with “it seem like it alligns?” If I’ve understood the question you mean the fact that displacement are not the same in faces dx and sx? if that’s
your meaning, i’ve noticed it too, and I think it depends on the boundary conditions I gave to the element.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sincerily,</p>
<p class="MsoNormal">Gaetano</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Inviato da <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Posta</a> per Windows 10</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Da:</b> Jeremy Theler <jeremy@seamplex.com><br>
<b>Inviato:</b> Saturday, February 16, 2019 11:29:03 AM<br>
<b>A:</b> Max Orok<br>
<b>Cc:</b> Gaetano Camarda; gmsh@onelab.info<br>
<b>Oggetto:</b> Re: [Gmsh] Stress on Gauss Points</font>
<div> </div>
</div>
<div>
<div>Hey Max</div>
<div><br>
</div>
<div>On Fri, 2019-02-15 at 11:01 -0500, Max Orok wrote:</div>
<div><br>
</div>
<div><br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>My impression going in was that the Gauss point steps were part of the simulation and the goal was just to plot the data.
<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Well, there is a fine line here but it can be considered that the modeling [1] is finished when the stresses (or the heat fluxes, etc) are computed at the gauss points.</div>
<div><br>
</div>
<div>Actually, I think the original question was: "given that I have data at the Gauss points (and not at the nodes nor at the cell centers), how can I plot them on Gmsh?"</div>
<div><br>
</div>
<div>Indeed, I think Gaetano wanted to have Gmsh to do something like to re-mesh the base grid and have new cells around the gauss points and plot the data as cell-centered values. I do not know if I am clear, but for a 8-node hexa with 2 Gauss points per dimensions
that would be to replace the original element with 8 little hexas, one in each octant and then assign a cell value from the dataset to each of them. For other elements it would be more complex.</div>
<div><br>
</div>
<div>This is definetely in the post-processing step of the worflow.</div>
<div><br>
</div>
<div><br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>I think for this data set, the shared node data does repeat, but a single element will vary as a function of its nodes.
<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>As far as I can see, the data corresponding to the shared nodes does not repeat. Again, this is what is expected from secondary fields computed as derivatives of a primary field at the Gauss points.</div>
<div><br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div>For any averaging etc., perhaps this could be done during the simulation? </div>
</div>
</blockquote>
<div><br>
</div>
<div>Yes, it could. This is why I am interested in this issue, and raised the question on how to average if the solver has to output nodal values of stresses. Weighted average? With the element's volume? With the element's quality?</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>[1] <a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.seamplex.com%2Fblog%2Fsay-modeling-not-simulation.html&data=02%7C01%7C%7C3651368f07bb492242d008d693f99612%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636859097498313953&sdata=cPWVCtVwxuo9fb8E2II9hE10fpEeh7LSXQcXkvKQaDg%3D&reserved=0" originalsrc="https://www.seamplex.com/blog/say-modeling-not-simulation.html" shash="yfwvuJ7uPWOnU5YY3LhHt9s6t01WBpb3DygoGxdK7L1doa5mWQfuAekTEjVdDTZiDXH3sDNkUwlwaeju7rXYlefxoJFKhGrak1+xdqEmYJS6degzxPzUZj6krwgilw1E7ac0txR3Q+2tD7U/k/6XcFB64EeQg/fDjY0DyyeENoA=">
https://www.seamplex.com/blog/say-modeling-not-simulation.html</a></div>
<div><br>
</div>
<div><br>
</div>
<div>--</div>
<div>Jeremy Theler</div>
<div>www.seamplex.com</div>
</div>
</body>
</html>