Questions tagged [conservation-laws]

A scalar conservation law in 1-dimensional space is a 1st-order partial differential equation of the form: ut + f(u)x = 0 Here: u = u(t, x) is called the conserved quantity, where f is the flux. t is time, and x is the 1-dimensional space variable.

See, for example, Chapter 2 of http://www.amazon.com/Introduction-Mathematical-Theory-Student-Library/dp/0821820397

6 questions
5
votes
1 answer

Matlab, integration of conservation laws

I was wondering if there are established robust libraries or FEX-like packages to deal with scalar conservation laws (say 1D) in matlab. I am currently dealing with 1D non-linear, non-local, conservation laws and the diffusive error of first order…
Acorbe
  • 8,367
  • 5
  • 37
  • 66
2
votes
3 answers

Ball bounce physics, system seems to gain energy (bounce higher)

I'm attempting to model the bouncing of balls in a pattern in python with pygame. Something is causing the physics to be incorrect - the balls GAIN energy, i.e. they bounce fractionally higher over time. (I have included a 'speed factor' which can…
Tom
  • 39
  • 4
2
votes
1 answer

NetworkX: structuring a simple flow study on a graph

If you consider the following graph: from __future__ import division import networkx as nx import matplotlib.pyplot as plt import numpy as np from numpy.linalg import inv G =…
FaCoffee
  • 7,609
  • 28
  • 99
  • 174
1
vote
0 answers

Lax-Wendroff order of accuracy on Burgers equation

Statement of the problem Is it possible to achieve the second order of convergence (OOC) of Lax-Wendroff scheme applied to solve inviscid Burgers equations with discontinuous initial data? If no, then how to achieve OOC of 2nd order in quasilinear…
1
vote
1 answer

FiPy Simple Convection

I am trying to understand how FiPy works by working an example, in particular I would like to solve the following simple convection equation with periodic boundary: $$\partial_t u + \partial_x u = 0$$ If initial data is given by $u(x, 0) = F(x)$,…
pdevar
  • 323
  • 2
  • 3
  • 11
0
votes
1 answer

Need with a momentum and impulse physics question on image below 6.3

[grade 12 momentum -physics questions need assisance with 6.3][1] How to calculate the final velocity of a body given two graphs of two objects of net force versus time [1]: https://i.stack.imgur.com/u7UZq.jpg