IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
Static Public Member Functions | List of all members
IBAMR::MobilityFunctions Class Reference

Class MobilityFunctions provides empirical functions/fits for forming mobility matrix needed for fully constraint based IB method. More...

#include </home/runner/work/IBAMR/IBAMR/include/ibamr/MobilityFunctions.h>

Static Public Member Functions

static void constructEmpiricalMobilityMatrix (const char *kernel_name, const double mu, const double rho, const double dt, const double dx, const double *X, const int num_nodes, const int reset_constants, const double periodic_correction, const double l_domain, double *mm)
 Construct the mobility matrix from empirical fits. More...
 
static void constructRPYMobilityMatrix (const char *kernel_name, const double mu, const double dx, const double *X, const int num_nodes, const double periodic_correction, double *mm)
 Construct the mobility matrix from Rotne-Pragner-Yamakawa tensor. More...
 

Detailed Description

Class MobilityFunctions provides empirical functions/fits for forming mobility matrix needed for fully constraint based IB method.

Member Function Documentation

◆ constructEmpiricalMobilityMatrix()

void IBAMR::MobilityFunctions::constructEmpiricalMobilityMatrix ( const char *  kernel_name,
const double  mu,
const double  rho,
const double  dt,
const double  dx,
const double *  X,
const int  num_nodes,
const int  reset_constants,
const double  periodic_correction,
const double  l_domain,
double *  mm 
)
static

Construct the mobility matrix from empirical fits.

Parameters
kernel_nameIB kernel function.
Note
Supported IB kernels are "IB_3", "IB_4" and "IB_6".
Parameters
muFluid density.
rhoFluid density.
dtThe time step size.
dxCartesian grid spacing.
XArray of IB markers' location.
num_nodesNumber of Lagrangian markers.
reset_constantsBoolean indicating whether all constants are to be reset if beta (the viscous CFL number) is changed (otherwise will use the previous beta for fitting formula).
periodic_correctionInput parameter for incorporating periodic domain correction. Set it to zero if not needed.
l_domainLength of the domain.
Note
This is used only only for 2 dimensional steady stokes.
Parameters
mmPointer to mobility matrix.

◆ constructRPYMobilityMatrix()

void IBAMR::MobilityFunctions::constructRPYMobilityMatrix ( const char *  kernel_name,
const double  mu,
const double  dx,
const double *  X,
const int  num_nodes,
const double  periodic_correction,
double *  mm 
)
static

Construct the mobility matrix from Rotne-Pragner-Yamakawa tensor.

Parameters
kernel_nameIB kernel function.
Note
Supported IB kernels are "IB_3", "IB_4" and "IB_6".
Parameters
muFluid density.
dxCartesian grid spacing.
XArray of IB markers' location.
num_nodesNumber of Lagrangian markers.
periodic_correctionInput parameter for incorporating periodic domain correction. Set it to zero if not known.
l_domainLength of the domain.
mmPointer to mobility matrix.

The documentation for this class was generated from the following files: