numpy_jax
Module Contents
Functions
|
This function uses the Biot-Savart law to evaluate the induced velocities |
|
- numpy_jax.eval_biot_savart(xcp0, xnode1, xnode2)
This function uses the Biot-Savart law to evaluate the induced velocities at control points (xcp), due to vortex line elements defined by locations xnode1, xnode2, with strengths gamma and lengths l0. The delta_visc parameter ensures velocity goes zero at the vortex line.
ncp, nvor = number of control points / vortex line elements Inputs:
xcp: (ncp, 3) xnode1, xnode2: (1, nvor, 3) gamma, l0: (nvor,) delta_visc: (1,)
- Returns
u_gamma: (ncp, nvor, 3)
- numpy_jax.generate_simple_mesh(nx, ny)