morphogen.homogenization.acoustics

Acoustics of porous media: the parameters of the equivalent fluid of a rigid porous frame from its microstructure, and the sound absorption of a layer.

Sound in the air (or any fluid) that saturates a rigid porous frame, at wavelengths much longer than the pores, is that of an equivalent fluid with a complex dynamic density rho(omega) (viscous and inertial effects) and bulk modulus K(omega) (thermal effects). The semi-phenomenological model of Johnson, Koplik & Dashen (1987), Champoux & Allard (1991) and Lafarge et al. (1997) — JCAL — gives them from six parameters of the geometry of the pores, each the result of a static problem on the microstructure:

parameter

symbol

problem

porosity

phi

the volume fraction of the pores

static permeability

k0

Stokes flow ( flow): Darcy’s law, the resistivity sigma = eta / k0

tortuosity

alpha_inf

potential flow: the conduction of the pore fluid between insulating walls, alpha_inf = phi / s* (s*: its apparent conductivity for a unit one)

viscous length

Lambda

the same field E: 2 int_V E^2 dV / int_S E^2 dS, measured by moving the walls

thermal length

Lambda'

2 V / S of the pores

static thermal permeability

k0'

lap(theta) = -1 in the pores, theta = 0 on the walls: k0' = <theta>

(acoustic_parameters(); lengths in the unit of the spacing of the image, permeabilities in its square). With the time dependence exp(i omega t), the viscosity eta, density rho0, Prandtl number Pr, ratio of specific heats gamma and pressure P0 of the fluid,

rho(omega) = (alpha_inf rho0 / phi) [1 + (eta phi / (i omega rho0 alpha_inf k0))

sqrt(1 + i 4 alpha_inf^2 k0^2 rho0 omega / (eta Lambda^2 phi^2))],

K(omega) = (gamma P0 / phi) / (gamma - (gamma - 1) / [1 + (eta phi / (i omega rho0 Pr

k0’)) sqrt(1 + i 4 k0’^2 rho0 omega Pr / (eta Lambda’^2 phi^2))])

