CELIA3D
1.0
Fluid-structure interaction using cut-cells
|
Definition of class Cellule. More...
#include <fluide.hpp>
Public Member Functions | |
Cellule () | |
Default constructor. More... | |
Cellule (double x, double y, double z) | |
Overload of the constructor. More... | |
Cellule (double x, double y, double z, double dx, double dy, double dz) | |
Overload of the constructor. More... | |
Cellule & | operator= (const Cellule &cell) |
Operator = overload. More... | |
~Cellule () | |
Destructor. More... | |
bool | is_in_cell (double x, double y, double z) |
The function tests whether point (x0,y0,z0) is in the cell. More... | |
void | Affiche () |
Test display. More... | |
Data Fields | |
double | x |
(x,y,z) Position of the center of the cell. More... | |
double | y |
double | z |
int | i |
(i,j,k) Index of the cell More... | |
int | j |
int | k |
double | dx |
(dx, dy,dz) Size of the cell. More... | |
double | dy |
double | dz |
double | rho |
Density in the cell at time t. More... | |
double | rho1 |
Density in the cell at time t-dt. More... | |
double | u |
Velocity in the cell in the x direction. More... | |
double | v |
Velocity in the cell in the y direction. More... | |
double | w |
Velocity in the cell in the z direction. More... | |
double | p |
Pressure in the cell at time t. More... | |
double | p1 |
Pressure in the cell at time t-dt. More... | |
double | impx |
Momentum in the x direction at time t. More... | |
double | impy |
Momentum in the y direction at time t. More... | |
double | impz |
Momentum in the z direction at time t. More... | |
double | impx0 |
Momentum in the x direction before flux computation. More... | |
double | impy0 |
Momentum in the y direction before flux computation. More... | |
double | impz0 |
Momentum in the z direction before flux computation. More... | |
double | rhoE |
Energy density in the cell at time t. More... | |
double | rhoE0 |
Energy density in the cell before flux computation. More... | |
double | rho0 |
Density in the cell before flux computation. More... | |
double | lambda [5] |
Eigenvalues of the Euler system. More... | |
double | rp [5] |
Variables for the TVD flux limitor on the left. More... | |
double | rm [5] |
Variables for the TVD flux limitor on the right. More... | |
double | pdtx |
Effective pressure in the x direction during the time-step. More... | |
double | pdty |
Effective pressure in the y direction during the time-step. More... | |
double | pdtz |
Effective pressure in the z direction during the time-step. More... | |
double | Mrho |
Density mixing term for small cut-cells. More... | |
double | Mimpx |
x-momentum mixing term for small cut-cells. More... | |
double | Mimpy |
y-momentum mixing term for small cut-cells. More... | |
double | Mimpz |
Momentum mixing term for small cut-cells. More... | |
double | MrhoE |
Energy mixing term for small cut-cells. More... | |
double | cells |
Volume of mixing cells if the cell is a target of the mixing procedure. More... | |
double | alpha |
Solid occupancy ratio in the cell at time t. More... | |
double | alpha0 |
Solid occupancy ratio in the cell at time t-dt. More... | |
double | kappai |
Solid occupancy ratio on the face in the x-direction. More... | |
double | kappaj |
Solid occupancy ratio on the face in the y direction. More... | |
double | kappak |
Solid occupancy ratio on the face in the z direction. More... | |
double | kappai0 |
Solid occupancy ratio on the face in the x direction at time t-dt. More... | |
double | kappaj0 |
Solid occupancy ratio on the face in the y direction at time t-dt. More... | |
double | kappak0 |
Solid occupancy ratio on the face in the z direction at time t-dt. More... | |
int | proche |
Flag which is equal to 0 far from the interface and 1 near the interface. More... | |
int | proche1 |
Flag which is equal to 0 far from the interface and 1 near the interface at time t-dt. More... | |
bool | vide |
Flag which indicates whether a cell is filled with void (true) or fluid (false) More... | |
double | flux_modif [5] |
Modified fluxes for cut-cells. More... | |
double | delta_w [5] |
Swept quantity. More... | |
double | phi_x |
Flux at the interface in the x direction. More... | |
double | phi_y |
Flux at the interface in the y direction. More... | |
double | phi_z |
Flux at the interface in the z direction. More... | |
double | phi_v |
Flux at the interface. More... | |
double | cible_alpha |
Mixing term for solid occupancy in the small cut-cells. More... | |
double | cible_rho |
Mixing term for density in the small cut-cells. More... | |
double | cible_impx |
Mixing term for x-momentum in small cut-cells. More... | |
double | cible_impy |
Mixing term for y-momentum in small cut-cells. More... | |
double | cible_impz |
Mixing term for z-momentum in small cut-cells. More... | |
double | cible_rhoE |
Mixing term for energy in small cut-cells. More... | |
double | cible_i |
Index of the target mixing cell. More... | |
double | cible_j |
double | cible_k |
double | xi |
Position of the effective face center. More... | |
double | yj |
double | zk |
double | fluxi [5] |
Flux in the x direction. More... | |
double | fluxj [5] |
Flux in the y direction. More... | |
double | fluxk [5] |
Flux in the z direction. More... | |
double | S |
Physical entropy. More... | |
double | ve [5] |
Vector of entropic variables. More... | |
double | fex |
Entropy flux in the x direction. More... | |
double | fey |
Entropy flux in the y direction. More... | |
double | fez |
Entropy flux in the z direction. More... | |
double | Qci [5] |
Entropy correction in the x direction. More... | |
double | Qcj [5] |
Entropy correction in the y direction. More... | |
double | Qck [5] |
Entropy correction in the z direction. More... | |
double | dtfxi [5] |
Flux in x multiplied by dt. More... | |
double | dtfyj [5] |
Flux in y multiplied by dt. More... | |
double | dtfzk [5] |
Flux in z multiplied by dt. More... | |
double | delw [5] |
Delta V in i+1/2. More... | |
double | delwnu [5] |
Factor for the limitor in i+1/2. More... | |
double | cf2 [5] |
Higher-order corrections. More... | |
double | cf3 [5] |
double | cf4 [5] |
double | cf5 [5] |
double | cf6 [5] |
double | cf7 [5] |
double | cf8 [5] |
double | cf9 [5] |
double | cf10 [5] |
double | cf11 [5] |
double | psic0 [5] |
Centered higher-order corrections. More... | |
double | psic1 [5] |
double | psic2 [5] |
double | psic3 [5] |
double | psic4 [5] |
double | psid0 [5] |
Decentered higher-order corrections. More... | |
double | psid1 [5] |
double | psid2 [5] |
double | psid3 [5] |
double | psid4 [5] |
double | vpr [5][5] |
Matrix of eigenvectors of the system. More... | |
double | psic0r [5] |
Centered higher-order corrections in the basis of eigenvectors. More... | |
double | psic1r [5] |
double | psic2r [5] |
double | psic3r [5] |
double | psic4r [5] |
double | psid0r [5] |
Decentered higher-order corrections in the basis of eigenvectors. More... | |
double | psid1r [5] |
double | psid2r [5] |
double | psid3r [5] |
double | psid4r [5] |
double | psid [5] |
double | am [5] |
Measure of monotonicity. More... | |
double | am1 [5] |
int | ordre |
Order of the approximate flux in the cell. More... | |
double | co [11] |
Storage of order coefficients. More... | |
Friends | |
class | Grille |
Class Cellule is visible only through class Grille. More... | |
Definition of class Cellule.
Cellule::Cellule | ( | ) |
Default constructor.
Cellule::Cellule | ( | double | x0, |
double | y0, | ||
double | z0 | ||
) |
Overload of the constructor.
(x0,y0,z0) | Coordinates of the cell center. |
Cellule::Cellule | ( | double | x0, |
double | y0, | ||
double | z0, | ||
double | dx0, | ||
double | dy0, | ||
double | dz0 | ||
) |
Overload of the constructor.
(x0,y0,z0) | Coordinates of the cell center. |
(dx0,dy0,dz0) | Size of the cell. |
Cellule::~Cellule | ( | ) |
Destructor.
void Cellule::Affiche | ( | ) |
Test display.
bool Cellule::is_in_cell | ( | double | x0, |
double | y0, | ||
double | z0 | ||
) |
The function tests whether point (x0,y0,z0) is in the cell.
(x0,y0,z0) | coodinates of the point |
double Cellule::alpha |
Solid occupancy ratio in the cell at time t.
double Cellule::alpha0 |
Solid occupancy ratio in the cell at time t-dt.
double Cellule::am[5] |
Measure of monotonicity.
double Cellule::am1[5] |
double Cellule::cells |
Volume of mixing cells if the cell is a target of the mixing procedure.
double Cellule::cf10[5] |
double Cellule::cf11[5] |
double Cellule::cf2[5] |
Higher-order corrections.
double Cellule::cf3[5] |
double Cellule::cf4[5] |
double Cellule::cf5[5] |
double Cellule::cf6[5] |
double Cellule::cf7[5] |
double Cellule::cf8[5] |
double Cellule::cf9[5] |
double Cellule::cible_alpha |
Mixing term for solid occupancy in the small cut-cells.
double Cellule::cible_i |
Index of the target mixing cell.
double Cellule::cible_impx |
Mixing term for x-momentum in small cut-cells.
double Cellule::cible_impy |
Mixing term for y-momentum in small cut-cells.
double Cellule::cible_impz |
Mixing term for z-momentum in small cut-cells.
double Cellule::cible_j |
double Cellule::cible_k |
double Cellule::cible_rho |
Mixing term for density in the small cut-cells.
double Cellule::cible_rhoE |
Mixing term for energy in small cut-cells.
double Cellule::co[11] |
Storage of order coefficients.
double Cellule::delta_w[5] |
Swept quantity.
double Cellule::delw[5] |
Delta V in i+1/2.
double Cellule::delwnu[5] |
Factor for the limitor in i+1/2.
double Cellule::dtfxi[5] |
Flux in x multiplied by dt.
double Cellule::dtfyj[5] |
Flux in y multiplied by dt.
double Cellule::dtfzk[5] |
Flux in z multiplied by dt.
double Cellule::dx |
(dx, dy,dz) Size of the cell.
double Cellule::dy |
double Cellule::dz |
double Cellule::fex |
Entropy flux in the x direction.
double Cellule::fey |
Entropy flux in the y direction.
double Cellule::fez |
Entropy flux in the z direction.
double Cellule::flux_modif[5] |
Modified fluxes for cut-cells.
double Cellule::fluxi[5] |
Flux in the x direction.
double Cellule::fluxj[5] |
Flux in the y direction.
double Cellule::fluxk[5] |
Flux in the z direction.
int Cellule::i |
(i,j,k) Index of the cell
double Cellule::impx |
Momentum in the x direction at time t.
double Cellule::impx0 |
Momentum in the x direction before flux computation.
double Cellule::impy |
Momentum in the y direction at time t.
double Cellule::impy0 |
Momentum in the y direction before flux computation.
double Cellule::impz |
Momentum in the z direction at time t.
double Cellule::impz0 |
Momentum in the z direction before flux computation.
int Cellule::j |
int Cellule::k |
double Cellule::kappai |
Solid occupancy ratio on the face in the x-direction.
double Cellule::kappai0 |
Solid occupancy ratio on the face in the x direction at time t-dt.
double Cellule::kappaj |
Solid occupancy ratio on the face in the y direction.
double Cellule::kappaj0 |
Solid occupancy ratio on the face in the y direction at time t-dt.
double Cellule::kappak |
Solid occupancy ratio on the face in the z direction.
double Cellule::kappak0 |
Solid occupancy ratio on the face in the z direction at time t-dt.
double Cellule::lambda[5] |
Eigenvalues of the Euler system.
double Cellule::Mimpx |
x-momentum mixing term for small cut-cells.
double Cellule::Mimpy |
y-momentum mixing term for small cut-cells.
double Cellule::Mimpz |
Momentum mixing term for small cut-cells.
double Cellule::Mrho |
Density mixing term for small cut-cells.
double Cellule::MrhoE |
Energy mixing term for small cut-cells.
int Cellule::ordre |
Order of the approximate flux in the cell.
double Cellule::p |
Pressure in the cell at time t.
double Cellule::p1 |
Pressure in the cell at time t-dt.
double Cellule::pdtx |
Effective pressure in the x direction during the time-step.
double Cellule::pdty |
Effective pressure in the y direction during the time-step.
double Cellule::pdtz |
Effective pressure in the z direction during the time-step.
double Cellule::phi_v |
Flux at the interface.
double Cellule::phi_x |
Flux at the interface in the x direction.
double Cellule::phi_y |
Flux at the interface in the y direction.
double Cellule::phi_z |
Flux at the interface in the z direction.
int Cellule::proche |
Flag which is equal to 0 far from the interface and 1 near the interface.
int Cellule::proche1 |
Flag which is equal to 0 far from the interface and 1 near the interface at time t-dt.
double Cellule::psic0[5] |
Centered higher-order corrections.
double Cellule::psic0r[5] |
Centered higher-order corrections in the basis of eigenvectors.
double Cellule::psic1[5] |
double Cellule::psic1r[5] |
double Cellule::psic2[5] |
double Cellule::psic2r[5] |
double Cellule::psic3[5] |
double Cellule::psic3r[5] |
double Cellule::psic4[5] |
double Cellule::psic4r[5] |
double Cellule::psid[5] |
double Cellule::psid0[5] |
Decentered higher-order corrections.
double Cellule::psid0r[5] |
Decentered higher-order corrections in the basis of eigenvectors.
double Cellule::psid1[5] |
double Cellule::psid1r[5] |
double Cellule::psid2[5] |
double Cellule::psid2r[5] |
double Cellule::psid3[5] |
double Cellule::psid3r[5] |
double Cellule::psid4[5] |
double Cellule::psid4r[5] |
double Cellule::Qci[5] |
Entropy correction in the x direction.
double Cellule::Qcj[5] |
Entropy correction in the y direction.
double Cellule::Qck[5] |
Entropy correction in the z direction.
double Cellule::rho |
Density in the cell at time t.
double Cellule::rho0 |
Density in the cell before flux computation.
double Cellule::rho1 |
Density in the cell at time t-dt.
double Cellule::rhoE |
Energy density in the cell at time t.
double Cellule::rhoE0 |
Energy density in the cell before flux computation.
double Cellule::rm[5] |
Variables for the TVD flux limitor on the right.
double Cellule::rp[5] |
Variables for the TVD flux limitor on the left.
double Cellule::S |
Physical entropy.
double Cellule::u |
Velocity in the cell in the x direction.
double Cellule::v |
Velocity in the cell in the y direction.
double Cellule::ve[5] |
Vector of entropic variables.
bool Cellule::vide |
Flag which indicates whether a cell is filled with void (true) or fluid (false)
double Cellule::vpr[5][5] |
Matrix of eigenvectors of the system.
double Cellule::w |
Velocity in the cell in the z direction.
double Cellule::x |
(x,y,z) Position of the center of the cell.
double Cellule::xi |
Position of the effective face center.
double Cellule::y |
double Cellule::yj |
double Cellule::z |
double Cellule::zk |