acoustoelectric_heterogeneous_simulation

Acoustoelectric Heterogeneous Simulation

https://github.com/acoustoelectric/acoustoelectric_heterogeneous_simulation

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary

Keywords

acoustics acoustoelectric electric finite-element-model sim4life
Last synced: 6 months ago · JSON representation ·

Repository

Acoustoelectric Heterogeneous Simulation

Basic Info
  • Host: GitHub
  • Owner: Acoustoelectric
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 30.3 MB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
acoustics acoustoelectric electric finite-element-model sim4life
Created almost 6 years ago · Last pushed over 1 year ago
Metadata Files
Readme Citation

README.md

Acoustoelectric Heterogeneous Simulation

Acoustoelectric Heterogeneous Simulation

This repository contains all files required to simulate the acoustoelectric effect in a non-homogeneous medium. The simulation is made of 4 parts which solve the equation shown in the below flow chart.

Results Description

1 through 4 refer to the simulation results from each of the above listed simulations in the flowchart.

  1. Pressure field simulation of single element focused transducer.
  2. Dipole simulation using Ohmic Dominated Quasistatic Solver
  3. Phi result after the real and imaginary diffusion solvers have been run.
  4. The resultant electric field generated by the acoustoelectric effect, and the negative gradient of phi.

Acoustoelectric Sim4Life Simulation

  • Questions: Jean Rintoul
  • Email: jeanrintoul@imperial.ac.uk

Structure:

The Acoustoelectric Simulation Consists of a 4 simulation pipeline.

  1. The acoustic and EM dipole simulation should be run.
  2. Run acoustoelectric.py through the S4L scripter. Note that this script calls out to an external python 3 process to compute the gradient of pressure correctly. If you do not have python 3 installed on your path you will need to do this to run the script successfully. All interim quantities are stored out to NPZ files separately, to enable easy checking at every step. When the script has finished running, 'success!' will be written in the consol in s4l, and in the analysis tab you will see the two source terms. One source term is called 'real part diffusion', the other is 'imag part diffusion'.
  3. To run the diffusion, we compute the result for real and imaginary parts separately. In the simulation tab, in 'ImageDiffusion' simulation, import an analysis source. When you do this, you should see 'imag part diffusion' in the option for sources to import. Similarly for the 'RealDiffusion'. Once you have ensured that both diffusion sims have the correct source term, run them.
  4. Once both diffusion simulation have completed, from the scripter run 'joinaefield'. This also calls out to an external python 3 process to compute a gradient term, and will also re-import the resultant phi and AE field into the analysis.
  5. Switch to the analysis tab and add a slice viewer to the Acoustoelectric Voltage field, and the Acoustoelectric E field(note this is the magnitude sqrt(Ex^2+ Ey^2+E_Z^2) and note a vector field).

Other files for verification and residual analysis: - poisson verification.py. This file takes in the resultant phi, calculates the laplacian and compares it with the source term.

- gradient verification. This file takes in the pressure field, the gradient calculated by numpy in python 3, and compares it against a central difference calculation of the gradient term, thereby verifying the gradient calculation.

- acousticaccuracytest.py- this file was used to assess the accuracy of the acoustic simulation in comparison to the output of the analytic solution focused.m. The acousticaccuracytestexporter can be run from within s4l once the acoustic simulation is complete, to export the results ready to plot.

<img src="images/acousticvalidation.png" height="200">

Resultant acoustoelectric field

Owner

  • Name: Acoustoelectric
  • Login: Acoustoelectric
  • Kind: organization

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: Acoustoelectric heterogeneous simulation
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Jean
    family-names: Rintoul
    email: jean.rintoul@gmail.com
    name-particle: Jean
    orcid: 'https://orcid.org/0000-0002-1963-7023'
    affiliation: Imperial College of London
  - given-names: Haza
    family-names: Montanaro
  - given-names: Esra
    family-names: Neufeld
identifiers:
  - type: doi
    value: 10.6084/m9.figshare.26948188.v1
    description: simulation github respository
repository-code: >-
  https://github.com/Acoustoelectric/Acoustoelectric_Heterogeneous_Simulation
abstract: >-
  Inhomogeneous solution for the acoustoelectric
  interaction. 
keywords:
  - >-
    acoustoelectric, finite element simulation, acoustics,
    medical physics, biomedical imaging
license: CC-BY-4.0

GitHub Events

Total
Last Year