|
NasCar
|

Go to the source code of this file.
Data Structures | |
| struct | Proc |
| Processors information. More... | |
| struct | Grid |
| Grid information. More... | |
| struct | Simu |
| Simulation parameters. More... | |
| struct | Obs |
| Osbtacles parameters. More... | |
| struct | Vectors |
| Petsc Vectors. More... | |
| struct | Fields |
| Vector fields (at iteration, n, n+1, ...) More... | |
| struct | Pointers |
| The arrays associated to the petsc vectors. More... | |
| struct | Arrays |
| Arrays fields (at iteration, n, n+1, ...) More... | |
| struct | Linear |
| Vector and matrices for linear systems. More... | |
| struct | Obs.mouv |
| Motion parameters. More... | |
| struct | Obs.coef |
| Forces, Torques, Power, Energy, ... More... | |
| struct | Obs.geom |
| Geometry parameters. More... | |
| struct | Obs.elast |
| Lagrangian elasticity parameters. More... | |
| struct | Linear.vec |
| Petsc Vectors. More... | |
| struct | Linear.arr |
| Arrays associated to petsc vectors. More... | |
| struct Proc |
Processors information.
| struct Grid |
Grid information.
| Data Fields | ||
|---|---|---|
| DM | da |
petsc Distributed Array (3D Cartesian Grid) |
| double | dx |
\( \Delta x \): space step in the X direction |
| double | dy |
\( \Delta y \): space step in the Y direction |
| double | dz |
\( \Delta z \): space step in the Z direction |
| double | epsilon |
\( \varepsilon \) : interface regularization |
| int | ip |
Shift if xperiodic=TRUE |
| int | jp |
Shift if yperiodic=TRUE |
| int | kp |
Shift if zperiodic=TRUE |
| int | nx |
\( N_X \): number of points in the X direction |
| int | ny |
\( N_Y \): number of points in the Y direction |
| int | nz |
\( N_Z \): number of points in the Z direction |
| double | xmax |
\( x_{max} \) for computational domain |
| double | xmin |
\( x_{min} \) for computational domain |
| PetscBool | xperiodic |
X-periodic boundary condition if TRUE |
| double | ymax |
\( y_{max} \) for computational domain |
| double | ymin |
\( y_{min} \) for computational domain |
| PetscBool | yperiodic |
Y-periodic boundary condition if TRUE |
| double | zmax |
\( z_{max} \) for computational domain |
| double | zmin |
\( z_{min} \) for computational domain |
| PetscBool | zperiodic |
Z-periodic boundary condition if TRUE |
| struct Simu |
Simulation parameters.
| struct Obs |
Osbtacles parameters.
| Data Fields | ||
|---|---|---|
| int * | choice |
Choice of the kind of obstacle (Fish, torus, etc) |
| struct Obs.coef | coef | Forces, Torques, Power, Energy, ... |
| struct Obs.elast | elast | Lagrangian elasticity parameters. |
| int * | file_format |
User defined or obj geometry |
| struct Obs.geom | geom | Geometry parameters. |
| int | ib |
\( ib \): index of the structures |
| struct Obs.mouv | mouv | Motion parameters. |
| int | nb |
\( N_b \): number of non elastc structures |
| int | nbe |
\( N_{be} \): number of elastc structures |
| int * | ne |
\( N_E \): number of points on each slice (for regular body mesh) |
| int | nexp | |
| int | nexp2 | |
| int | nexp3 | |
| int * | no |
\( N_0 \): |
| int * | ns |
\( N_S \): number of slices on the body (for regular body mesh) |
| int * | nst | |
| char | OBJ_FILE[30][PETSC_MAX_PATH_LEN] | |
| double * | St | |
| double * | St_swim | |
| int | test | |
| double | thetafood | |
| double | xfood | |
| double * | xhead | |
| double * | xtail | |
| double | yfood | |
| double * | yhead | |
| double * | ytail | |
| double | zfood | |
| double * | zhead | |
| double * | ztail | |
| struct Vectors |
Petsc Vectors.
| struct Fields |
Vector fields (at iteration, n, n+1, ...)

| Data Fields | ||
|---|---|---|
| Vectors | e |
iteration \( \ast \) (for the predicted fields) |
| Vectors | el[10] | |
| Vectors | elm1[10] | |
| Vectors | elt[10] | |
| Vectors | i[10] | |
| Vectors | im1[10] | |
| Vectors | it[10] | |
| Vectors | k[10] | |
| Vectors | l[10] | |
| Vectors | m | |
| Vectors | mat[6][3][3] | |
| Vectors | n |
iteration \( n \) |
| Vectors | nm1 |
iteration \( n-1 \) |
| Vectors | np1 |
iteration \( n+1 \) |
| Vectors | t | |
| struct Pointers |
The arrays associated to the petsc vectors.
| struct Arrays |
Arrays fields (at iteration, n, n+1, ...)

| Data Fields | ||
|---|---|---|
| Pointers | cl | |
| Pointers | e |
iteration \( \ast \) (for the predicted fields) |
| Pointers | el[10] | |
| Pointers | elm1[10] | |
| Pointers | elt[10] | |
| Pointers | i[10] | |
| Pointers | im1[10] | |
| Pointers | it[10] | |
| Pointers | k[10] | |
| Pointers | l[10] | |
| Pointers | m | |
| Pointers | mat[6][3][3] | |
| Pointers | n |
iteration \( n \) |
| Pointers | nm1 |
iteration \( n-1 \) |
| Pointers | np1 |
iteration \( n+1 \) |
| Pointers | t | |
| struct Linear |
Vector and matrices for linear systems.
| Data Fields | ||
|---|---|---|
| Mat | Ap |
Matrix for Poisson equation |
| struct Linear.arr | arr | Arrays associated to petsc vectors. |
| Mat | Au |
Matrix for Momentum equation |
| int | itp |
number of iterations for Poisson equation |
| int | itu |
number of iterations for X-Momentum equation |
| int | itv |
number of iterations for Y-Momentum equation |
| int | itw |
number of iterations for Y-Momentum equation |
| KSP | kspp |
Krylov solver for Poisson equation |
| KSP | kspu |
Krylov solver for Momentum equation |
| MatNullSpace | nullsp |
nullspace: to solve Poisson equation with Homogeneous Neumann Boundary Conditions |
| struct Linear.vec | vec | Petsc Vectors. |
| struct Obs.mouv |
Motion parameters.
| struct Obs.coef |
Forces, Torques, Power, Energy, ...
| struct Obs.geom |
Geometry parameters.
| struct Obs.elast |
Lagrangian elasticity parameters.
| struct Linear.vec |
Petsc Vectors.
| Data Fields | ||
|---|---|---|
| Vec | Bp |
RHS for Poisson equation |
| Vec | Bu |
RHS for X-Momentum equation |
| Vec | Bv |
RHS for Y-Momentum equation |
| Vec | Bw |
RHS for Z-Momentum equation |
| struct Linear.arr |
Arrays associated to petsc vectors.