Fluid dynamics

Transient pipe flow in matlab

The following Matlab project contains the source code and Matlab examples used for transient pipe flow. Separation of variables allows the determination of the transient velocity profile in a pipe. The present program computes the zeros of the Bessel function and plots the transient velocity profile of a pipe flow.

Terminal fall velocity of a single spherical particle in a newtonian fluid in matlab

The following Matlab project contains the source code and Matlab examples used for terminal fall velocity of a single spherical particle in a newtonian fluid. Newton number (also called the drag coefficient) and Archimedes number are plotted versus the Reynolds number for the laminar, transition and turbulent flow types using a log-log scale.

Dispersion relation for water waves in matlab

The following Matlab project contains the source code and Matlab examples used for dispersion relation for water waves. This set of functions simply provides an easy way to work with the dispersion relation of surface waves, given by    omega(k) = sqrt ( tanh(k*h0) * (g*k + gamma*k^3/rho)) where omega is the pulsation (in rad/s), k the wavenumber (in 1/m), h0 the depth, g the gravity, gamma the surface tension and rho the density.

Compute circulation from vorticity in piv analysis, and plot circulation in matlab

The following Matlab project contains the source code and Matlab examples used for compute circulation from vorticity in piv analysis, and plot circulation. The method of performing Particle Image Velocimetry (PIV) analysis to obtain velocity, vorticity, and circulation of a flowing fluid from PIV images and plotting them to view the results graphically.

Solves the wave dispersion relation using the newton-raphson method including currents in matlab

The following Matlab project contains the source code and Matlab examples used for solves the wave dispersion relation using the newton-raphson method including currents . Solves the wave dispersion relation   sig^2 = g*wk*tanh(wk*h)  where   g = gravity [L/T^2]   h = water depth [L]   sig = Relative angular frequency [rad/T]   sig = wa - wk*cos(wd)*u - wk*cos(wd)*v = wa - wk*uk [rad/T]   uk = cos(wd)*u + sin(wd)*v [L/T]   u = current velocity in x direction [L/T]   v = current velocity in y direction [L/T]  The Newton-Raphson Method is given by

Dak equation of state in matlab

The following Matlab project contains the source code and Matlab examples used for dak equation of state . Calculates the compressibility factor of natural gases for range of pressures 'minP' to 'maxP' in steps 'Pstep'(for a given temperature T and specific gravity sg) using the Dranchuk-Abbou Kassem equation of state.

Chen correlation wall temperature calculation in matlab

The following Matlab project contains the source code and Matlab examples used for chen correlation wall temperature calculation. This function uses the 1963 Chen correlation for subcooled boiling flow to calculate the wall temperature of a pipe, based on inlet pressure, an initial guess of the pressure at the pipe wall, and three constants: A, B, C A = h_pb*S, h_pb is the pool boiling coefficient, and S is the Chen suppression factor B = h_c, h_c is the forced convection coefficient

Oblique shock calculator in matlab

The following Matlab project contains the source code and Matlab examples used for oblique shock calculator. Contains a number of functions for flow characterization including the following: insentropic_flow - Relations for isentropic flow normal_shock - Relations across a normal shock (with considerations for oblique shock) oblique_angle_calc - Given two parameters this function calculates the third of the theta-beta-mach relationship for oblique angles plotShock - Visualizes the shock wave A script is also included to facilitate the execution of these functions.

Hydrodynamically interacting spheres at low reynolds numbers in shear flows of a newtonian fluid in matlab

The following Matlab project contains the source code and Matlab examples used for hydrodynamically interacting spheres at low reynolds numbers in shear flows of a newtonian fluid. Stokesian Dynamics, a method developed by Brady and Bossis in the 80s, simulate the 3D motion of hydrodynamically interacting spheres at low Reynolds numbers.

Pages

Subscribe to RSS - Fluid dynamics