(equivalent_fluid(); without k0', the model of Johnson, Champoux and Allard: k0' = phi Lambda'^2 / 8, the value of circular pores). The characteristic impedance Z_c = sqrt(rho K) and the wavenumber k = omega sqrt(rho / K) give the surface impedance -i Z_c cot(k d) of a layer of thickness d on a rigid wall and its absorption coefficient at normal incidence, 1 - |(Z_s - Z_0) / (Z_s + Z_0)|^2 (absorption()). The exact responses of slits and of circular tubes (pore_response(); Zwikker & Kosten 1949, Stinson 1991) are the references of the model.

The static thermal permeability is also the mean survival time of a species that diffuses in the pores and is absorbed by their walls, times its diffusivity (the trapping constant of diffusion-controlled reactions: Torquato 2002).

References: D. L. Johnson, J. Koplik, R. Dashen, J. Fluid Mech. 176 (1987) 379; Y. Champoux, J.-F. Allard, J. Appl. Phys. 70 (1991) 1975; D. Lafarge, P. Lemarinier, J.-F. Allard, V. Tarnow, J. Acoust. Soc. Am. 102 (1997) 1995; J.-F. Allard, N. Atalla, Propagation of Sound in Porous Media, 2nd ed., Wiley (2009); M. R. Stinson, J. Acoust. Soc. Am. 89 (1991) 550; C. Perrot, F. Chevillotte, R. Panneton, J. Appl. Phys. 103 (2008) 024909.

morphogen.homogenization.acoustics.PARAMETERS = ('porosity', 'permeability', 'tortuosity', 'viscous_length', 'thermal_length', 'thermal_permeability', 'specific_surface', 'permeability1', 'permeability2', 'permeability3', 'tortuosity1', 'tortuosity2', 'tortuosity3', 'viscous_length1', 'viscous_length2', 'viscous_length3', 'k11', 'k22', 'k33', 'k23', 'k31', 'k12')

The scalar results of acoustic_parameters() (columns of the tables of results and quantities of the statistics of RVE studies)

class morphogen.homogenization.acoustics.Fluid(density: float = 1.204, viscosity: float = 1.81e-05, heat_ratio: float = 1.4, prandtl: float = 0.71, pressure: float = 101325.0)[source]

Bases: object

The fluid that saturates the pores (SI units): density, dynamic viscosity, ratio of specific heats heat_ratio, Prandtl number prandtl and static pressure. The default is air at 20 °C.

property sound_speed: float

The adiabatic speed of sound, sqrt(gamma P0 / rho0).

property impedance: float

The characteristic impedance rho0 c0.

morphogen.homogenization.acoustics.AIR = Fluid(density=1.204, viscosity=1.81e-05, heat_ratio=1.4, prandtl=0.71, pressure=101325.0)

Air at 20 °C and atmospheric pressure

morphogen.homogenization.acoustics.thermal_permeability(image: VoxelImage, materials=None, *, pores=None, tol: float = 1e-08, maxiter: int | None = None) → float[source]

The static thermal permeability k0' of the pores of a periodic image (the void phases of materials, or the phases pores): the mean over the whole image of the solution of lap(theta) = -1 in the pores with theta = 0 on their walls (finite differences on the voxels, the walls midway between them, second order; conjugate gradients). In the squared unit of the spacing. It is the permeability of the flow along a pore of constant section (a slit of width H: H^2 / 12; a tube of radius R: R^2 / 8), and the mean survival time of a diffusing species that the walls absorb, times its diffusivity and the porosity.

morphogen.homogenization.acoustics.acoustic_parameters(image: VoxelImage, materials=None, *, pores=None, tol: float = 1e-05, thermal: bool = True, **flow_options) → dict[source]

The parameters of the equivalent fluid of a porous image (see the module): the pores are the void phases of materials, or the phases pores; the frame is rigid and motionless. Periodic images of cubic voxels.

Returns the porosity; the static viscous permeability_tensor (3 x 3), its diagonal permeability1 … 3 and their mean permeability; the tortuosity1 … 3 along the axes and their mean tortuosity; the viscous characteristic lengths viscous_length1 … 3 and their mean viscous_length; the thermal_length 2 V / S; the thermal_permeability (thermal=False: left out); the specific_surface of the walls (per unit volume of the image). Lengths in the unit of the spacing, permeabilities in its square: an image in metres gives SI values. tol: the tolerance of the flows (their mean velocity) and of the conduction problems; flow_options: the other options of stokes_flow().

morphogen.homogenization.acoustics.along_axis(parameters: dict, axis: int | None = None) → dict[source]

The six parameters of equivalent_fluid() from the results of acoustic_parameters(): those along axis (0, 1 or 2: sound that travels along it), or their means over the axes (an isotropic medium).

morphogen.homogenization.acoustics.equivalent_fluid(frequencies, *, porosity: float, permeability: float, tortuosity: float, viscous_length: float, thermal_length: float, thermal_permeability: float | None = None, fluid: Fluid = Fluid(density=1.204, viscosity=1.81e-05, heat_ratio=1.4, prandtl=0.71, pressure=101325.0)) → dict[source]

The equivalent fluid of a rigid porous frame at the frequencies (Hz), by the model of Johnson, Champoux, Allard and Lafarge (see the module; SI units: lengths in metres, permeabilities in square metres): its complex density and bulk_modulus (time dependence exp(i omega t)), its characteristic impedance and wavenumber, and the resistivity eta / k0 (Pa s/m²). Without thermal_permeability, that of circular pores, phi Lambda'^2 / 8.

morphogen.homogenization.acoustics.pore_response(frequencies, shape: str, size: float, *, fluid: Fluid = Fluid(density=1.204, viscosity=1.81e-05, heat_ratio=1.4, prandtl=0.71, pressure=101325.0)) → dict[source]

The exact dynamic density and bulk_modulus of the fluid in straight pores of constant section at the frequencies (Hz): shape="slit" between two planes size apart, or "tube" of radius size (Zwikker & Kosten; Stinson 1991). A frame of such pores along the sound, of porosity phi, has these divided by phi; its parameters are k0 = k0' = phi size^2 / 12 and Lambda = Lambda' = size (slits), phi size^2 / 8 and size (tubes), with a tortuosity of 1.

morphogen.homogenization.acoustics.surface_absorption(impedance, incidence=0.0, *, fluid: Fluid = Fluid(density=1.204, viscosity=1.81e-05, heat_ratio=1.4, prandtl=0.71, pressure=101325.0), limit: float | None = None)[source]

The absorption coefficient of a surface of normal impedance (a number or an array; a locally reacting surface) for a plane wave at the angle incidence from its normal (radians), 1 - |(Z cos θ - Z0) / (Z cos θ + Z0)|², or in a diffuse field (incidence="diffuse"): Paris’ average ∫ α(θ) sin 2θ dθ over the angles up to limit (by default π/2), normalized. For a real impedance Z = ζ Z0 it is 8 / ζ² (1 + ζ - 1 / (1 + ζ) - 2 ln(1 + ζ)).

morphogen.homogenization.acoustics.absorption(frequencies, thickness: float, *, incidence=0.0, transverse: dict | None = None, limit: float | None = None, fluid: Fluid = Fluid(density=1.204, viscosity=1.81e-05, heat_ratio=1.4, prandtl=0.71, pressure=101325.0), **parameters) → dict[source]

The sound absorption of a layer of thickness (m) of a rigid porous frame on a rigid wall, at the frequencies (Hz): its absorption coefficient, surface_impedance and reflection coefficient, with the equivalent fluid of equivalent_fluid() (its parameters: those of along_axis() across the layer).

incidence: the angle of the plane wave from the normal of the layer (radians; 0 by default), or "diffuse": the absorption in a diffuse field, Paris’ average of the absorption over the angles up to limit (by default π/2; absorption is then that average, with the angles of the quadrature and the absorption_by_angle). The wave is refracted in the layer: with the wavenumber k0 sin θ along it, k_x² = ρ_n (ω² / K - k0² sin²θ / ρ_t) across it and Z_s = -i ω ρ_n / (k_x tan(k_x d)). transverse: the parameters along the layer of an anisotropic frame (those of along_axis() for an axis in its plane: its density ρ_t there differs from ρ_n across it; fibres, layered pores), by default those across it (an isotropic frame).