PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
|
Go to the source code of this file.
Functions | |
PetscErrorCode | RungeKutta (UserCtx *user, IBMNodes *ibm, FSInfo *fsi) |
Advances the momentum equations using an explicit 4th-order Runge-Kutta scheme. | |
PetscErrorCode | ImplicitMomentumSolver (UserCtx *user, IBMNodes *ibm, FSInfo *fsi) |
Advances the momentum equations using an implicit scheme. | |
Advances the momentum equations using an explicit 4th-order Runge-Kutta scheme.
user | Array of UserCtx structs for all blocks. |
ibm | (Optional) Pointer to IBM data. Pass NULL if disabled. |
fsi | (Optional) Pointer to FSI data. Pass NULL if disabled. |
Advances the momentum equations using an explicit 4th-order Runge-Kutta scheme.
This function computes an intermediate, non-divergence-free contravariant velocity field (Ucont) at time t_{n+1} for all computational blocks.
This is a minimally-edited version of the legacy solver. It retains its internal loop over all blocks and is intended to be called once per time step from the main Flow_Solver orchestrator. All former global variables are now accessed via the SimCtx passed in through the first block's UserCtx.
user | The array of UserCtx structs for all blocks. |
ibm | (Optional) Pointer to the full array of IBM data structures. Pass NULL if disabled. |
fsi | (Optional) Pointer to the full array of FSI data structures. Pass NULL if disabled. |
Definition at line 22 of file implicitsolvers.c.
Advances the momentum equations using an implicit scheme.
user | Array of UserCtx structs for all blocks. |
ibm | (Optional) Pointer to IBM data. Pass NULL if disabled. |
fsi | (Optional) Pointer to FSI data. Pass NULL if disabled. |