<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><style><!--
@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;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></div><div>Thank you for your replay Marco.<br></div><div><br data-mce-bogus="1"></div><div>I will explain from the begening clearly. My current task is to validate Fluid structre interaction on aero foil(NACA profile). The equations which i have to solve I have attached for aero foil. Before this case, I had succesfully done a case of vortex induced vibration of cylinder in NEK5000. And the code below shows a part of the forced oscillating cylinder. From this code I learned that the body motion prescribed through the mesh velocities but I also think that I can only give translational velocity components in NEK5000 to presribe a body motion (mesh as well).<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Since my aero foil has pitching (it rotates up and down about an axis at angle theta). Since it has to be a FSI problem my plan is by using " call torque_calc(scale,x0,.true.,.true.)" I will get the M (moment about the elastic axis (x0)) and it gives as an input to the Equation of angular motion (attached with this email). Then using Range Kutta method I get the angular velocity of the profile (r, theta,z co ordinates). Then I am planning to conver this angular velocity into linear velocity components (x, y, z direction) then impose into the wx,wy,wz components and I hope it leads to the movement of mesh thus the geometry. <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>My question is could you think that its possible? Or is there any other simple way to give this angular velocity to my NACA profile about the elastic axis (x0)? And I feel difficulty to convert the angular velocity into linear velocty and gives its to each nodes which is on "mv" B.C . <br data-mce-bogus="1"></div><div>Could you please help me with this situation by an example if you have.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks in advance<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div> c Cylinder velocity components<br><br> ucx = 0.0<br> ucy = amplitude * omega * cos(omega*time)<br> ucz = 0.0<br><br></div><div><br data-mce-bogus="1"></div><div> n = nx1*ny1*nz1*nelv<br data-mce-bogus="1"></div><div> do i=1,n ! Translational velocity<br> wx(i,1,1,1) = basev(i)*ucx ! component.<br> wy(i,1,1,1) = basev(i)*ucy<br> wz(i,1,1,1) = basev(i)*ucz<br><br> umeshx(i,1,1,1) = wx(i,1,1,1)<br> umeshy(i,1,1,1) = wy(i,1,1,1)<br> umeshz(i,1,1,1) = wz(i,1,1,1)<br><br> enddo<br><br data-mce-bogus="1"></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"nek5000-users" <nek5000-users@lists.mcs.anl.gov><br><b>À: </b>"nek5000-users" <Nek5000-users@lists.mcs.anl.gov><br><b>Envoyé: </b>Vendredi 9 Février 2018 15:03:26<br><b>Objet: </b>Re: [Nek5000-users] angular velocity to the mesh velocity<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">
<div class="WordSection1">
<p class="MsoNormal">Sijo,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The mv_cyl example is a 2-D moving body example. As for the mesh velocity, can you please be more specific?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Marco</p>
<p class="MsoNormal"> </p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Nek5000-users <nek5000-users-bounces@lists.mcs.anl.gov> on behalf of "nek5000-users@lists.mcs.anl.gov" <Nek5000-users@lists.mcs.anl.gov><br>
<b>Reply-To: </b>"nek5000-users@lists.mcs.anl.gov" <Nek5000-users@lists.mcs.anl.gov><br>
<b>Date: </b>Friday, February 9, 2018 at 8:56 AM<br>
<b>To: </b>nek5000-users <Nek5000-users@lists.mcs.anl.gov><br>
<b>Subject: </b>[Nek5000-users] angular velocity to the mesh velocity</span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<div>
<p class="MsoNormal"><a name="_MailOriginalBody"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span></a><br data-mce-bogus="1"></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Hi Neks,</span></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Its a long time that i came up with something. So here we go,</span></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">SInce I was doinf the FSI of aero foil, I have to deal with 2 degrees of freedom (its a 2D case) one in vertical and
another in angular direction about the elastic axis of the profile. I could code the vertical motion of the foil but before starting the angular motion I have some doubts. Is there anyway to give the angular velocities directly to the mesh velocities? Apart
from the translational velocity components Or Do you want me to covert the angluar velocities into translational components and give to mesh velocities? Do you have any example with a body which is rotating?</span></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Thanks in advance</span></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-bookmark:_MailOriginalBody"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Sijo GEORGE</span></span></p>
</div>
</div>
</div>
</div>
<br>_______________________________________________<br>Nek5000-users mailing list<br>Nek5000-users@lists.mcs.anl.gov<br>https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users<br></div></div></body></html>