Code covered by the BSD License  

Highlights from
Biohydrodynamics Toolbox

image thumbnail
from Biohydrodynamics Toolbox by Alexandre Munnier
Tool to simulate easily the motion of moving solids or swimming robots in a potential fluid flow.

bht_boundaries_init page
bht_boundaries_init page
Biohydrodynamics Toolbox   

bht_boundaries_init


Build boundaries' meshes, compute the tangent and normal vectors, compute right hand side boundary terms of the NBVP.

Syntax

[discret_data,bound_data] = bht_boundaries_init(gene_data,discret_data,bound_data)

Description

The function is ran by bht_data_compile
It calls the M-Files in which the boundaries are described and computes:
    • The coordinates of the discretization points (using the parameter mesh_size of the DAT-File).
    • The coordinates of the tangent and normal vectors. 
Right hand side boundary terms arising in the NBVP (Neumann boundary value problem for the fluid potential) are also computed. 

Output variables

The structure array variables discret_data and bound_data are preallocated in the M-File bht_translation. The following fields are set up by bht_boundaries_init (we refer to the list of output variables for a description).
Field(s) of discret_data Field(s) of bound_data
last_line
nbr_modes, nbr_points, t, dt, X, dl, Nn, N, K, flux, fflux 

See also

bht_data_compile
Where do the equations of motion used by BhT come from?
bht_translation
List of output variables
BhT overview
2008 - A. Munnier and B. Pincon (Insitut Elie Cartan and INRIA Lorraine, Projet CORIDA, Nancy, France).       

Contact us at files@mathworks.com