For context, I'm developing a submarine simulator with a heavy focus on realism, especially on the physics side of things. I've already implemented a fairly accurate linear drag model for forward/backward and rise/dive movements, but I'm not sure where to start with calculating the rotational...
Indeed, but I do want to work toward a 3D solution, albeit very slowly and carefully. I think this is a good start. I will look more into RK methods, and continue exploring differential equations :smile: Thanks for everyone's help!
Ok, with some help I actually came up with a python script to run a RK 4th order method for the drag force, acceleration, velocity, and distance traveled over time for good measure. It also plots the four variables accordingly (requiring matplolib). The results definitely seem sensible at the...
I wasn't aware that "formula" necessarily meant an algebra equation, I thought it encompassed differential equations too which is my mistake; to clarify, I am indeed looking for a differential equation, and a solution/method for this particular differential equation. Based on my little research...
I'm aware of the formula for drag force, but what I'm looking for is a formula that can calculate drag force, acceleration, and velocity at any given time while taking into account the effects of the other variables and a changing drag coefficient, fluid density, etc..
I was actually been looking into the Runge-Kutta method just now, and I managed to get a very math-savvy AI to write a python script to plot these values for me according to the RK 4th order method; it's a good start, but I'll continue to look into it.
I've done a fair bit of research on drag force and drag coefficient the past month, although prior to that I had no knowledge/experience at all in hydrodynamics, and I still know relatively little; I'm still researching online and learning a lot, although much of the math is beyond me as a...
Let's say an object with a mass of 400,000 kg, a drag coefficient of C, and a reference area of A m^2 moves horizontally with a thrust of X N through a fluid with a density of Z kg/m^3. The object is initially stationary. I'm trying to figure out how I can express the drag force, acceleration...
My goal is to do this for a powered submarine, albeit a very small and slow one like the NR-1; it's supposed to have a maximum speed of about 6 knots submerged. For context, I'm drafting an idea for a submarine simulator game with a heavy focus on realism, but this obviously requires doing a lot...
I'm trying to figure out how I would calculate the rate at which a submarine (or any vaguely cylindrical object) ascends or descends in seawater given a certain buoyancy or change in buoyancy. For example, if my submarine is 2000 feet below sea level and weighs 393 metric tons (with empty...