Inlet Regions

Create an Inlet Region in SimLab.

An Inlet region is an inlet without backflow. Inlet regions can be defined anywhere inside the domain using rectangle, circle, or custom shapes.

From the menu bar, click nFX Analysis > Boundary Conditions > Inlet. The Inlet Regions dialog opens.

Description

Inlet regions can be defined in rectangular, circular, or custom shapes. The only limitation to the Inlet regions is that they must be planar, even in the custom shape or arbitrary orientation scenario.

An inlet region consists of two parts:

  • Stencil spawn surface
  • Extension (optional)


Figure 1.

Inlet Stencil

A stencil is created for the inlet region, which behaves as a source of particles. This is exported as a .txt file for the inlet region containing the coordinates (x, y, z) of the particles, which are to be inserted into the domain.

The spacing of the stencil must match the dx value used for the rest of the simulation.

Important: When the stencil is generated, it will be placed in a model named InletRegionsProbes.gda. The stencils must remain in this model or they will not be exported correctly. This model is always exported to the .cfg, regardless of whether it is displayed during export.


Figure 2.


Figure 3.
Check the stencil against the wall particles to ensure there are no overlaps or penetrations. Figure 4 is an example of a misaligned stencil and conduit:


Figure 4.

As the fluid particles leave the extension, the distance between fluid-fluid particles and fluid-wall particles are not similar. This results in a pressure rise on the side where fluid particles are closer to the wall. Depending on the severity of the misalignment, this may result in undesired secondary flows.

Inlet Extension

The extension imposes the inlet velocity and ensures the distance between different spawn layers remaining at dx. As a result, extension is an important component of the Inlet region.

The extension covers up to half dx, further in each direction than the definitions given in the .cfg to ensure all spawned Inlet region particles are covered. The fluid particles within the extension have the same velocity as the Inlet region. It is important that the spawn area is not disturbed by other fluid particles. The extension only applies to the fluid phase specified for that specific Inlet region.

While possible, disabling the extension is generally not recommended unless it is guaranteed that the spawn area will remain undisturbed during the active interval of the Inlet region. Moving Inlet regions always requires an extension to function properly.

Care must be taken to ensure that any change in profile or shape of the conduit downstream of the Inlet region does not conflict with the extension. If there is a conflict, the extension will push the particles through the conduit wall. It is not guaranteed that the particles will be out of the wall at the end of the extension.
Start Time / End Time
Specifies the start and finish times which define the window where the Inlet region is active.
Ramp Up / Down Time
This parameter specifies a time window for the acceleration and deceleration of the fluid. At the start time, the flow will ramp up from zero to the specified value over this time. If ramp down is specified, the velocity will ramp back down to zero prior to the end time. This minimizes pressure fluctuations and instabilities caused by instantaneous changes in velocity.
Other Options
A free text box where additional parameters can be specified.

Inlet Temperature Treatment

After having the Heat Transfer Coefficient (HTC) calculations available in nanoFluidX, it becomes necessary to apply simple temperature boundary conditions to inlet regions. Inlet fluid temperatures may be specified for each inlet region via the other options text box in the Inlet Regions dialog menu, without the need to define a separate fluid phase. Specified temperature will stay constant within the inlet region and inlet extensions.
Note:
  • The temperature value remains constant throughout the simulation and does not offer any ramp or time-series input. When discharging fluids of different temperatures into a bulk, please choose a suitable initial bulk temperature to avoid extreme differences in temperature.
  • Constant temperature is enforced within the extensions if the extension is active. This means that if inletregion_extpre and/or inletregion_extpst are set to true, the temperature control within the extension is maintained before and/or after the inlet region’s active particle spawn interval.