ABLATE Source Documentation  0.12.33
ablate::boundarySolver::physics::subModels::ArrheniusSublimation Class Reference
+ Inheritance diagram for ablate::boundarySolver::physics::subModels::ArrheniusSublimation:

Public Member Functions

 ArrheniusSublimation (const std::shared_ptr< ablate::parameters::Parameters > &properties, const std::shared_ptr< ablate::mathFunctions::MathFunction > &initialization, const std::shared_ptr< ablate::parameters::Parameters > &options={})
 
void Initialize (ablate::boundarySolver::BoundarySolver &bSolver) override
 
bool RequiresUpdate () override
 
PetscErrorCode Update (PetscInt faceId, PetscReal dt, PetscReal heatFluxToSurface, PetscReal &temperature) override
 
PetscErrorCode Compute (PetscInt faceId, PetscReal heatFluxToSurface, SurfaceState &) override
 
SerializerType Serialize () const override
 
PetscErrorCode Save (PetscViewer viewer, PetscInt sequenceNumber, PetscReal time) override
 
PetscErrorCode Restore (PetscViewer viewer, PetscInt sequenceNumber, PetscReal time) override
 
- Public Member Functions inherited from ablate::boundarySolver::physics::subModels::SublimationModel
 ~SublimationModel () override=default
 
SerializerType Serialize () const override
 
const std::string & GetId () const override
 
PetscErrorCode Save (PetscViewer viewer, PetscInt sequenceNumber, PetscReal time) override
 
PetscErrorCode Restore (PetscViewer viewer, PetscInt sequenceNumber, PetscReal time) override
 

Additional Inherited Members

- Public Types inherited from ablate::io::Serializable
enum class  SerializerType { none , collective , serial }
 
- Static Protected Member Functions inherited from ablate::io::Serializable
static PetscErrorCode SaveKeyValue (PetscViewer viewer, const char *name, PetscScalar value)
 
static PetscErrorCode RestoreKeyValue (PetscViewer viewer, const char *name, PetscScalar &value)
 
template<class T >
static PetscErrorCode SaveKeyValue (PetscViewer viewer, const char *name, T value)
 
template<class T >
static PetscErrorCode RestoreKeyValue (PetscViewer viewer, const char *name, T &value)
 
template<class T >
static SerializerType DetermineSerializerType (const T &types)
 

Member Function Documentation

◆ Compute()

PetscErrorCode ablate::boundarySolver::physics::subModels::ArrheniusSublimation::Compute ( PetscInt  faceId,
PetscReal  heatFluxToSurface,
SurfaceState surfaceState 
)
overridevirtual

Returns the current surface state for a face and current heatflux

Parameters
heatFluxToSurface

Implements ablate::boundarySolver::physics::subModels::SublimationModel.

◆ Initialize()

void ablate::boundarySolver::physics::subModels::ArrheniusSublimation::Initialize ( ablate::boundarySolver::BoundarySolver bSolver)
overridevirtual

Initialize the subModel for each face id in the bSolver

Parameters
bSolver

Initialize the solid boundary heat transfer model

Reimplemented from ablate::boundarySolver::physics::subModels::SublimationModel.

◆ RequiresUpdate()

bool ablate::boundarySolver::physics::subModels::ArrheniusSublimation::RequiresUpdate ( )
inlineoverridevirtual

bool indicating if this model needs to be updated before each prestep

Parameters
bSolver
Returns

Reimplemented from ablate::boundarySolver::physics::subModels::SublimationModel.

◆ Restore()

PetscErrorCode ablate::boundarySolver::physics::subModels::ArrheniusSublimation::Restore ( PetscViewer  viewer,
PetscInt  sequenceNumber,
PetscReal  time 
)
overridevirtual

Restore the state from the PetscViewer

Parameters
viewer
sequenceNumber
time

Implements ablate::io::Serializable.

◆ Save()

PetscErrorCode ablate::boundarySolver::physics::subModels::ArrheniusSublimation::Save ( PetscViewer  viewer,
PetscInt  sequenceNumber,
PetscReal  time 
)
overridevirtual

Save the state to the PetscViewer

Parameters
viewer
sequenceNumber
time

Implements ablate::io::Serializable.

◆ Serialize()

SerializerType ablate::boundarySolver::physics::subModels::ArrheniusSublimation::Serialize ( ) const
inlineoverridevirtual

The temperature sublimation model needs to save/restore the 1D fields

Returns

Reimplemented from ablate::io::Serializable.

◆ Update()

PetscErrorCode ablate::boundarySolver::physics::subModels::ArrheniusSublimation::Update ( PetscInt  faceId,
PetscReal  dt,
PetscReal  heatFluxToSurface,
PetscReal &  temperature 
)
overridevirtual

Initialize the subModel for each face id in the bSolver

Parameters
bSolver
Returns
bool indicating if this model needs to be updated before each prestep

Reimplemented from ablate::boundarySolver::physics::subModels::SublimationModel.


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