Giter Club home page Giter Club logo

acoustic-atc's Introduction

Acoustic-ATC

The code constitutes of four different .edp files:

  1. "parameters.eps"

File that contains the physical and geometrical parameters of the medium where the waves will propagate. For each scatterer (circle, kite, or kite2), we have two medium type possibilities: a layered or in a non-layered one (these can be chosen changing the values of the string variables 'scatterer' and 'MediumType', respectively). Once that both the scatterer and medium type are chosen, one can decide the (piecewise constant) material properties: mu = rmu + 1.iimu and eps = rn + 1.iin, where the equation considered is div( mu^-1 grad(u)) + k^2 eps u = 0

This files generates two meshes: the one that "FFback.edp" will use and the one that "FFcrack.edp" will use (the background media mesh, and the mesh for the media with a -or a couple of- crack).

  1. "FFback.edp" File that computes the Fourier coefficients of the far-field pattern associated to the acoustic scattered wave for different incident plane waves. Outputs:

  2. The matlab file "filenameBack.m" (filenameBack is a variable that can be found in parameters.edp), that contains a Ninc x nbfpro matrix called Aback. Here Ninc = number of incident waves, nbfpro = truncation level for the Fourier series expansion.

  3. The matlab file "RHS.m" that contains a Ninc x Nsample matrix called rhs, where Ninc = number of incident waves, Nsample = number of sample points along the curve gamma where we will reccord the value of the solution, later used as a right hand side for the LSM in the crack problem.

  4. "FFcrack.edp" File that computes the Fourier coefficients of the far-field pattern associated to the acoustic scattered wave for different incident plane waves. The medium here is the same as in FFback.edp, except that there are some (1 or 2) cracks at the interface of two materials. The 'scatterer' variable in "parameters.edp" corresponds to different geometries for both the scatterer and the cracks: circle - Circular scatterer and 1 single crack kite - kite-shaped scatterer and 1 single crack kite2 - kite-shaped scatterer and 2 cracks

Output:

  1. The unique output of "FFcrack.edp" is the matlab file "filenameCrack.m" (filenameCrack is a variable that can be found in parameters.edp), that contains a Ninc x nbfpro matrix called Adef. Here Ninc = number of incident waves, nbfpro = truncation level for the Fourier series expansion.

  2. "auxfunc.edp" This file contains few auxiliary functions used by "FFback.edp" and "FFcrack.edp": i) the one that integrates functions in the FE space, against the Fourier basis function on the external circle (to make a change of basis to Fourier one), and which is very useful in the construction of both the DtN map and the far-field patterns. ii) Functions that save the outputs of "FFback.edp" and "FFcrack.edp" as matlab files

acoustic-atc's People

Contributors

irenedet avatar

Stargazers

Wenjun avatar  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.