Giter Club home page Giter Club logo

lsm-electromagnetic's Introduction

LSM-electromagnetic

This code is part of my PhD project. The aim is to, based on electromagnetic far-field data, test a numerical algorithm for the identification of thin flaws (delamination) in a layered media.

The numerical algorithm was developed adapting qualitative inverse scattering techniques (the linear sampling method) to our problem. This algorithm is based on the solution of a severely ill-posed linear system Ax=b, where:

  1. A = A_b - A_d, where A_b is the farfield matrix of the problem without the defect (the background medium), and A_d is the farfield matrix of the material to be tested (possibly defective).

  2. b is the far field pattern of the Green's function associated to the background media.

This project consists of the following files:

  1. simpleLSM.m

  2. readff.m : is a Matlab code that reads the electromagnetic farfield information computed by the finite element code written in the Netgen/Ngsolve library. With this function we assemble both A_b and A_d.

  3. readrhs.m : is a Matlab code that assembles the right-hand-side b, by reading the total electromagnetic field data of the background media from a finite element code developed also in Netgen/Ngsolve. The total field of the background media is a fast way to compute b, thanks to the mixed reciprocity principle proven for this setting of study, which relates the farfield pattern of the Green's function of the background to the total field due to the background when the incident fild are plane waves.

  4. LSMdata.py : is a code in python that uses the FEM library Netgen/Ngsolve, to compute the farfield data of the problem with and without the defect. Its output are FFdefect.txt, FFbackground.txt and Epl_back.txt. These files that can be read in Matlab to generate A_d and A_b and b, using A_d = assemble_farfield('FFdefect.txt'), A_b = assemble_farfield('FFbackground.txt') and b = assemble_rhs('Epl_back.txt').

  5. parameters.py

  6. aux_functions.py

  7. ffcode.py

  8. mygeometry1.py

lsm-electromagnetic's People

Contributors

irenedet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.