ABLATE Source Documentation  0.12.33
ablate::particles::processes::Inertial Class Reference
+ Inheritance diagram for ablate::particles::processes::Inertial:

Public Member Functions

 Inertial (const std::shared_ptr< parameters::Parameters > &parameters, const std::string &eulerianVelocityField={})
 
void ComputeRHS (PetscReal time, accessors::SwarmAccessor &swarmAccessor, accessors::RhsAccessor &rhsAccessor, accessors::EulerianAccessor &eulerianAccessor) override
 

Constructor & Destructor Documentation

◆ Inertial()

ablate::particles::processes::Inertial::Inertial ( const std::shared_ptr< parameters::Parameters > &  parameters,
const std::string &  eulerianVelocityField = {} 
)
explicit

Advects the particles with the flow velocity based upon a drag law

Parameters
parametersinput parameters for the velocity field
eulerianVelocityFieldoptional field where eulerian velocity is defined (default "velocity")

Member Function Documentation

◆ ComputeRHS()

void ablate::particles::processes::Inertial::ComputeRHS ( PetscReal  time,
accessors::SwarmAccessor swarmAccessor,
accessors::RhsAccessor rhsAccessor,
accessors::EulerianAccessor eulerianAccessor 
)
overridevirtual

computes the source terms to integrate the particle location with the flow velocity with drag

Parameters
time
swarmAccessor
rhsAccessor
eulerianAccessor

Implements ablate::particles::processes::Process.


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