Package openacoustics.fem

2, 3 dimensional fem module for acoustic problem More...


Classes

class  Fem2D
 for calculating 2-dimensional sound field with fem More...
class  Fem3D
 for calculating 3-dimensional sound field with fem More...

Functions

def getAtArbitraryPoint
 for calculating quantities at arbitrary point.
def isInner
 for judging inner point

Variables

tuple K
 K = array([[3*(T2+T3), T3, T2, 0, -4*T2, -4*T3], [ T3, 3*(T1+T3), T1, -4*T1, 0, -4*T3], [ T2, T1, 3*(T1+T2), -4*T1, -4*T2, 0], [ 0, -4*T1, -4*T1, 8*(T1+T2+T3), -8*T3, -8*T2], [ -4*T2, 0, -4*T2, -8*T3, 8*(T1+T2+T3), -8*T1], [ -4*T3, -4*T3, 0, -8*T2, -8*T1, 8*(T1+T2+T3)]])/6.
tuple M
 M = array([[6.,-1.,-1.,-4., 0., 0.


Detailed Description

2, 3 dimensional fem module for acoustic problem

Function Documentation

def openacoustics.fem.getAtArbitraryPoint (   self,
  abpoint,
  phis,
  elms,
  nodes 
)

for calculating quantities at arbitrary point.

Parameters:
abpoint cordinate of arbitrary point
potential quantities of nodes index matrix of element cordinate matrix of element's nodes
Return values:
phi potential quantity at arbitrary point
phix partial difference of potential quantity in x-direction at arbitrary point
phiy partial difference of potential quantity in y-direction at arbitrary point
for calculating quantities at arbitrary point.


Variable Documentation

Initial value:

array([[6., -1., -1., 0., -4., 0.],
                   [-1., 6., -1., 0., 0., -4.],
                   [-1., -1., 6., -4., 0., 0.],
                   [0., 0., -4., 32., 16., 16.],
                   [-4., 0., 0., 16., 32., 16.],
                   [0., -4., 0., 16., 16., 32.]])
M = array([[6.,-1.,-1.,-4., 0., 0.

], [-1., 6.,-1., 0.,-4., 0.], [-1.,-1., 6., 0., 0.,-4.], [-4., 0., 0.,32.,16.,16.], [0.,-4., 0.,16.,32.,16.], [0., 0.,-4.,16.,16.,32.]])*S/180.


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