# Example drag and drop in c

The following C project contains the C source code and C examples used for example :: drag and drop. Simple example to learn about shell file drag and drop.

The following Matlab project contains the source code and Matlab examples used for interactive incompressible fluids.
An interactive GUI showing particles flowing in a liquid field described by Navier-Stokes equations for incompressible fluids.

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.

The following Matlab project contains the source code and Matlab examples used for velocity profile of laminar flow of carreau fluid in a pipe.
The velocity and shear stress versus radial position are determined for laminar flow of a Carreau fluid in a pipe.

The following Matlab project contains the source code and Matlab examples used for vertical laminar flow of a bingham fluid down a wall.
The code computes the velocity profile for the vertical laminar flow of a Bingham fluid down a wall.

The following Matlab project contains the source code and Matlab examples used for non newtonian fluid model determination (for power law and bingham fluids).
Professor Jim Wilkes provides representative values of the volumetric flow rate versus the applied pressure gradient for horizontal flow in a pipe [1].

The following Matlab project contains the source code and Matlab examples used for free convection past a vertical flat plate.
The program computes the velocity and temperature profiles for free convection past an isothermal vertical plate.

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.

The following Matlab project contains the source code and Matlab examples used for relationship between wavelength, wave period and water depth.
This function gets the nomograph which shows the relationship between the wavelength, wave period and water depth using the dispersion equation.

The following Matlab project contains the source code and Matlab examples used for kirchhoff vortex contour dynamics simulation.
A Kirchhoff elliptic vortex is a 2D elliptical region (or “patch”) of uniform vorticity embedded in an inviscid, incompressible and irrotational fluid.

The following Matlab project contains the source code and Matlab examples used for analysis of a rotor blade system using blade element momentum theory.
The function is based on the mathematical treatment of rotating rotors in "Principles of Helicopter Aerodynamics" by Dr.

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.

The following Matlab project contains the source code and Matlab examples used for oblique shock relations solver.
This code solves the oblique shock wave relations for either mach number, wedge half-angle, or shock angle.

The following Matlab project contains the source code and Matlab examples used for theta beta mach analytic relation.
This function returns the oblique shock wave angle (beta) for a given deflection angle (theta) and ratio of specific heats (gamma).

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.

The following Matlab project contains the source code and Matlab examples used for compressibility factor calculator.
Approximates compressibility factor (commonly denoted Z) of gas at a given temperature and absolute pressure.

The following Matlab project contains the source code and Matlab examples used for atmospheric pressure unit conversion.
Convert pressure from Pascal to:
Atm: standard atmospheric pressure (unit: 101325 Pa or 101325 Nm^-2)
Bars: pressure above ambient or atmospheric pressure (100000 Nm^-2)
PSI: pound per square inch (1 lb/in^2 or 6894.

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

The following Matlab project contains the source code and Matlab examples used for shelf response kdv.
%Calculates the Shelf Response to an incident KdV soliton pulse.

The following Matlab project contains the source code and Matlab examples used for ptvlab (particle tracking velocimetry lab) .
PTVlab (Particle Tracking Velocimetry - lab) is a Matlab software featuring state of the art mathematical algorithms and a Graphical User Interface (GUI) adapted from the open source project PIVlab.

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.

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

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.

The following Matlab project contains the source code and Matlab examples used for sod shock tube.
Sod Shock Tube problem is test case commonly used in computational hydrodynamics (CFD, SPH, etc) to see how well a certain computational approach works.

The following Matlab project contains the source code and Matlab examples used for rayleigh benard convection.
Natural convection due to thermal gradients are simulated in a 2D rectangular domain.

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.

The following Matlab project contains the source code and Matlab examples used for solitary water wave.
Computes the steady irrotational surface solitary gravity wave solution of the Euler equations (homogeneous, incompressible and perfect fluids).

The following Matlab project contains the source code and Matlab examples used for velocity profile of laminar flow of power law fluid in a pipe.
The velocity and shear stress versus radial position are determined for laminar flow of a power law fluid in a pipe.

The following Matlab project contains the source code and Matlab examples used for gui application for pipe flow of a power law fluid.
The velocity and shear stress versus radial position are obtained for the laminar flow of a power-law fluid in a pipe.

The following Matlab project contains the source code and Matlab examples used for riemann problem (gas dynamics).
Numerical solution of the Riemann problem with initial conditions piecewise constant.