|
[Sponsors] |
February 8, 2015, 11:44 |
Moving wall vs. SRF vs. Moving mesh
|
#1 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
Hi all,
I have some questions about a test case I'm running. The case is very simple: a cylinder (radius=5 cm, height=1 cm, positive Z), filled with water, rotating at 105 rad/s around Z axis; cylinder is centered in 0,0,0. I'm using fluent to evaluate results. I thought that single reference frame, moving mesh and moving wall (set up in the wall boundary panel) simulations should give similar results. Instead, I got similar results for SRF and moving wall, but not for the moving mesh.. Can anybody explain why? I'm attaching velocity contours in xy plane, at mid-height of the cylinder, cell centered values, (variable velocity for fluent, velocity in stn frame for cfd-post) for the three cases. Daniele
__________________
Google is your friend and the same for the search button! |
|
February 8, 2015, 15:52 |
|
#2 |
Senior Member
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 540
Rep Power: 20 |
This is a nice testcase for the moving mesh implementation :-)
Unless you specify the motion of the wall to be rotation, the fluid should stay in rest. When dealing with moving meshes you also have to take into account the "space conservation law" (Raumerhaltungsgesetz). |
|
February 8, 2015, 15:56 |
|
#3 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
Strange thing to me is that in the moving mesh case I specify both the motion of the mesh and the absolute rotational velocity of the walls... (I did 2 tests, the first with relative motion, 0 rad/s relative to adjacent fluid zone and the second with absolute rotational velocity, 105 rad/s, but results are the same)..so I don't understand why the fluid seems stationary...
__________________
Google is your friend and the same for the search button! |
|
February 8, 2015, 16:15 |
|
#4 |
Senior Member
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 540
Rep Power: 20 |
For moving mesh cases you might get 2 different sets of velocities for postprocessing -- absolute and relative velocity. Did you check this?
|
|
February 8, 2015, 16:23 |
|
#5 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
Yes, I checked in cfd post because fluent has only 'velocity magnitude' (and it should be absolute vel.). In cfd post velocity in stn frame should be the absolute velocity (equivalent to velocity magnitude).
Moreover, all results were compared with ensight and I chosed the same velocity variable for all the cases.
__________________
Google is your friend and the same for the search button! |
|
February 8, 2015, 16:36 |
|
#6 |
Senior Member
|
I don't have any experience with fluent so I may be completely wrong here.
Usually, moving wall and SRF (I'm assuming it's the same thing as a MRF) can be used with both a steady state (a RANS for instance) and transient simulation (a DES for instance). On the other hand, a sliding mesh would make sense for a transient simulation only although in your case the geometry position would no change in time for a fixed observe, being your cylinder completely smooth. Did you run a transient simulation for the sliding mesh? If yes, did you run for long enough in terms of physical time (seconds)? |
|
February 8, 2015, 16:40 |
|
#7 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
Thanks for reply. Yes, moving mesh test case was run in transient, for 1 second, starting from the srf solution.
__________________
Google is your friend and the same for the search button! |
|
February 10, 2015, 09:03 |
|
#8 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
It seems the problem was the timestep: I didn't check the timestep independence and I set up a timestep so that 100 timesteps were needed to complete a revolution.
Even if the solution converged (continuity residual below 1e-4, below 1e-5 for others) and the area weight average velocity magnitude did not change vs physical time on the xy z-mid-range plane the result was not true. Timestep of 1e-4 was needed to have a solution independent of the timestep (this means 600 timesteps per revolution!!!!).
__________________
Google is your friend and the same for the search button! |
|
February 10, 2015, 09:44 |
|
#9 |
Senior Member
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 540
Rep Power: 20 |
Thats why it is a common practice to do a steady mrf run for the initialisation :-)
|
|
February 10, 2015, 09:46 |
|
#10 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
Sure, however, even if the solution is initialized with the mrf solution, and you don't set a correct time step (and the only way is to perform a timestep independence study) results will be wrong as the solution tends to go always to 0 velocity.
__________________
Google is your friend and the same for the search button! |
|
February 11, 2015, 14:22 |
|
#11 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
600 timesteps, that's quite a steep requirement. Especially for a case that looks so simple. Nice test!
|
|
February 11, 2015, 14:39 |
|
#12 |
Member
Join Date: Jul 2013
Posts: 56
Rep Power: 13 |
Hello,
It is indeed a nice test that you are performing. I can't help but find that the plot that you posted seem quite different one from the other. You should consider plotting along the radial direction, and overlay the 3 result curves. I also suggest that you plot for velocity component instead of magnitude. Again, I would plot radial velocity and tangential velocity along a chosen direction. |
|
February 16, 2015, 15:21 |
|
#13 |
Senior Member
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 540
Rep Power: 20 |
It sounds very strange that the velocity should go to zero when using a too large time step. So I tried it myself with CCM+ and was able to specify timesteps as large as 600 degree/step without problems. It requires some more inner iterations but there is no sign that the velocity goes to zero.
|
|
April 8, 2018, 11:52 |
|
#14 |
New Member
Calvin Wong
Join Date: May 2017
Posts: 7
Rep Power: 9 |
Hi,
Sorry to bring up this old post, but I am just wondering with your rotating cylinder, shouldnt the velocity near the cylinder wall close to zero/small number? It should be vel -> 0 near wall then higher velocity and then slower velocity as it approaches the centre? Is that right? |
|
April 8, 2018, 16:50 |
|
#15 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
If you speak about absolute velocity, no: the wall of the cilinder is rotating!
__________________
Google is your friend and the same for the search button! |
|
April 8, 2018, 18:07 |
|
#16 | |
New Member
Calvin Wong
Join Date: May 2017
Posts: 7
Rep Power: 9 |
Quote:
Actually the reason I asked about this is that I have a recent post similar to this cylinder problem. Instead, I have a rotating propeller and I am a bit confused about why I have max velocity at the propeller wall boundary in the stationary frame, and only in the local/rotating frame, the velocity at the propeller wall boundary -> 0. I am still a bit confused about my case, could you please help me ? Sorry i am not sure if I am supposed to redirect post like this, new to this forum. Thanks, Calvin |
||
April 9, 2018, 09:10 |
|
#17 |
Senior Member
Join Date: Jul 2009
Posts: 358
Rep Power: 19 |
If I understand your question, in the rotating frame the velocity of the fluid relative to the propeller should be zero at the propeller surface because you have the no-slip condition. The fluid has to move with the solid boundary there.
|
|
April 23, 2018, 03:28 |
|
#18 |
New Member
Calvin Wong
Join Date: May 2017
Posts: 7
Rep Power: 9 |
Thanks agd, it kinda make sense to me now.
|
|
February 5, 2022, 08:48 |
|
#19 |
Member
George
Join Date: Dec 2020
Posts: 31
Rep Power: 6 |
Hello all,
Continuing the discussion about rotating reference frames, I want to simulate a wind turbine rotor (blades and hub only) with SRFSimpleFoam. Currently I have a cylindrical computational domain as shown in the picture.The radius of the rotor is R=1.19m and the radius of the cylindrical domain is 5R. I cant get a physical solution. I get a converged solution but the result is quite unphysical, there is not even a wake formed behind the rotor. Is this wrong result due to the size of the cylindrical computational domain? Where can I find info on how exactly the size of the domain affects the accuracy of an SRF simulation? Best, George |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Two-sided Wall Heat Transfer BC - No Separate Solid Mesh and No Heat Transfer Coeff | swahono | OpenFOAM Running, Solving & CFD | 10 | October 15, 2018 06:43 |
Gambit problems | Althea | FLUENT | 22 | January 4, 2017 04:19 |
[snappyHexMesh] 2D AMI Moving Mesh with sHM; How hard can this be? | ADGlassby | OpenFOAM Meshing & Mesh Conversion | 18 | June 18, 2013 07:07 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
How to make boundary layer mesh moving with wall | wayne | FLUENT | 3 | June 12, 2008 00:23 |