<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<br>
<div>
<div>Hi Cédric,</div>
<div><br>
</div>
<div>Several solutions according to the complexity/size of your problem.</div>
<div><br>
</div>
<div>1. define a ONELAB variable (with a prescribed range Min; Max; Step;)</div>
<div>to describe the position of the mover, </div>
<div><br>
</div>
<div>step = {0, Min 0, Max NbSteps, Step 1, Loop  (Flag_AnalysisType == 1),<br>
    Name "Input/34Step"}</div>
<div><br>
</div>
<div>and loop over that variable.</div>
<div>With this approach, the geometrical model is remeshed </div>
<div>for each value of the mover position.</div>
<div><br>
</div>
<div>2. More involved, you get inspiration from this model </div>
<div><br>
</div>
<div><a href="https://gitlab.onelab.info/doc/models/-/wikis/Electromechanical-relay">https://gitlab.onelab.info/doc/models/-/wikis/Electromechanical-relay</a></div>
<div><br>
</div>
<div>and adapt it to your needs.</div>
<div><br>
</div>
<div>3. An approach without remeshing has been developed recently,</div>
<div>based on the sliding surface method. It will be documented soon.</div>
<div><br>
</div>
<div><br>
</div>
<div>NB: Most GetDP rotating machine models use indeed</div>
<div><br>
</div>
<div>ChangeOfCoordinates[ NodesOf[Rotor_Moving], RotatePZ[delta_theta[]]];</div>
<div><br>
</div>
<div>but in conjonction with a MovingBand that is remeshed automatically at each time step. </div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Fr. </div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>
<div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">
<div dir="ltr" data-setdir="false">Hello,</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">I'm using GetDp to get force on a steel core produced by a winding. I succeed to simulate it with GMSH and GetDp in 3D.</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">Now I want to get the force as a function of the displacement of the core at a given current. The only think I want to do in the resolution is</div>
<div dir="ltr" data-setdir="false">to move the core, redo a force calculation and move again.... to get the final curve Force=f(z).</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">I'seen lot of tutorial especially on machine and the use of the function :<br>
</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false"><span>ChangeOfCoordinates[ NodesOf[Rotor_Moving], RotatePZ[delta_theta[]]];</span></div>
<div dir="ltr" data-setdir="false"><span><br>
</span></div>
<div dir="ltr" data-setdir="false"><span>could be a solution to my problem, but I'm not rotating nodes, I just want to translate nodes...and redo the calculation...</span></div>
<div dir="ltr" data-setdir="false"><span><br>
</span></div>
<div dir="ltr" data-setdir="false"><span>Could somebody help me to fin dthe right and simplest way to translate nodes of the core, remesh and redo my force calculation?</span></div>
<div dir="ltr" data-setdir="false"><span><br>
</span></div>
<div dir="ltr" data-setdir="false"><span>Thanks a lot,</span></div>
<div dir="ltr" data-setdir="false"><span><br>
</span></div>
<div dir="ltr" data-setdir="false"><span>Regards.</span></div>
<div dir="ltr" data-setdir="false"><span><br>
</span></div>
<div dir="ltr" data-setdir="false"><span>Cédric.<br>
</span></div>
<div dir="ltr" data-setdir="false"><span><br>
</span></div>
<div dir="ltr" data-setdir="false"><span></span><br>
</div>
</div>
</div>
_______________________________________________<br>
getdp mailing list<br>
<a href="mailto:getdp@onelab.info">getdp@onelab.info</a><br>
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fonelab.info%2Fmailman%2Flistinfo%2Fgetdp&amp;data=02%7C01%7Cfrancois.henrotte%40uclouvain.be%7Cc6b7bae2dfad433b72aa08d7d576a08c%7C7ab090d4fa2e4ecfbc7c4127b4d582ec%7C0%7C0%7C637212578074507316&amp;sdata=3M2htmi2jyGPwZASgw05hxgpOZxrqNMI181OIqOwKOA%3D&amp;reserved=0<br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>
<div style="orphans: 2; widows: 2;">
<div>--</div>
<div>François Henrotte Dr Ir - <span style="text-align: -webkit-auto;"><a href="mailto:francois.henrotte@uclouvain.be">francois.henrotte@uclouvain.be</a></span><span style="text-align: -webkit-auto;"> - </span><span style="text-align: -webkit-auto;"><a href="mailto:francois.henrotte@uliege.be">francois.henrotte@uliege.be</a> </span></div>
<div>UCLouvain - Bât. Euler a.217 - Av. G. Lemaître 4-6 , <span style="text-align: -webkit-auto;">B-1348 Louvain-la-Neuve - </span><span style="text-align: -webkit-auto;">+32(0)10 47 23 64 </span></div>
<div><span style="text-align: -webkit-auto;">ULiège - Institut Montefiore I154 - Allée de la Découverte 10, B-4000 Liège - +32(0)4 366 37 36 </span></div>
<div><span style="text-align: -webkit-auto;"><br>
</span></div>
</div>
</div>
<div><span style="text-align: -webkit-auto;"><br>
</span></div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
</body>
</html>