I have a CPP setup for a cloth simulation. Currently it takes in forces for wind simulation and gravity and these forces act on individual "point masses". I'm trying to figure out how to model an inflatable tube man with it:
I'm not too great at physics, but I've done some research. I know it's probably gonna involve Bernoulli's equation, the inverse relationship between velocity of the air particles within the tube and pressure, and $F = P/A $
But I don't know how to bring it all together into a formula for force. I don't know if Area would be the diameter of the "tube" because doesn't the tube constrict and fold on itself? Is it easier to have pressure be randomly simulated, or actually compute it from velocity of particles?
Ultimately I want to come up with a formula for the force caused by air pressure, kinda like how I used the formula below for wind:
$$F_{\rm wind}(i,j)=C_{\rm wind}\left[n_{i,j}\cdot\left(v_{\rm wind}-v_{i,j}\right)\right]n_{i,j} $$