Public Member Functions | |
Inlet (std::shared_ptr< eos::EOS > eos, std::shared_ptr< finiteVolume::processes::PressureGradientScaling > pressureGradientScaling={}, std::shared_ptr< ablate::mathFunctions::MathFunction > prescribedVelocity={}) | |
void | Setup (ablate::boundarySolver::BoundarySolver &bSolver) override |
Public Member Functions inherited from ablate::boundarySolver::lodi::LODIBoundary | |
LODIBoundary (std::shared_ptr< eos::EOS > eos, std::shared_ptr< finiteVolume::processes::PressureGradientScaling > pressureGradientScaling={}) | |
void | Setup (ablate::boundarySolver::BoundarySolver &bSolver) override |
void | Setup (PetscInt dims, PetscInt nEqs, PetscInt nSpecEqs=0, std::vector< PetscInt > nEvEqs={}, const std::vector< domain::Field > &fields={}) |
Public Member Functions inherited from ablate::boundarySolver::BoundaryProcess | |
virtual void | Initialize (ablate::boundarySolver::BoundarySolver &fv) |
Static Public Member Functions | |
static PetscErrorCode | InletFunction (PetscInt dim, const boundarySolver::BoundarySolver::BoundaryFVFaceGeom *fg, const PetscFVCellGeom *boundaryCell, const PetscInt uOff[], const PetscScalar *boundaryValues, const PetscScalar *stencilValues[], const PetscInt aOff[], const PetscScalar *auxValues, const PetscScalar *stencilAuxValues[], PetscInt stencilSize, const PetscInt stencil[], const PetscScalar stencilWeights[], const PetscInt sOff[], PetscScalar source[], void *ctx) |
Additional Inherited Members | |
Protected Types inherited from ablate::boundarySolver::lodi::LODIBoundary | |
enum | BoundaryEulerComponents { RHO = finiteVolume::CompressibleFlowFields::RHO , RHOE = finiteVolume::CompressibleFlowFields::RHOE , RHOVELN = finiteVolume::CompressibleFlowFields::RHOU , RHOVELT1 = finiteVolume::CompressibleFlowFields::RHOV , RHOVELT2 = finiteVolume::CompressibleFlowFields::RHOW } |
Protected Member Functions inherited from ablate::boundarySolver::lodi::LODIBoundary | |
void | GetVelAndCPrims (PetscReal velNorm, PetscReal speedOfSound, PetscReal Cp, PetscReal Cv, PetscReal &velNormPrim, PetscReal &speedOfSoundPrim) |
void | GetEigenValues (PetscReal veln, PetscReal c, PetscReal velnprm, PetscReal cprm, PetscReal lamda[]) const |
void | GetmdFdn (const PetscInt sOff[], const PetscReal *velNormCord, PetscReal rho, PetscReal T, PetscReal Cp, PetscReal Cv, PetscReal C, PetscReal Enth, PetscReal velnprm, PetscReal Cprm, const PetscReal *conserved, const PetscInt uOff[], const PetscReal *sL, const PetscReal transformationMatrix[3][3], PetscReal *mdFdn) const |
Protected Attributes inherited from ablate::boundarySolver::lodi::LODIBoundary | |
const std::shared_ptr< finiteVolume::processes::PressureGradientScaling > | pressureGradientScaling |
PetscInt | dims |
PetscInt | nEqs |
PetscInt | nSpecEqs |
PetscInt | nEvEqs |
PetscInt | eulerId |
PetscInt | speciesId |
std::vector< PetscInt > | evIds |
There maybe more than one ev field so keep a separate id for each. | |
std::vector< PetscInt > | nEvComps |
Track the number of components in each ev field. | |
std::vector< std::string > | fieldNames |
const std::shared_ptr< eos::EOS > | eos |
eos::ThermodynamicFunction | computeTemperature |
eos::ThermodynamicTemperatureFunction | computePressureFromTemperature |
eos::ThermodynamicTemperatureFunction | computeSpeedOfSound |
eos::ThermodynamicTemperatureFunction | computeSpecificHeatConstantPressure |
eos::ThermodynamicTemperatureFunction | computeSpecificHeatConstantVolume |
eos::ThermodynamicTemperatureFunction | computeSensibleEnthalpyFunction |
eos::ThermodynamicFunction | computePressure |
|
overridevirtual |
Setup up all functions not dependent upon the mesh
fv |
Implements ablate::boundarySolver::BoundaryProcess.