simpeg.electromagnetics.frequency_domain.simulation.BaseFDEMSimulation#
- class simpeg.electromagnetics.frequency_domain.simulation.BaseFDEMSimulation(mesh, survey=None, forward_only=False, permittivity=None, storeJ=False, **kwargs)[source]#
Bases:
BaseEMSimulation
Base finite volume FDEM simulation class.
This class is used to define properties and methods necessary for solving 3D frequency-domain EM problems. For a \(+i\omega t\) Fourier convention, Maxwell’s equations are expressed as:
\[\begin{split}\begin{align} \nabla \times \vec{E} + i\omega \vec{B} &= - i \omega \vec{S}_m \\ \nabla \times \vec{H} - \vec{J} &= \vec{S}_e \end{align}\end{split}\]where the constitutive relations between fields and fluxes are given by:
\(\vec{J} = \sigma \vec{E}\)
\(\vec{B} = \mu \vec{H}\)
and:
\(\vec{S}_m\) represents a magnetic source term
\(\vec{S}_e\) represents a current source term
Child classes of
BaseFDEMSimulation
solve the above expression numerically for various cases using mimetic finite volume.- Parameters:
- mesh
discretize.base.BaseMesh
The mesh.
- survey
frequency_domain.survey.Survey
The frequency-domain EM survey.
- forward_onlybool,
optional
If
True
, the factorization for the inverse of the system matrix at each frequency is discarded after the fields are computed at that frequency. IfFalse
, the factorizations of the system matrices for all frequencies are stored.- permittivity(n_cells,)
numpy.ndarray
,optional
Dielectric permittivity (F/m) defined on the entire mesh. If
None
, electric displacement is ignored. Please note that permittivity is not an invertible property, and that future development will result in the deprecation of this propery.- storeJbool,
optional
Whether to compute and store the sensitivity matrix.
- mesh
Attributes
Cell center inner product matrix.
Cell center property inner product matrix.
Cell center property inner product inverse matrix.
Cell center property inner product matrix.
Cell center property inner product inverse matrix.
Cell center property inner product matrix.
Cell center property inner product inverse matrix.
Cell center property inner product matrix.
Cell center property inner product inverse matrix.
Edge inner product matrix.
Edge inner product inverse matrix.
Edge property inner product matrix.
Edge property inner product inverse matrix.
Edge property inner product matrix.
Edge property inner product inverse matrix.
Edge property inner product matrix.
Edge property inner product inverse matrix.
Edge property inner product matrix.
Edge property inner product inverse matrix.
Face inner product matrix.
Face inner product inverse matrix.
Face property inner product matrix.
Face property inner product inverse matrix.
Face property inner product matrix.
Face property inner product inverse matrix.
Face property inner product matrix.
Face property inner product inverse matrix.
Face property inner product matrix.
Face property inner product inverse matrix.
Node inner product matrix.
Node inner product inverse matrix.
Node property inner product matrix.
Node property inner product inverse matrix.
Node property inner product matrix.
Node property inner product inverse matrix.
Node property inner product matrix.
Node property inner product inverse matrix.
Node property inner product matrix.
Node property inner product inverse matrix.
A list of solver objects to clean when the model is updated
SimPEG
Counter
object to store iterations and run-times.HasModel.deleteTheseOnModelUpdate has been deprecated.
Whether to store the factorizations of the inverses of the system matrices.
Mesh for the simulation.
The inversion model.
Magnetic permeability (h/m) physical property model.
Derivative of Magnetic Permeability (H/m) wrt the model.
Mapping of the inversion model to Magnetic Permeability (H/m).
Inverse magnetic permeability (m/h) physical property model.
Derivative of Inverse Magnetic Permeability (m/H) wrt the model.
Mapping of the inversion model to Inverse Magnetic Permeability (m/H).
True if a model is necessary
Dielectric permittivity (F/m)
Electrical resistivity (ohm m) physical property model.
Derivative of Electrical resistivity (Ohm m) wrt the model.
Mapping of the inversion model to Electrical resistivity (Ohm m).
Path to directory where sensitivity file is stored.
Electrical conductivity (s/m) physical property model.
Derivative of Electrical conductivity (S/m) wrt the model.
Mapping of the inversion model to Electrical conductivity (S/m).
Numerical solver used in the forward simulation.
Solver-specific parameters.
Whether to store inner product matrices
Whether to compute and store the sensitivity matrix.
The FDEM survey object.
Verbose progress printout.
MccI
Vol
Methods
Jtvec
(m, v[, f])Compute the adjoint sensitivity matrix times a vector.
Jtvec_approx
(m, v[, f])Approximation of the Jacobian transpose times a vector for the model provided.
Jvec
(m, v[, f])Compute the sensitivity matrix times a vector.
Jvec_approx
(m, v[, f])Approximation of the Jacobian times a vector for the model provided.
MccMuDeriv
(u[, v, adjoint])Derivative of MccProperty with respect to the model.
MccMuIDeriv
(u[, v, adjoint])Derivative of MccPropertyI with respect to the model.
MccMuiDeriv
(u[, v, adjoint])Derivative of MccProperty with respect to the model.
MccMuiIDeriv
(u[, v, adjoint])Derivative of MccPropertyI with respect to the model.
MccRhoDeriv
(u[, v, adjoint])Derivative of MccProperty with respect to the model.
MccRhoIDeriv
(u[, v, adjoint])Derivative of MccPropertyI with respect to the model.
MccSigmaDeriv
(u[, v, adjoint])Derivative of MccProperty with respect to the model.
MccSigmaIDeriv
(u[, v, adjoint])Derivative of MccPropertyI with respect to the model.
MeMuDeriv
(u[, v, adjoint])Derivative of MeProperty with respect to the model.
MeMuIDeriv
(u[, v, adjoint])Derivative of MePropertyI with respect to the model.
MeMuiDeriv
(u[, v, adjoint])Derivative of MeProperty with respect to the model.
MeMuiIDeriv
(u[, v, adjoint])Derivative of MePropertyI with respect to the model.
MeRhoDeriv
(u[, v, adjoint])Derivative of MeProperty with respect to the model.
MeRhoIDeriv
(u[, v, adjoint])Derivative of MePropertyI with respect to the model.
MeSigmaDeriv
(u[, v, adjoint])Derivative of MeProperty with respect to the model.
MeSigmaIDeriv
(u[, v, adjoint])Derivative of MePropertyI with respect to the model.
MfMuDeriv
(u[, v, adjoint])Derivative of MfProperty with respect to the model.
MfMuIDeriv
(u[, v, adjoint])I Derivative of MfPropertyI with respect to the model.
MfMuiDeriv
(u[, v, adjoint])Derivative of MfProperty with respect to the model.
MfMuiIDeriv
(u[, v, adjoint])I Derivative of MfPropertyI with respect to the model.
MfRhoDeriv
(u[, v, adjoint])Derivative of MfProperty with respect to the model.
MfRhoIDeriv
(u[, v, adjoint])I Derivative of MfPropertyI with respect to the model.
MfSigmaDeriv
(u[, v, adjoint])Derivative of MfProperty with respect to the model.
MfSigmaIDeriv
(u[, v, adjoint])I Derivative of MfPropertyI with respect to the model.
MnMuDeriv
(u[, v, adjoint])Derivative of MnProperty with respect to the model.
MnMuIDeriv
(u[, v, adjoint])Derivative of MnPropertyI with respect to the model.
MnMuiDeriv
(u[, v, adjoint])Derivative of MnProperty with respect to the model.
MnMuiIDeriv
(u[, v, adjoint])Derivative of MnPropertyI with respect to the model.
MnRhoDeriv
(u[, v, adjoint])Derivative of MnProperty with respect to the model.
MnRhoIDeriv
(u[, v, adjoint])Derivative of MnPropertyI with respect to the model.
MnSigmaDeriv
(u[, v, adjoint])Derivative of MnProperty with respect to the model.
MnSigmaIDeriv
(u[, v, adjoint])Derivative of MnPropertyI with respect to the model.
dpred
([m, f])Predicted data for the model provided.
fields
([m])Compute and return the fields for the model provided.
fieldsPair
alias of
FieldsFDEM
getJ
(m[, f])Generate the full sensitivity matrix.
getJtJdiag
(m[, W, f])Return the diagonal of \(\mathbf{J^T J}\).
getSourceTerm
(freq)Returns the discrete source terms for the frequency provided.
make_synthetic_data
(m[, relative_error, ...])Make synthetic data for the model and Gaussian noise provided.
residual
(m, dobs[, f])The data residual.
Galleries and Tutorials using simpeg.electromagnetics.frequency_domain.simulation.BaseFDEMSimulation
#
2D inversion of Loop-Loop EM Data
Heagy et al., 2017 1D RESOLVE and SkyTEM Bookpurnong Inversions
Heagy et al., 2017 1D RESOLVE Bookpurnong Inversion
Heagy et al., 2017 Casing Example
Heagy et al., 2017 1D FDEM and TDEM inversions
EM: Schenkel and Morrison Casing Model
3D Forward Simulation on a Cylindrical Mesh
3D Forward Simulation on a Tree Mesh