FEMSimulation.add_domain

FEMSimulation.add_domain(mesh_domain, mat_pty=None, mat_file=None, mat_perm=None, ID=None)[source]

add new domain or update if mesh_domain already exists

Parameters:
  • mesh_domain (int) – Mesh ID of the domain (should be 3D)

  • mat_pty (str, float or list[3]) – Material property, either mat_file or mat_perm

  • mat_file (str) –

    Material filename (see fmod.material.py) if None use mat_perm,

    by default None

  • mat_perm (float or list[3]) –

    Material permitivity, if float isotropic mat, if list[3] anisotropic mat

    if None set to 1 (and mat_file is None), by default None