mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-08-05 20:11:31 +00:00
refactor(materials): diffusion and hydraulic conductivity traits
Support domain kernels and Pass~1 material field typing.
This commit is contained in:
@@ -19,7 +19,7 @@ here.
|
||||
```julia
|
||||
# Two bricks along x with different K; λ_by_elem[i] is conductivity of element i.
|
||||
mat = ElementWiseScalarDiffusion([1.0, 4.0])
|
||||
kernel = HeatKernel(ContinuumFormulation{FullThreeD}(), mat, PressurePotential())
|
||||
kernel = HeatKernel(ContinuumFormulation{ThreeDimensional}(), mat, PressurePotential())
|
||||
```
|
||||
"""
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ for the primal potential path via [`DarcyPotentialKernel`](@ref).
|
||||
# Example
|
||||
```julia
|
||||
soil = HydraulicConductivity(K = 1e-4)
|
||||
kernel = DarcyPotentialKernel(ContinuumFormulation{FullThreeD}(), soil)
|
||||
kernel = DarcyPotentialKernel(ContinuumFormulation{ThreeDimensional}(), soil)
|
||||
```
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user