openacoustics.bem.Bem2D Class Reference

for calculating 2-dimensional sound field with bem More...

List of all members.

Public Member Functions

def Gn
 partial difference of green function in normal direction
def G
 green function
def createMatrix
 create A matrix
def createSourceMatrix
 create matrix of sound sources


Detailed Description

for calculating 2-dimensional sound field with bem

A simple 2-dimensional bem class for calculating sound field with line element

Member Function Documentation

def openacoustics.bem.Bem2D.Gn (   self,
  k,
  rm,
  rn,
  en 
)

partial difference of green function in normal direction

\[ \exp{2\pi} \]

Parameters:
k wave number
rm cordinate vector of middle point of m-th elemtn
rn cordinate vector of middle point of n-th elemtn
en normal vector of n-th element
Return values:
val calculated value

def openacoustics.bem.Bem2D.G (   self,
  k,
  rm,
  rn 
)

green function

Parameters:
k wave number
rm cordinate vector of middle point of m-th element
rn cordinate vector of middle point of n-th element
Return values:
val calculated value

def openacoustics.bem.Bem2D.createMatrix (   self,
  r,
  nv,
  S,
  k,
  w,
  ro0,
  beta 
)

create A matrix

Parameters:
r cordinates of middle point of elements
nv normal vector of elements
S areas of surfaces
k wave number
w angular frequency
ro0 density of air
beta admittance of whole element
Return values:
A calculated A matrix

def openacoustics.bem.Bem2D.createSourceMatrix (   self,
  rs,
  r,
  k 
)

create matrix of sound sources

Parameters:
rs cordinates of points of sources
r cordinates of middle points of elements
k wave number
TODO: multiple source is not implemented


The documentation for this class was generated from the following file:

Generated on Wed Dec 24 13:58:45 2008 for OpenAcoustics by  doxygen 1.5.5