COMSOL Forums: Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/
Most recent forum messagesSun, 25 May 2014 04:08:57 +0000COMSOL Forums: Specifying a rotating boundary conditionhttp://www.comsol.com/shared/images/logos/comsol_logo.gif
http://www.comsol.com/community/forums/general/thread/34187/
Re: Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/#p118829
Dear All,<br />
<br />
I am just wondering would it be possible to rotate a sphere (3d) at a specified angular velocity about a pre determined axis by providing BC on the surface of the sphere as done with the discs in the problem being discussed above. I am solving for a sphere rotating in a fluid filled channel. <br />
<br />
Any help is greatly appreciated.<br />
<br />
Thanks,<br />
Seemit Sun, 25 May 2014 04:08:57 +000034187.1400990937.118829Re: Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/#p94709
Thank you Ivar.<br />
<br />
I have re-worked my model to use a 2-D axis symmetric geometry. It is working well now. Thanks for the help.Tue, 29 Jan 2013 00:03:09 +000034187.1359417789.94709Re: Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/#p94707
Hi<br />
<br />
just had some minutes to take a closer look, My main question: why do you add HT and NITF as the latter contains all HT anyhow, no reason for doubling up, and now you need to equate the two T that represents the same dependent variable ?<br />
<br />
And for the cylindrical coordinates, add a Definition cylindrical coordinate system, then you can refer to the components sys2.r etc, instead of the full equations, unfortunately COMSOL has not foreseen that you add your own coordinates system to define the mowing wall, sad, it would be so much easier ;)<br />
<br />
And I would avoid the variable name omega, as it's used by COMSOL for frequency domain and other solvers, use rather some "omega_" or "my_omega"<br />
<br />
I cannot get any arrow plot to show up, anyhow you must ensure that t>0.2 to avoid the rect is sending all velocities to =0<br />
<br />
--<br />
Good luck<br />
IvarMon, 28 Jan 2013 23:55:27 +000034187.1359417327.94707Re: Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/#p94025
Ivar,<br />
<br />
I don't think I explained my problem well enough. I have included a simplified version of the model if you'd like to take a closer look.<br />
<br />
Thanks again.<br />
<br />
edit:<br />
<br />
I got it to work.<br />
<br />
Thanks for your help!Fri, 18 Jan 2013 19:42:04 +000034187.1358538124.94025Re: Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/#p94019
Hi<br />
<br />
here is a screen view, very simple set-up (oops have a Opera <-> Java update issue cannot upload from here anymore, checking with IE)<br />
<br />
--<br />
Good luck<br />
IvarFri, 18 Jan 2013 19:04:48 +000034187.1358535888.94019Re: Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/#p94015
Ivar, <br />
<br />
Thank you so much for your help with this. Unfortunately, I am not able to open the files you posted. <br />
<br />
I define the rotating boundary as specified. Everywhere else I have set as no-slip.<br />
<br />
Are there any other boundary conditions required for the NITF? I am still not observing any rotation.<br />
<br />
Thanks again.Fri, 18 Jan 2013 18:58:06 +000034187.1358535486.94015Re: Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/#p93969
Hi<br />
<br />
I would say, yes you can, with a sliding wall<br />
my rectangle case is not converging to the default value, but the result is still OK, the concentric circle is OK<br />
<br />
Files are 4.3a (if I manage to attach the files, ... now it works ;)<br />
<br />
--<br />
Good luck<br />
IvarFri, 18 Jan 2013 11:46:24 +000034187.1358509584.93969Re: Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/#p93968
Hi,<br />
<br />
Comsol will not find any motion unless you have inlet and outlet or you are using either FSI or rotating machinery interface or you are coupling equations of motion with boundary conditions via mathematics interface.<br />
<br />
CheersFri, 18 Jan 2013 11:25:21 +000034187.1358508321.93968Re: Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/#p93959
Hi<br />
<br />
my only advice is : use the postprocessing to analyse your initial conditions (plot rotation vectors , different values and check how they look w.r.t. the expected results. Then do the same after solving (or after some solving) using the "plot while solving all solver steps" to check that it evolves in an understandable way<br />
<br />
--<br />
Good luck<br />
IvarFri, 18 Jan 2013 10:50:46 +000034187.1358506246.93959Re: Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/#p93926
I have two physics modules in my simulation; Heat Transfer (the circle imparts heat into the system) and Non-Isothermal flow (the fluid is non-Newtonian) and has a dynamic viscosity (I am using the carreau model). The only thing that I can see being updated from the nitf is kinematic viscosity. I am fairly certain that my velocity projection is accurate.<br />
<br />
Does that shed any light on things? <br />
<br />
Fri, 18 Jan 2013 00:45:20 +000034187.1358469920.93926Re: Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/#p93923
Hi<br />
<br />
there must be something with your formula, have you tried to plot the velocity vector your get ? That often helps to check you got the cylindrical projection correctly set-up<br />
<br />
On the other hand, you can define a local cylindrical coordinate system, and refer to the radius as sys2.r etc (it's sys2. or 3. or ... depending on how many coordinate systems you define)<br />
<br />
--<br />
Good luck<br />
IvarFri, 18 Jan 2013 00:37:53 +000034187.1358469473.93923Specifying a rotating boundary condition
http://www.comsol.com/community/forums/general/thread/34187/#p93919
I would like to simulate a rotating wall condition.<br />
<br />
For simplicity, imagine a square box. On the top surface of that box there is a circle. Inside of the box is a viscous fluid. I would like to impose a rotational velocity on said circle and observed the effect on the fluid inside the box.<br />
<br />
I am defining the velocity as follows:<br />
<br />
Ux = -(sqrt(x^2+y^2))*omega*sin(omega*t)*rect1(t[1/s])<br />
Uy = (sqrt(x^2+y^2))*omega*cos(omega*t)*rect1(t[1/s])<br />
Uz = 0<br />
<br />
where omega is angular velocity.<br />
<br />
I then apply this velocity to the circular boundary on top of the box.<br />
<br />
I am trying to use a moving wall in my simulation but this does not seem to work. When I check my results there is no motion anywhere in the fluid or along the boundary.<br />
<br />
Any thoughts on what I might be doing wrong?<br />
<br />
Fri, 18 Jan 2013 00:31:24 +000034187.1358469084.93919