ABLATE Source Documentation  0.12.34
ablate::boundarySolver::physics::subModels::TemperatureSublimation Class Reference
+ Inheritance diagram for ablate::boundarySolver::physics::subModels::TemperatureSublimation:

Public Member Functions

 TemperatureSublimation (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
 
const std::string & GetId () const 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::TemperatureSublimation::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::TemperatureSublimation::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::TemperatureSublimation::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::TemperatureSublimation::Restore ( PetscViewer  viewer,
PetscInt  sequenceNumber,
PetscReal  time 
)
overridevirtual

Restore the state from the PetscViewer

Parameters
viewer
sequenceNumber
time

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

◆ Save()

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

Save the state to the PetscViewer

Parameters
viewer
sequenceNumber
time

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

◆ Serialize()

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

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

Returns

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

◆ Update()

PetscErrorCode ablate::boundarySolver::physics::subModels::TemperatureSublimation::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: