Skip to content

UniPD-DII-ETCOMP/PEEC-1D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PEEC 1D

This directory contains a PEEC code, based on stick elements, for the solution of full-wave electromagnetic problems. It can be used for research and academic purposes.

Optimized, parallel (OpenMP), fortran90, general versions of this code have been used in, e.g.,

See the above references for more details and consider citing it.

In this code only conductive media modeled by thin 1D (a.k.a "stick") elements are considered.


Description

"MAIN_PEEC_1D.m" is the main file you must run to start the code.

All user-settable quantities, e.g. frequency and resistivity, are contained in the block identified by the BEGIN USER SETTINGS / END USER SETTINGS comments.

At the end of the simulation, variable (struct) "sol" contains useful quantities, i.e.:

  • sol.I_obj = currents in each stick element of the mesh
  • sol.U_obj = electric potentials in each node of the mesh
  • sol.Q = electric charges in each node of the mesh
  • sol.I_app = currents in each lumped branch
  • sol.U_app = electric potentials in each lumped node
  • sol.Etot = total (scattered+external) electric field in target points
  • sol.Esca = scattered electric field in target points
  • sol.Eext = external electric field in target points

Available test cases

Several test cases are contained in separate directories under "test_cases". Each directory contains a description.txt file. Set the "test_case_dir" variable in "MAIN_PEEC_1D.m" to the appriapriate directory.

User-defined test cases

Follow the instuctions given in "README.txt" inside the "test_cases" directory.

Contacts

Riccardo Torchio ([email protected])