Isotropic Conductivity 2D¶
Bases: IsotropicConductivity3D
Isotropic heat conductivity material in 2D.
Parameters:
-
kappa(Tensor | float) –In-plane thermal conductivity. If a float is provided, it is converted. Shape:
()for a scalar or(N,)for a batch of materials. -
rho(Tensor | float, default:1.0) –Mass density. If a float is provided, it is converted. Shape:
()for a scalar or(N,)for a batch of materials.
Notes
- No internal state variables (
n_state = 0). - Supports batched/vectorized material parameters.
- The inherited
stepmethod operates on thermal tensors with shapes(..., 1, 2)and returns an algorithmic tangent of shape(..., 2, 2).
Definition of plane conductivity tensor
Same constitutive law as IsotropicConductivity3D, with the conductivity
tensor restricted to the in-plane components
$$
\kappa_{ij} = \kappa \delta_{ij}, \quad i, j \in {1, 2}.
$$
Heat conduction out of the plane is not modelled.
vectorize(n_elem)
¶
Returns the material batched over n_elem elements.
Parameters:
-
n_elem(int) –Number of elements to vectorize the material for.
Returns:
-
Material(T) –A material of the same type carrying one entry per element, or itself if it is vectorized already.
step(grad_inc, grad, flux, state, cl, iter)
¶
Performs an incremental step in the isotropic heat conduction model.
Fourier's law, \(\Delta \mathbf{q} = -\pmb{\kappa} \cdot \Delta \nabla T\), with a constant conductivity.
Parameters:
-
grad_inc(Tensor) –Incremental temperature gradient. Shape:
(..., 1, 3), where...represents batch dimensions. -
grad(Tensor) –Current temperature gradient. Unused. Shape:
(..., 1, 3), same asgrad_inc. -
flux(Tensor) –Current heat flux. Shape:
(..., 1, 3). -
state(Tensor) –Internal state variables (unused in heat conductivity). Shape: Arbitrary, remains unchanged.
-
cl(Tensor) –Characteristic lengths. Shape:
(...). -
iter(int) –Current iteration number.
Returns:
-
flux_new(Tensor) –Updated heat flux. Shape:
(..., 1, 3). -
state_new(Tensor) –Updated internal state (unchanged). Shape: same as
state. -
dqdg(Tensor) –Algorithmic tangent conductivity. Shape:
(..., 3, 3).