pyEPR icon indicating copy to clipboard operation
pyEPR copied to clipboard

Support loss tangents for different interfaces (surfaces) in `do_EPR_analysis`

Open nikosavola opened this issue 2 years ago • 0 comments

NOTE: This is a draft and should not be merged yet. PR was made to inform that this is in the works

This PR would add support for different dielectric properties for different surfaces. get_Qsurface is modified to accept material_properties. When this is not specified, behaviour is reverted to the main config values as before.

In effect, one would need to specify the surfaces separately in a dictionary structure as follows and the rest is taken into account in the main epr analysis routine upon calling get_Qsurface:

pinfo.dissipative['dielectric_surfaces'] = {
	'trace': {  # metal–vacuum
		'tan_delta_surf': 0.001,  # loss tangent
		'th': 5e-9,  # thickness
		'eps_r': 10  # relative permittivity
	},
	'gaps': { # substrate-vacuum
		'tan_delta_surf': 0.001,
		'th': 2e-9,
		'eps_r': 10
	}
}

When Ansys contains the trace and gap objects.

Closes #143

nikosavola avatar Oct 13 '22 13:10 nikosavola