#include <collocated.hpp>
|
| using | Exec = peclet::core::ExecSpace |
| |
|
| void | setup (const FaceMesh< Real > &mesh, Real viscosity, bool amg=false) |
| |
| template<class Ex > |
| void | setExchange (Ex &ex) |
| | Install the distributed hooks on the solver and its pressure solver.
|
| |
| void | setWallVelocity (const DV< Real > &Uw) |
| |
| void | applyWallFlux (const DV< Real > &uf) const |
| | Impose the boundary fluxes on a face field.
|
| |
| void | toFaces (const DV< Real > &Uc, const DV< Real > &out) |
| | The constraint interpolation: face flux of the cell field.
|
| |
| void | cellGrad (const DV< Real > &q, const DV< Real > &out) |
| | The cell gradient of a scalar q = the transpose of the constraint applied to grad_f q.
|
| |
| void | tendency (const DV< Real > &Uin, const DV< Real > &ufin, const DV< Real > &out) |
| | a = tendency of Uin transported by ufin, minus the current pressure gradient (incremental).
|
| |
| void | project (const DV< Real > &Ustar, const DV< Real > &ufOut, Real dt, const DV< Real > &divOut=DV< Real >{}) |
| |
| void | initialize (const DV< Real > &Uin) |
| | Initialise from a cell field: U = Uin projected once (dt = 1, no pressure kept).
|
| |
| void | step (Real dt) |
| |
| void | stepImplicit (Real dt) |
| |
| void | stepRK3 (Real dt) |
| | One SSP-RK3 step, flow's predictor/projection structure at every stage.
|
| |
| Real | kineticEnergy () const |
| | ½ Σ V_i |U_i|²
|
| |
| Real | maxFaceDivergence () |
| | max_i |div u_f|_i of the transporting face flux (exactly projected)
|
| |
| Real | maxCellDivergence () |
| | max_i |div (T U)|_i — the residual divergence of the CELL field (the "approximate" of ABC)
|
| |
| Real | maxDivOf (const DV< Real > &flux) |
| |
◆ Exec
◆ applyWallFlux()
Impose the boundary fluxes on a face field.
◆ cellGrad()
The cell gradient of a scalar q = the transpose of the constraint applied to grad_f q.
◆ initialize()
Initialise from a cell field: U = Uin projected once (dt = 1, no pressure kept).
◆ kineticEnergy()
◆ maxCellDivergence()
max_i |div (T U)|_i — the residual divergence of the CELL field (the "approximate" of ABC)
◆ maxDivOf()
◆ maxFaceDivergence()
max_i |div u_f|_i of the transporting face flux (exactly projected)
◆ project()
Approximate projection of the predictor Ustar (in place): T Ustar → exact face projection → cell correction with the transpose gradient; ufOut = the divergence-free face flux; P += φ.
◆ setExchange()
template<class Real >
template<class Ex >
Install the distributed hooks on the solver and its pressure solver.
◆ setup()
◆ setWallVelocity()
Prescribe the boundary-face velocity (3 × nBoundary; empty = no-slip): boundary fluxes u_f = U_wall·n; the viscous wall flux and the convective wall value read U_wall.
◆ step()
◆ stepImplicit()
flow's semi-implicit step: U* from (V/Δt − ν V L + wall) U* = V[U/Δt + conv + F − G Pⁿ + lagged wall correction] + ν Σ_wall (A/h_A) U_wall, then the approximate projection; P += φ [− ν div u*].
◆ stepRK3()
One SSP-RK3 step, flow's predictor/projection structure at every stage.
◆ tendency()
a = tendency of Uin transported by ufin, minus the current pressure gradient (incremental).
◆ toFaces()
The constraint interpolation: face flux of the cell field.
◆ aT
◆ convScale
◆ div
◆ divStar
◆ exchange
◆ force
◆ g9
◆ gp
◆ gphi
◆ implicitDiffusion
◆ incremental
◆ max
◆ nu
◆ phi
◆ poisson
◆ rhs3
◆ rotational
◆ skewCorrected
◆ sum
◆ U1
◆ U2
◆ ub
◆ uc
◆ uf
◆ uf1
◆ uf2
◆ Uwall
◆ visc
◆ viscDt
◆ wallQuadratic
◆ wcorr
◆ wg
The documentation for this struct was generated from the following file: