<div dir="ltr"><div>Hi Raavi, <br></div><div><br></div><div>You can use the python API for this. Here is a short script that combines two files and creates a third from their combined element data, aka post-processing views. <br></div><div><br></div><div>Sincerely, <br></div><div>Max <br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 27, 2019 at 12:12 PM Raavi M. Mohindar Rao <<a href="mailto:raavi.mohindar.rao@gmail.com">raavi.mohindar.rao@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello all,</div><div><br></div><div>I am looking a way to include $ElementData from external file.</div><div><br></div><div>In test.msh,<br></div><div><br></div><div>$Elements<br>668</div><div>1 2 2 1 43 131 121 174<br></div><div>...</div>668 2 2 2 52 334 335 77<br><div>$EndElements</div><div>$ElementData // Need a way to include this $ElementData from external file<br>1 <br>"M"<br>1 <br>0.0 <br>3 <br>0 <br>3 <br>170 <br>1 252.161 0 0<br>....</div><div>170 131.153 0 0<br></div><div>$EndElementData<br></div><div><br></div><div>Regards,</div><div><br></div><div>Raavi<br></div><div><br></div><div><br></div></div></div></div></div></div></div>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Max Orok</div><div>Contractor<br></div></div><div dir="ltr"><a href="http://www.mevex.com" target="_blank">www.mevex.com</a><br><br><img src="https://docs.google.com/uc?export=download&id=1fHTIiW4OMUjQr1iOkspQ7wiEsxunoOs0&revid=0B6x5w-5zVaEjSkpwbm5oY29jbG1XMzJoYldXTmJpNGFtb3dVPQ" width="164" height="42"><br></div></div></div></div></div></div>