FDTD_Solver
rfnetwork.solver.FDTD_Solver
- class rfnetwork.solver.FDTD_Solver(bounding_box)
Bases:
objectFDTD EM Solver for PCB geometries.
Parameters
- bounding_box: pv.PolyData
box enclosing the solution space.
Methods
FDTD_Solver.add_conductor(*objects[, sigma, ...])Add conductor
FDTD_Solver.add_current_probe(name, face)Add a probe that collects the current through a 2D surface.
FDTD_Solver.add_dielectric(*objects, er[, ...])Add rectangular dielectric objects
FDTD_Solver.add_farfield_monitor(frequency)Configure far field monitors
FDTD_Solver.add_field_monitor(name, field, axis)Add near field monitor on a 2D surface.
FDTD_Solver.add_image_layer(filepath[, ...])Add a single layer gerber file.
FDTD_Solver.add_lumped_port(number, face, ...)Attach a lumped port to a face.
FDTD_Solver.add_resistor(face, value, ...[, ...])Attach a resistive element to a face.
FDTD_Solver.add_voltage_probe(name, line)Add a voltage probe along a line of e-field components.
FDTD_Solver.assign_PML_boundaries(*sides[, ...])Assign a PML boundary to sides of the solve box.
FDTD_Solver.assign_excitation(waveform, ports)Assign time domain voltage excitation to ports.
Raise error if model is not meshed yet.
Raise error if model is not solved yet.
FDTD_Solver.edge_correction(p1, p2, ...[, ...])Analytic correction factors for singularities at PEC surface edges.
FDTD_Solver.field_pos_to_idx(position, field)Returns the index of the field component that is directly on or just past (in +x, +y and +z directions) the given grid position.
Generate a gaussian modulated sinusoidal source waveform with the given width in seconds.
FDTD_Solver.gaussian_source(width, t0, t_len)Generate a gaussian source waveform with the given width in seconds.
FDTD_Solver.generate_mesh(d_max[, d_min, ...])Generate the grid and FDTD coefficients for the model geometry.
FDTD_Solver.get_farfield_gain(theta, phi[, ...])Compile farfield realized gain from the farfield monitor attached to the solver.
FDTD_Solver.get_farfield_rE(theta, phi)Compile E-field monitor data from the farfield monitor attached to the solver.
Compile field monitor data.
FDTD_Solver.get_sparameters(frequency[, ...])Returns a column of the s-parameter matrix with source_port as the excited port.
Get raw probe values from a line probe.
FDTD_Solver.plot_coefficients(field, value, ...)Plot FDTD coefficients overlayed on the model geometry.
FDTD_Solver.plot_monitor(monitor[, linear, ...])Show a field monitor overlayed on the model geometry.
FDTD_Solver.pos_to_idx(position[, mode])Returns the index of the grid edge or cell center that is directly on or just past (in +x, +y and +z directions) the given position.
FDTD_Solver.render([show_probes, ...])Plot the model geometry
Remove excitations from all ports.
FDTD_Solver.solve([n_threads, show_progress])Run FDTD algorithm.
Returns time domain current or voltage for the given probe.
Attributes