ABLATE Source Documentation  0.12.34
ablate::finiteVolume::processes::SpeciesTransport Class Reference
+ Inheritance diagram for ablate::finiteVolume::processes::SpeciesTransport:

Public Member Functions

 SpeciesTransport (std::shared_ptr< eos::EOS > eos, std::shared_ptr< fluxCalculator::FluxCalculator > fluxCalcIn={}, std::shared_ptr< eos::transport::TransportModel > transportModel={}, const std::shared_ptr< parameters::Parameters > &parametersIn={})
 
void Setup (ablate::finiteVolume::FiniteVolumeSolver &flow) override
 
- Public Member Functions inherited from ablate::finiteVolume::processes::Process
virtual void Initialize (ablate::finiteVolume::FiniteVolumeSolver &fv)
 

Static Public Member Functions

static PetscErrorCode UpdateAuxMassFractionField (PetscReal time, PetscInt dim, const PetscFVCellGeom *cellGeom, const PetscInt uOff[], const PetscScalar *conservedValues, const PetscInt aOff[], PetscScalar *auxField, void *ctx)
 
static void NormalizeSpecies (TS ts, ablate::solver::Solver &)
 

Member Function Documentation

◆ NormalizeSpecies()

void ablate::finiteVolume::processes::SpeciesTransport::NormalizeSpecies ( TS  ts,
ablate::solver::Solver solver 
)
static

Normalize and cleanup the species mass fractions in the solution vector

Parameters
ts

◆ Setup()

void ablate::finiteVolume::processes::SpeciesTransport::Setup ( ablate::finiteVolume::FiniteVolumeSolver flow)
overridevirtual

public function to link this process with the flow

Parameters
flow

Implements ablate::finiteVolume::processes::Process.

◆ UpdateAuxMassFractionField()

PetscErrorCode ablate::finiteVolume::processes::SpeciesTransport::UpdateAuxMassFractionField ( PetscReal  time,
PetscInt  dim,
const PetscFVCellGeom *  cellGeom,
const PetscInt  uOff[],
const PetscScalar *  conservedValues,
const PetscInt  aOff[],
PetscScalar *  auxField,
void *  ctx 
)
static

Function to compute the mass fraction. This function assumes that the input values will be {"euler", "densityYi"}


The documentation for this class was generated from the following files: