VolumeModel¶
-
class
emg3d.models.
VolumeModel
(grid, model, sfield)[source]¶ Bases:
object
Return a volume-averaged version of provided model.
Takes a Model instance and returns the volume averaged values. This is used by the solver internally.
\[\eta_{\{x,y,z\}} = -V\mathrm{i}\omega\mu_0 \left(\rho^{-1}_{\{x,y,z\}} + \mathrm{i}\omega\varepsilon\right)\]\[\zeta = V\mu_\mathrm{r}^{-1}\]Parameters: - grid : TensorMesh
Grid on which to apply model.
- model : Model
Model to transform to volume-averaged values.
- sfield : SourceField
A VolumeModel is frequency-dependent. The frequency-information is taken from the provided source filed.
Attributes Summary
eta_x
eta in x-direction. eta_y
eta in y-direction. eta_z
eta in z-direction. zeta
zeta. Methods Summary
calculate_eta
(name, grid, model, field)eta: volume multiplied with conductivity. calculate_zeta
(name, grid, model)zeta: volume divided by mu_r. Attributes Documentation
-
eta_x
¶ eta in x-direction.
-
eta_y
¶ eta in y-direction.
-
eta_z
¶ eta in z-direction.
-
zeta
¶ zeta.
Methods Documentation