Examples of Setting Porous Resistance Properties

Porous resistance properties can be specified in several different ways depending on the characteristics of the porous media being modeled and the expected flow conditions through it.

By making it possible to specify porous resistances using field functions and expressions (as well as constant values), Simcenter STAR-CCM+ provides a framework whereby you can define your own resistance models. This section provides some examples of how to do this.

Orthotropic Viscous Resistance

Consider a tube bundle of the type often used to condition flows in pipes and ducts. This porous medium is situated in a section of the duct that is oriented at 45 degrees to the x-axis as shown below.



Measurements undertaken in a wind tunnel (air is the working fluid) have shown that the tube bundle device imparts a pressure drop of 70 Pa per meter when the velocity is 1 m/s. In addition, for the range of velocities of interest, the pressure drop varies linearly with velocity.

Since the Reynolds number is low, only the viscous resistance tensor P v is specified, so the porous resistance is a linear function of flow velocity. In the orthotropic coordinates, the primary coefficient is 70. To restrict the flow in the directions perpendicular to the primary direction, choose a resistance coefficient that is 2-3 orders of magnitude larger than primary coefficient, for example 10000. Choosing a larger resistance does not affect the flow but can adversely affect the convergence characteristics. Therefore the viscous resistance tensor in orthotropic coordinates is chosen to be:

[700001000000010000]

This tensor can be specified in Simcenter STAR-CCM+ using the orthotropic tensor profile method: The XX, YY and ZZ components are 70, 10000 and 10000 respectively. Orientation Manager > [local orientation] > Principle Axis 1 is the vector (1, 1, 0) relative to the Laboratory Coordinate System, representing a vector that is tilted at 45 degrees to the Laboratory x-axis. Principle Axis 2 is then (-1, 1, 0), also relative to the Laboratory coordinate system.

Isotropic Resistance Using the Ergun Equation (Forchheimer for Packed Beds)

One of the classic equations describing flow through a porous medium is Darcy’s law, which relates the flow velocity to the pressure gradient based on a measure of permeability. This law, which applies to creeping flow (Re1), is expressed using [425] as:

Figure 1. EQUATION_DISPLAY
-p=μkpvs
(237)

where μ is the fluid molecular viscosity, kp is the permeability (considered to be an intrinsic property of the porous medium) and vs is the superficial velocity through the medium.

As the flow velocity increases, the relationship between velocity and pressure gradient becomes nonlinear. Dupuit and Forchheimer (as reported by [425]) proposed the addition of a quadratic term as follows:

Figure 2. EQUATION_DISPLAY
-p=μkpvs+bρ|vs|vs
(238)

Eqn. (238) is commonly known as the Forchheimer equation [425]. The factor b must be deduced depending on the particular flow and medium of interest and is commonly determined through experiment.

One example of the Forchheimer equation for a particular class of flow is the Ergun equation (as discussed in [156]). This equation is an empirical model for the pressure drop dp over a length L of fluid flowing through a packed bed:

Figure 3. EQUATION_DISPLAY
-dpL=Pv+Pi=150μ(1-χ)2vsχ3Dp2+1.75ρ(1-χ)vs2χ3Dp
(239)

where:

  • Pv and Pi are the viscous and internal terms.
  • ρ is the fluid density.
  • Dp is the mean diameter of particles in the porous medium.
  • χ is the volume porosity.

Comparing Eqn. (239) with Eqn. (238) shows that the permeability and b factor are:

Figure 4. EQUATION_DISPLAY
1kp=150(1χ)2χ3Dp2
(240)

and

Figure 5. EQUATION_DISPLAY
b=1.75(1-χ)χ3Dp
(241)

To implement this model in Simcenter STAR-CCM+, it is necessary to create user field functions for each of these terms. Field functions are first defined for the volume porosity and mean particle diameter (which are set to constant values in this example). These values are then used in the field functions for the two terms.

Parameter Field Functions
The volume porosity is defined as a scalar field function with no dimensions, and whose Definition is set to the required value (0.39 in this example).


The particle diameter (0.01 m in this example) is defined in a similar way, except that the Dimensions property is set to Length.


Viscous Term Field Function
The scalar field function for the viscous term is dimensioned as MassLength-3Time-1, and the full Definition is:
150.0*$DynamicViscosity*pow((1-$BedPorosity),2)/(pow($BedPorosity,3)*pow($BedSphereDiameter,2))
The function uses the Bed Porosity and Bed Sphere Diameter functions that were defined previously.


This field function is applied to the Porous Viscous Resistance node as an isotropic tensor.
  1. Select the Physics Values > Porous Viscous Resistance node on the porous region.
  2. In the Properties window, set the Method to Isotropic Tensor using the drop-down menu. The Isotropic Tensor child node is shown underneath the Porous Viscous Resistance node.
  3. Select the Isotropic Tensor > Isotropic Component node and, in the Properties window, set the Method to Field Function.
  4. Finally, edit the Scalar Function property and choose Ergun Viscous Term.

Inertial Term Field Function
The scalar field function for the inertial term is dimensioned as MassLength-4, and the Definition is:
(1.75*$Density*(1-$BedPorosity))/
(pow($BedPorosity,3)*$BedSphereDiameter)


The fluid density is included in this field function. Any variations in the fluid density therefore affect the inertial resistance. This function is applied to the Porous Inertial Resistance using the isotropic tensor method as before:


Region Porosity
For an unsteady calculation, the volume porosity χ can be set on the region using the Bed Porosity field function. To set the volume porosity:
  1. Select the Physics Values > Porosity node of the porous region.
  2. In the Properties window, set the Method property to Field Function using the drop-down menu, then set the Scalar Function property to Bed Porosity.