simpeg.electromagnetics.time_domain.Fields3DMagneticFluxDensity#

class simpeg.electromagnetics.time_domain.Fields3DMagneticFluxDensity(simulation)[source]#

Bases: FieldsTDEM

Fields class for storing 3D total magnetic flux density solutions.

This class stores the total magnetic flux density solution computed using a time_domain.Simulation3DMagneticFluxDensity simulation object. This class can be used to extract the following quantities:

  • 'b', 'h', 'dbdt' and 'dhdt' on mesh faces.

  • 'e' and 'j' on mesh edges.

See the example below to learn how fields can be extracted from a Fields3DMagneticFluxDensity object.

Parameters:
simulationtime_domain.Simulation3DMagneticFluxDensity

The TDEM simulation object associated with the fields.

Attributes

aliasFields

The aliased fields of the object.

approxSize

Approximate cost of storing all of the known fields in MB.

dtype

Python data type(s) used to store the fields.

knownFields

The field solutions and where they are discretized on the mesh.

mesh

Mesh used by the simulation.

simulation

The simulation object used to compute the field solution.

survey

Survey used by the simulation.

Methods

startup()

Run startup to connect the simulation's discrete attributes to the fields object.

Examples

The Fields3DMagneticFluxDensity object stores the total magnetic flux density solution on mesh faces. To extract the discrete electric fields and magnetic flux densities for all sources and time-steps:

f = simulation.fields(m)
e = f[:, 'e', :]
b = f[:, 'b', :]

The array e returned will have shape (n_edges, n_sources, n_steps). And the array b returned will have shape (n_faces, n_sources, n_steps). We can also extract the fields for a subset of the sources and time-steps as follows:

f = simulation.fields(m)
e = f[source_list, 'e', t_inds]
b = f[source_list, 'b', t_inds]

Galleries and Tutorials using simpeg.electromagnetics.time_domain.Fields3DMagneticFluxDensity#

EM: TDEM: Permeable Target, Inductive Source

EM: TDEM: Permeable Target, Inductive Source