sound field Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » sound field « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Armin Wiegner (praktaw)
Member
Username: praktaw

Post Number: 4
Registered: 09-2007
Posted on Wednesday, June 11, 2008 - 12:01 pm:   

Hallo Mr. Nelson,

I try to simulate the sound field (2D) using the wave equation:
c*c*dxx(u)+c*c*dyy(u)=dtt(u)
It is working with dt(u) on the right side. But FlexPDE gives me an error "Undefined name: DTT".
Why?

Thank you for your help!

I'm using V5.0.18 Student
application/octet-streamsound field
akustik 01.pde (0.6 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 1129
Registered: 06-2003
Posted on Wednesday, June 11, 2008 - 01:32 pm:   

FlexPDE does not directly implement second order derivatives in time. You need to define an auxiliary variable for the velocity and use two first order equations.

In your case the system would be
VARIABLES u,v
EQUATIONS
U: v = dt(u)
V: c^2*div(grad(u)) = dt(v)

Notice that the variable assignment is chosen to keep the dt() term on the diagonal of the coupling matrix.

In this formalism, the boundary condition specifications are as follows:
Natural(V) defines normal(c^2*grad(u))
Value(V) defines dt(u)
Value(U) defines U
Natural(U) is undefined.

See notes to the example "Samples | Time_Dependent | Stress | Vibrate.pde"
Top of pagePrevious messageNext messageBottom of page Link to this message

Armin Wiegner (praktaw)
Member
Username: praktaw

Post Number: 5
Registered: 09-2007
Posted on Friday, June 13, 2008 - 01:39 pm:   

Thank you very much.

It works great!

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration