1 #ifndef ABLATELIBRARY_THERMOPHORETICDIFFUSION_HPP
2 #define ABLATELIBRARY_THERMOPHORETICDIFFUSION_HPP
4 #include "eos/transport/transportModel.hpp"
5 #include "finiteVolume/fluxCalculator/fluxCalculator.hpp"
6 #include "flowProcess.hpp"
8 namespace ablate::finiteVolume::processes {
18 const std::shared_ptr<eos::transport::TransportModel> transportModel;
41 static PetscErrorCode ThermophoreticDiffusionEnergyFlux(PetscInt dim,
const PetscFVFaceGeom* fg,
const PetscInt uOff[],
const PetscInt uOff_x[],
const PetscScalar field[],
42 const PetscScalar grad[],
const PetscInt aOff[],
const PetscInt aOff_x[],
const PetscScalar aux[],
const PetscScalar gradAux[],
43 PetscScalar flux[],
void* ctx);
53 static PetscErrorCode ThermophoreticDiffusionVariableFlux(PetscInt dim,
const PetscFVFaceGeom* fg,
const PetscInt uOff[],
const PetscInt uOff_x[],
const PetscScalar field[],
54 const PetscScalar grad[],
const PetscInt aOff[],
const PetscInt aOff_x[],
const PetscScalar aux[],
const PetscScalar gradAux[],
55 PetscScalar flux[],
void* ctx);
Definition: finiteVolumeSolver.hpp:28
Definition: flowProcess.hpp:8
Definition: thermophoreticDiffusion.hpp:13
void Setup(ablate::finiteVolume::FiniteVolumeSolver &flow) override
Definition: thermophoreticDiffusion.cpp:9