Skip to main content

HighFrequency.solve

Description​

Computes the electromagnetic response of the configured model by solving the three-dimensional, frequency-domain Maxwell equations using the finite element method (FEM).

The analysis uses the assigned mesh, material properties, boundary conditions, and operating frequencies. When multiple frequencies are specified, the model is solved at each frequency to obtain its response over the specified frequency range.

The method returns a Solution object that provides access to the computed electromagnetic fields and S-parameters.

Syntax​

obj

obj A HighFrequency object representing the configured electromagnetic model.

solution = obj.solve()

solution = obj.solve() Solves the configured electromagnetic model and returns a Solution object containing the simulation results.

Output Arguments​

solution

Solution object providing access to the computed electromagnetic fields, S-parameters, and simulated frequency values.

Examples​

solution = model.solve()

sparams = solution.s_parameters()
sparams.plot()

Notes​

A mesh and operating frequency must be specified before calling solve. Materials and boundary conditions should be configured as required by the simulation model.

Errors / Exceptions​

Error / Exceptions List
tanager:modelmessage:EmptyMesh
Condition

solve is called without an assigned mesh.

Resolution

Assign a Mesh before calling solve.

hado:highfrequencymessage:EmptyFrequency
Condition

solve is called without an assigned frequency.

Resolution

Set frequency before calling solve.