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 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...
|
|
Class MobilityFunctions provides empirical functions/fits for forming mobility matrix needed for fully constraint based IB method.
◆ 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_name | IB kernel function. |
- Note
- Supported IB kernels are "IB_3", "IB_4" and "IB_6".
- Parameters
-
mu | Fluid density. |
rho | Fluid density. |
dt | The time step size. |
dx | Cartesian grid spacing. |
X | Array of IB markers' location. |
num_nodes | Number of Lagrangian markers. |
reset_constants | Boolean 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_correction | Input parameter for incorporating periodic domain correction. Set it to zero if not needed. |
l_domain | Length of the domain. |
- Note
- This is used only only for 2 dimensional steady stokes.
- Parameters
-
mm | Pointer 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_name | IB kernel function. |
- Note
- Supported IB kernels are "IB_3", "IB_4" and "IB_6".
- Parameters
-
mu | Fluid density. |
dx | Cartesian grid spacing. |
X | Array of IB markers' location. |
num_nodes | Number of Lagrangian markers. |
periodic_correction | Input parameter for incorporating periodic domain correction. Set it to zero if not known. |
l_domain | Length of the domain. |
mm | Pointer to mobility matrix. |
The documentation for this class was generated from the following files:
- /home/runner/work/IBAMR/IBAMR/include/ibamr/MobilityFunctions.h
- /home/runner/work/IBAMR/IBAMR/src/IB/MobilityFunctions.cpp