We’re updating our badges platform. Badge issuance is temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Rotating zone grid points drifting

    • Daniel.dejan.gunde
      Subscriber

      Hi,

      I simulate a very large domain that is over 1km long. It also has a rotating zones (a 2D rigid body motion). The rotating zone that is positioned in the global reference frame center works normally. However, now I have several rotating zones where the farthest is almost 1km away from the origin. Aparently I have a numerical round up error that is acumulating after each time step. After some time the mesh grid points drift away which causes mesh deformation of the rotating zone and incorrect boundary conditions at the wall (fluid velocity at the wall gets very high). How can be solved this issue? To somehow update the center point of each rotating zone?

    • Rob
      Forum Moderator

      If the domain is around 1km long is solving a transient problem feasible? What are you actually trying to model? 

    • Daniel.dejan.gunde
      Subscriber

      It is transient, with time step size 0.0008s. It's a model of a 1km long train tunnel with windturbines installed in different positions along the tunnel length. The train moves using layering method while the turbine rotates using rigid body rotation approach.

    • Rob
      Forum Moderator

      And how long a duration are you planning on running? I'm assuming you're using sliding mesh? Can you use reference frame?

    • Daniel.dejan.gunde
      Subscriber

      It's quite a long duration, at least 70 seconds. For the turbine movement it is sliding mesh. I tried to use a local reference frame for the turbines but I didn't find a way how to do it. The rotation is also controlled by an UDF that reads turbine's rpm and calculates torque resistance simulating a generator.

    • Rob
      Forum Moderator

      So 87,500 time steps as a minimum? I suppose if you're moving the train then sliding mesh won't slow your model. 

    • Daniel.dejan.gunde
      Subscriber

      A lot of time steps, yes. But the turbine grid point start to drift immediatelly and error gets so big that after about 4 seconds the calculation crashes.

    • Daniel.dejan.gunde
      Subscriber

      Sorry, not really crashes but residuals are getting very high with unphysical results.

    • Rob
      Forum Moderator

      Check the turbine centre and axis definition. Then check the rotation force can only spin the turbine zone. 

    • Daniel.dejan.gunde
      Subscriber

      I did that already. It is interesing that the turbine grid points start to drift even before the turbines start to rotate. I notice the drifting by looking the values of Center of Gravity Location and Center of Gravity Velocity. They should remain at 0 which is true only for the turbine that is centered at the origin of the global coordinate frame. After some time when the results get unphysical I can see with my eyes how the turbine mesh gets deformed.

    • Mark O
      Ansys Employee

      Your picture shows that the center of gravity velocity for the 6dof rigid body object is not zero. You need to turn off translational motion in the UDF for external_motion_3

      prop[SDOF_ZERO_TRANS_X] = TRUE;

      prop[SDOF_ZERO_TRANS_Y] = TRUE;

      prop[SDOF_ZERO_TRANS_Z] = TRUE;

      See

      https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v252/en/flu_udf/flu_udf_DynamicMeshDEFINE.html%23flu_udf_sec_define_sdof_properties

Viewing 10 reply threads
  • You must be logged in to reply to this topic.