1 #ifndef ABLATELIBRARY_BUOYANCY_HPP
2 #define ABLATELIBRARY_BUOYANCY_HPP
4 #include "flowProcess.hpp"
6 namespace ablate::finiteVolume::processes {
10 const std::vector<PetscReal> buoyancyVector;
14 PetscReal densityAvg = NAN;
28 static PetscErrorCode ComputeBuoyancySource(PetscInt dim, PetscReal time,
const PetscFVCellGeom* cg,
const PetscInt uOff[],
const PetscScalar u[],
const PetscInt aOff[],
const PetscScalar a[],
29 PetscScalar f[],
void* ctx);
32 explicit Buoyancy(std::vector<double> buoyancyVector);
Definition: finiteVolumeSolver.hpp:28
Definition: buoyancy.hpp:8
void Setup(ablate::finiteVolume::FiniteVolumeSolver &fv) override
Definition: buoyancy.cpp:5
Definition: flowProcess.hpp:8
Definition: solver.hpp:17