f_material

class nrv.fmod.FEM.fenics_utils.f_material[source]

a class for conductive material wh

Parameters:

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

Attributes

f_material.is_func

f_material.sigma

get the conductivity of the material

f_material.sigma_func

f_material.sigma_xx

get the conductivity of the material along ox

f_material.sigma_yy

get the conductivity of the material along oy

f_material.sigma_zz

get the conductivity of the material along oz

Methods

f_material.__init__()

initialisation of the fenics_material

f_material.clear_frequency()

set the woking frequency to None

f_material.get_parameters()

Generic method returning all the atributes of an NRV_class instance

f_material.is_function_defined()

check that the material conductivity is define as a function

f_material.is_isotropic()

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

f_material.is_permitive()

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

f_material.load(data[, blacklist])

Generic loading method for NRV_class instance

f_material.load_material([data])

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

Return material as dictionary and eventually save it as json file

f_material.save_material([save, fname])

f_material.set_anisotropic_conductivity(...)

set the conductivity tensor for an anisotropic material

f_material.set_conductivity_function(sigma_func)

set the conductivity space function for an anisotropic material

f_material.set_frequency(freq)

set the frequency of the electric field in the material

f_material.set_isotropic_conductivity(sigma)

set the conductivity for an isotropic material

f_material.set_name(name)

set a name to a material

f_material.set_parameters(**kawrgs)

Generic method to set any attribute of NRV_class instance

f_material.set_permitivity(epsilon)

set the relative permitivity of the material.

f_material.set_source(source)

set a source to a material.