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 |
|
the volume fraction of the pores |
static permeability |
|
Stokes flow ( |
tortuosity |
|
potential flow: the conduction of the pore
fluid between insulating walls, |
viscous length |
|
the same field |
thermal length |
|
|
static thermal permeability |
|
|
(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:
objectThe fluid that saturates the pores (SI units):
density, dynamicviscosity, ratio of specific heatsheat_ratio, Prandtl numberprandtland staticpressure. 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 ofmaterials, or the phasespores): the mean over the whole image of the solution oflap(theta) = -1in the pores withtheta = 0on 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 widthH:H^2 / 12; a tube of radiusR: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 phasespores; the frame is rigid and motionless. Periodic images of cubic voxels.Returns the
porosity; the static viscouspermeability_tensor(3 x 3), its diagonalpermeability1…3and their meanpermeability; thetortuosity1…3along the axes and their meantortuosity; the viscous characteristic lengthsviscous_length1…3and their meanviscous_length; thethermal_length2 V / S; thethermal_permeability(thermal=False: left out); thespecific_surfaceof 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 ofstokes_flow().
- morphogen.homogenization.acoustics.along_axis(parameters: dict, axis: int | None = None) dict[source]¶
The six parameters of
equivalent_fluid()from the results ofacoustic_parameters(): those alongaxis(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 complexdensityandbulk_modulus(time dependenceexp(i omega t)), its characteristicimpedanceandwavenumber, and theresistivityeta / k0(Pa s/m²). Withoutthermal_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
densityandbulk_modulusof the fluid in straight pores of constant section at thefrequencies(Hz):shape="slit"between two planessizeapart, or"tube"of radiussize(Zwikker & Kosten; Stinson 1991). A frame of such pores along the sound, of porosityphi, has these divided byphi; its parameters arek0 = k0' = phi size^2 / 12andLambda = Lambda' = size(slits),phi size^2 / 8andsize(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 angleincidencefrom 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 tolimit(by default π/2), normalized. For a real impedanceZ = ζ Z0it is8 / ζ² (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 thefrequencies(Hz): itsabsorptioncoefficient,surface_impedanceandreflectioncoefficient, with the equivalent fluid ofequivalent_fluid()(itsparameters: those ofalong_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 tolimit(by default π/2;absorptionis then that average, with theanglesof the quadrature and theabsorption_by_angle). The wave is refracted in the layer: with the wavenumberk0 sin θalong it,k_x² = ρ_n (ω² / K - k0² sin²θ / ρ_t)across it andZ_s = -i ω ρ_n / (k_x tan(k_x d)).transverse: the parameters along the layer of an anisotropic frame (those ofalong_axis()for an axis in its plane: its densityρ_tthere differs fromρ_nacross it; fibres, layered pores), by default those across it (an isotropic frame).