The steps for setting up a sliding mesh problem are listed below. (Note that this procedure includes only those steps necessary for the sliding mesh model itself; you must set up other models, boundary conditions, and so on, as usual.)
Enable the appropriate option for modeling transient flow. (See Performing Time-Dependent Calculations for details about the transient modeling capabilities in ANSYS Fluent.)
Setup
→ General
Analysis
Type → Transient
Set the cell zone conditions for the sliding motion:
Setup →
Cell Zone
Conditions
In the Solid Dialog Box or Fluid Dialog Box of each moving fluid or solid zone, enable the Mesh Motion option and set the translational and/or rotational velocity under the Mesh Motion tab. (Note that a solid zone cannot move at a different speed than an adjacent fluid zone.)
Important: Note that simultaneous translation and rotation can be modeled only if the rotation axis and the translation direction are the same (that is, the origin is fixed).
Note that the speed can be specified as a constant value or a transient profile. The
transient profile may be in a file format, as described in Defining Transient Cell Zone and Boundary Conditions, or a UDF macro, described in DEFINE_TRANSIENT_PROFILE in the Fluent Customization Manual. Specifying the individual velocities as either a profile or a UDF
allows you to specify a single component of the frame motion individually. However, you can
also specify the frame motion using a user-defined function. This may prove to be quite
convenient if you are modeling a more complicated motion of the moving reference frame, where
the hooking of many different user-defined functions or profiles can be cumbersome.
Note: If you decide to hook a UDF, then you will no longer have access to the rotation axis origin and direction, or the velocities.
Set the boundary conditions for the sliding motion:
Setup →
Boundary
Conditions
Change the zone Type of the interface zones of adjacent cell zones to interface in the Boundary Conditions Task Page.
By default, the velocity of a wall is set to zero relative to the motion of the adjacent mesh. For walls bounding a moving mesh this results in a “no-slip” condition in the reference frame of the mesh. Therefore, you need not modify the wall velocity boundary conditions unless the wall is stationary in the absolute frame, and therefore moving in the relative frame. See Velocity Conditions for Moving Walls for details about wall motion.
See Cell Zone and Boundary Conditions for details about inputting cell zone and boundary conditions.
Define the mesh interfaces using the Mesh Interfaces Dialog Box (Figure 10.10: The Mesh Interfaces Dialog Box).
Setup → Mesh Interfaces
New...
To learn how to use the Mesh Interfaces dialog box, see Using a Non-Conformal Mesh in ANSYS Fluent. Note that the Interface Options that are relevant for sliding meshes are Periodic Repeats, Coupled Wall, and Matching (for more information on these options, see Non-Conformal Mesh Calculations).
Preview the mesh motion using the Zone Motion dialog box, which can be opened from the Run Calculation task page.
Solution → Run Calculation
Preview Mesh Motion...
For details about using the Zone Motion dialog box, see Previewing the Dynamic Mesh.
Important: When you have completed the problem setup, you should save an initial case file so that you can easily return to the original mesh position (that is, the positions before any sliding occurs). The mesh position is stored in the case file, so case files that you save at different times during the transient calculation will contain meshes at different positions.
Important: If you want to go from an MRF model setup to a sliding mesh setup, use the following text command:
mesh → modify-zones →
mrf-to-sliding-mesh
To successfully switch from an MRF to a sliding mesh, you must provide the ID of the fluid zone. ANSYS Fluent identifies all the zones belonging to this fluid zone, as well as fluid zones shared in the domain. ANSYS Fluent then splits these zones into walls, after which the walls are slit converted to interfaces. ANSYS Fluent then changes the cell zone condition of the fluid zone to Moving Mesh in the Fluid Dialog Box. Note that the interface between the cells zones should be an interior boundary. You do not need to do this if you have already created a mesh interface. The sliding mesh solution tends to be more robust than the MRF solution.