Fluid simulation

About flow studies

A flow study calculates the flow of a fluid around a part (external flow) or through a part (internal flow). The solver uses the lattice-Boltzmann method on a grid of cubic cells. You can make a flow study in a part or in an assembly.

Beta. The flow study has the "Beta" tag. External aerodynamics is not yet validated above a Reynolds number of about 1,000. Treat the drag and the lift as indicative values. For internal flow, treat the pressure drop and the flow rates as indicative values. The results panel shows this caution near the results.

The "Beta" tag is a tag of the flow study. It is not the release status of Meridian.

The flow solver can use the graphics processor. Refer to GPU compute.

Make a flow study

  1. Open the part or the assembly.
  2. On the Simulation tab, click New Flow Study. The Study Settings panel opens.
  3. Select the Fluid.
  4. Select the Region: Around the part (external flow) or Through the part (internal flow).
  5. For an external flow, set the Speed (m/s) and the Flow direction.
  6. For an internal flow, set the openings. Refer to Openings.
  7. Click OK.
  8. Click Mesh Settings to set the grid. Refer to Grid size.
  9. Click Run (F5).

The start page has the guided tour Run your first flow study. The tour opens the Nozzle sample and sends engine oil around it.

Fluids

Fluid Density (kg/m³) Dynamic viscosity (Pa s)
Air (20 C) 1.204 1.81e-5
Water (20 C) 998.0 1.0e-3
Engine oil SAE 30 (20 C) 891.0 0.29
Hydraulic oil ISO VG 32 (40 C) 857.0 0.0274

The default fluid is air at 1 m/s along +X.

Flow settings

Setting What it does
Part refinement levels Adds finer grid levels near the bodies of an external flow, from 0 to 3. Each level has cells of half the size.
Tunnel in front, Tunnel behind, Tunnel beside Set the distance from the part to the inlet, to the outlet and to the side walls of the external flow box. Each value is a multiple of the largest dimension of the part. The defaults are 3, 8 and 3. The wake behind the part needs a long distance.
Wall model None (no-slip) or Spalding law (y+ 30 to 300). A wall model is for a grid that does not resolve the boundary layer.

External flow and aerodynamics

Study Settings has an Aerodynamics section for an external flow.

Setting What it does
Up axis (lift) Sets the axis along which the lift acts. The default is +Z.
Angle of attack (deg) Turns the flow in the pitch plane, from -90° to 90°.
Yaw about the up axis (deg) Turns the flow sideways, from -180° to 180°.
Sweep the angle of attack Runs a set of angles (Sweep from (deg), Sweep to (deg), Sweep step (deg)), up to 61 angles. The results give Cl, Cd, Cm and L/D for each angle.
Set a reference area, Set a reference length Set the values for the coefficients. By default, the reference area is the frontal area and the reference length is the body length.
Refine out to the box walls Extends the fine grid levels to the walls of the box. Use it for a ground or a wall near the bodies.
Ground under the part Adds a ground below the bodies. Set the Ground clearance. With Moving ground (on by default), the ground moves at the free-stream speed, as a road under a car. Without it, the ground is a fixed no-slip wall.
Time-mean Cp Calculates the mean surface pressure coefficient over a Time window: the Last steps, or a Fraction of the maximum steps.

Limits:

External flow results

The Study Results panel shows:

If the grid is too coarse for accurate forces, the result has a warning. The warning gives the refinement levels or the cell size to use.

The wind tunnel view

The wind tunnel view shows an external flow study as in a wind tunnel. To open it, click Wind Tunnel in the Results group.

The view shows:

You can set the line density to Low, Medium or High in the Study Results panel. The pressures are gauge pressures, relative to the free stream.

To read Cp and the gauge pressure at a point on a body, use Probe.

The wind tunnel view is for external flow only. It is a display option. Meridian does not save it in the file.

Internal flow

An internal flow goes through pipes, ducts, channels or manifolds.

Where the fluid is

The results show the Fluid region:

Openings

Set the openings in Study Settings > Openings:

  1. In Inlet faces, select the faces where the fluid comes in.
  2. Select the Inlet condition and enter its value:
    • Speed: the speed in m/s.
    • Mass flow: the mass flow in kg/s.
    • Pressure: the gauge pressure in Pa.
  3. In Outlet faces, select the faces where the fluid goes out.
  4. Enter the Outlet pressure (Pa).

The panel sets one inlet group and one outlet group. A study can have up to 32 openings.

Grid size

The Mesh Settings presets give 8 (Coarse), 12 (Medium) or 20 (Fine) cells across the smallest opening. With fewer than 6 cells across, the result has a resolution warning. If a custom cell size is too large to show the passage, the study does not run, and the message tells why.

A laminar flow at a higher Reynolds number needs more cells for an accurate pressure drop. With too few cells, the Solution row of a converged run shows Grid too coarse for accurate results. Use these numbers as an estimate only.

Internal flow results

All the internal flow benchmarks are laminar. Turbulent internal flow is not validated.

Heat transfer with flow

A flow study can calculate forced-convection heat transfer. The heat is a passive value in the flow. The flow does not include buoyancy.

  1. Click Study Settings.
  2. Turn on Calculate the heat transfer.
  3. Set the inlet temperature (Inlet at). The default is 20 °C.
  4. Select the condition of the Part walls: Temperature (the default is 50 °C), Heat flux or Adiabatic.
  5. Click OK, and run the study.

The results panel then shows the heat values, for example the Heat into the fluid, the Outlet bulk temperature, the Mean heat transfer coefficient and the Nusselt number.

A thermal study of the same part can use the wall heat of the flow study with the Heat From Flow condition. This condition is not available in an assembly. Refer to Simulation setup.

Flow results

Result What it shows
Flow Pressure The static pressure (gauge) on the slice.
Flow Speed The flow speed on the slice.
Pressure Coefficient The pressure coefficient on the part.
Wall Pressure The static pressure (gauge) on the part.
Wall Shear The wall shear stress on the part.
Fluid Temperature The fluid temperature on the slice, with heat transfer.
Wall Temperature The wall temperature on the part, with heat transfer.
Heat Transfer Coefficient The heat transfer coefficient on the part, with heat transfer.
Wall Y+ The y+ of the first cells at the walls. With a wall model, y+ from 30 to 300 is correct. Without a wall model, y+ less than 5 is correct.
Wind Tunnel The wind tunnel view of an external flow.

Good practice

For the benchmark data, refer to Validation.