flow.conductivity

flow.conductivity(chi, config)

Cell conductivity, interpolated linearly between air and solid.

Linear in chi rather than harmonic or power-law: this is the material mixture inside a cell of the interface band, and the band is two cells wide by construction (:mod:cadjoint.flow.domain), so the interpolation rule only ever acts where the geometry genuinely is part metal. The rule that decides how a face between two such cells conducts is the harmonic mean, and that one is not a choice — see the module docstring.

Parameters

Name Type Description Default
chi jax.Array Solid fraction in [0, 1], (NX, NY, NZ). required
config EnergyConfig The energy configuration. required

Returns

Name Type Description
jax.Array (NX, NY, NZ) conductivity in lattice units.