Property Methods¶
Introduction¶
Property methods define material properties in a flexible and reusable way. mufem uses them to describe quantities such as:
- Thermal conductivity
- Density
- Heat capacity
- Magnetic permeability
- Other material parameters
Property methods describe how a material property depends on quantities such as temperature. They give values automatically during the simulation. You attach material properties to materials. The corresponding models then consume them.
Property methods exist for both:
- Scalar properties
- Tensor properties
Each model does not support all of these property methods. Individual models can also give their own specialized property methods.
Scalar Property Methods¶
Scalar property methods describe material properties that use a single value. Typical examples are density and heat capacity. You can also use them for tensor properties when the material is isotropic.
Constant¶
The material property \(y\) is uniform and independent of temperature or any other state:
Use this when the property variation is negligible. The property stays constant within the region of interest.
Linear Temperature Coefficient¶
The material property \(y\) varies linearly with temperature:
where:
- \(T\) - local temperature
- \(y_0\) - property value at the reference temperature
- \(\alpha\) - temperature coefficient
- \(T_{\text{ref}}\) - reference temperature
Use this to capture a moderate temperature dependence with a simple model.
thermal_conductivity_my_material = mufem.methods.LinearTemperatureCoefficient(
reference_value=25.0,
temperature_coefficient=2.5,
reference_temperature=300.0,
)
Note that this method needs temperature to be present in the model.
Temperature Table¶
Discrete data points define the material property \(y\). mufem interpolates it linearly:
Use this when you have experimental or literature data, or when the property is nonlinear.
thermal_conductivity_method = mufem.methods.TemperatureTable(
temperature=[300, 400, 500, 600],
values=[40, 100, 80, 70]
)
Note that this method needs temperature to be present in the model.
Function¶
An arbitrary scalar coefficient defines the material property \(y\). The property can then depend on space and other field variables (such as temperature or magnetic flux density).
$$ y(\mathbf{x}) = e{-x2} $$ Use this method mainly for benchmarking, or for dependencies that other property methods do not cover.
Note that this method gives no automatic linearization, which can slow convergence.
Tensor Property Methods¶
Tensor property methods describe matrix-valued material properties. These are usually symmetric. Use them for anisotropic materials such as:
- Thermal conductivity
- Electrical conductivity
- Magnetic permeability
- Elasticity
Isotropic¶
You specify an isotropic tensor with a scalar property method.
Transverse (Transverse Isotropic)¶
The tensor has one value along a preferred (parallel) direction and another value in the transverse plane:
where: - \(y_\parallel\) - property along the preferred (parallel) direction - \(y_\perp\) - property along the perpendicular (transverse) direction
This form is common in layered materials, laminates, and strongly oriented media.
Orthotropic¶
The tensor has different values along three orthogonal directions:
This represents materials where the property:
- Is anisotropic but constant in space and temperature
- Does not depend on the solution field
- Remains fixed throughout the simulation
General Symmetric¶
A fully symmetric tensor:
This is the most general symmetric tensor. Use it for anisotropic but reciprocal materials.
electric_conductivity_my_material = mufem.methods.SymmetricTensor(
xx=5.6e7, xy=3.0e5, xz=3.0e5,
yy=5.6e7, yz=4.0e5,
zz=1.0e4,
)
Note that any symmetric tensor can be diagonalized $$ \mathbf{Y}{\textrm{g}} = \mathbf{R} \mathbf{Y}^T $$ where: - }} \mathbf{R\(\mathbf{Y}_{\textrm{g}}\) - tensor in global coordinates - \(\mathbf{Y}_{\textrm{p}}\) - principal (orthotropic) tensor - \(\mathbf{R}\) - rotation/coordinate transform
For this reason, it is often better to use the orthotropic representation with an appropriate coordinate transformation.
General (Non-Symmetric)¶
Under certain conditions, non-symmetric tensors describe materials (for example Hall conductivity):
This is the most general tensor form with no symmetry assumptions.