Tell me more ×
Physics Stack Exchange is a question and answer site for active researchers, academics and students of physics. It's 100% free, no registration required.

I need to simulate wave interference with reflection from surfaces.

What formulas I need to use?

What differential equation I need to solve? - Could someone help me out?

share|improve this question
3  
What do you mean by simulate? Write software to do this? What fluid do you want to deal with - invicid or vicid - do you wish to include dissipation in your simulation? – Killercam Oct 22 '12 at 16:39
Maybe you can ask this guy: physics.stackexchange.com/questions/41431/… – Bernhard Oct 22 '12 at 18:22
@Killercam yes, I need to create software. – cristaloleg Oct 23 '12 at 4:56
@Bernhard your link is 404 – cristaloleg Oct 23 '12 at 4:56
@cristaloleg Yep, it was removed, but the question was identical to yours. – Bernhard Oct 23 '12 at 6:00
show 2 more comments

closed as not a real question by Qmechanic, Manishearth, Ϛѓăʑɏ βµԂԃϔ, David Zaslavsky Dec 16 '12 at 7:31

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

1 Answer

There are many different fluid systems that can produce waves and the associated interference: surface water waves, gas dynamics, etc. Each of these are treated very differently from a computational point of view - each using different numerical methods.

For your fairly poorly defined question, I would suggest you look at ideal gas dynamics. That is non-dissipative, non-viscous gas dynamics. The system of equations used to study such flows are quasi-linear hyperbolic system of PDEs, or conservation laws. In one-dimension (which will be the simplest case you want to consider as a starter) they take the generic form

$$\partial_{t} \mathbf{U} + \mathbf{\mathbf{A}}(\mathbf{U})\partial_{x}\mathbf{U} = 0,$$

where $\mathbf{U} = (\rho, \rho u, e)^{\mathsf{T}}$ is the vector of conserved quantities (for mass, momentum and energy) and $\mathbf{\mathbf{A}}(\mathbf{U})$ is the Jacobian matrix for the system. The Eigenvalues of the Jacobian matrix provide the wavespeeds for the given system under consideration. The above equation can be recast using the vector of conservative fluxed $\mathbf{F}(\mathbf{U})$ via

$$\partial_{t} \mathbf{U} + \partial_{x} \mathbf{F}(\mathbf{U}) = 0.$$

Now, for one-dimensional gas dynamics this system can be solved analytically, but it is not easy and it is mathematically involved. In two dimensions there are exact solutions but they require an iterative solver. The most common way to get solutions for such systems is to use something called Godunov's theorem and associated Riemann Solver, these methods provide a very fast and accurate wave of resolving the flow AND wave solutions for such systems.

Even to create your own one-dimensional solver for gas dynamics will not be easy. For two dimensions (with the reflection from walls that you mention above) will be another level up. My advice would be to first read this paper (from a masters thesis). This will provide a tutorial for creating your own one-dimensional solver for gas dynamics.

Good luck.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.