layered_material

class nrv.fmod.FEM.fenics_utils.layered_material(mat_in: any = None, mat_lay: any = None, alpha_lay: float = 0.01)[source]

a class for conductive material wh

Parameters:
  • mat1 (material) – generate the fenics material from mat attribute

  • mat2 (material) – generate the fenics material from mat attribute

Attributes

layered_material.is_func

layered_material.sigma

get the contuvity of the material

layered_material.sigma_func

layered_material.sigma_xx

get the conductivity of the material along ox

layered_material.sigma_yy

get the conductivity of the material along oy

layered_material.sigma_zz

get the conductivity of the material along oz

Methods

layered_material.__init__([mat_in, mat_lay, ...])

initialisation of the fenics_material

layered_material.clear_frequency()

set the woking frequency to None

layered_material.get_parameters()

Generic method returning all the atributes of an NRV_class instance

layered_material.is_function_defined()

check that the material conductivity is define as a function

layered_material.is_isotropic()

check that the material is isotropic or not, return true if isotropic, else false

layered_material.is_permitive()

check if the material permitivity and the electric field frequency are set

layered_material.load(data[, blacklist])

Generic loading method for NRV_class instance

layered_material.load_material([data])

layered_material.save([save, fname, blacklist])

Return material as dictionary and eventually save it as json file

layered_material.save_material([save, fname])

layered_material.set_anisotropic_conductivity(...)

set the conductivity tensor for an anisotropic material

layered_material.set_conductivity_function(...)

set the conductivity space function for an anisotropic material

layered_material.set_frequency(freq[, set_in])

set the frequency of the electric field in the material

layered_material.set_isotropic_conductivity(sigma)

set the conductivity for an isotropic material

layered_material.set_name(name)

set a name to a material

layered_material.set_parameters(**kawrgs)

Generic method to set any attribute of NRV_class instance

layered_material.set_permitivity(epsilon)

set the relative permitivity of the material.

layered_material.set_source(source)

set a source to a material.