ASPECT
Public Member Functions | List of all members
aspect::BoundaryFluidPressure::Interface< dim > Class Template Referenceabstract
Inheritance diagram for aspect::BoundaryFluidPressure::Interface< dim >:
Inheritance graph
[legend]

Public Member Functions

virtual void fluid_pressure_gradient (const types::boundary_id boundary_indicator, const MaterialModel::MaterialModelInputs< dim > &material_model_inputs, const MaterialModel::MaterialModelOutputs< dim > &material_model_outputs, const std::vector< Tensor< 1, dim >> &normal_vectors, std::vector< double > &fluid_pressure_gradient_outputs) const =0
 
- Public Member Functions inherited from aspect::Plugins::InterfaceBase
virtual ~InterfaceBase ()=default
 
virtual void initialize ()
 
virtual void update ()
 
virtual void parse_parameters (ParameterHandler &prm)
 

Additional Inherited Members

- Static Public Member Functions inherited from aspect::Plugins::InterfaceBase
static void declare_parameters (ParameterHandler &prm)
 

Detailed Description

template<int dim>
class aspect::BoundaryFluidPressure::Interface< dim >

Base class

Definition at line 47 of file interface.h.

Member Function Documentation

§ fluid_pressure_gradient()

template<int dim>
virtual void aspect::BoundaryFluidPressure::Interface< dim >::fluid_pressure_gradient ( const types::boundary_id  boundary_indicator,
const MaterialModel::MaterialModelInputs< dim > &  material_model_inputs,
const MaterialModel::MaterialModelOutputs< dim > &  material_model_outputs,
const std::vector< Tensor< 1, dim >> &  normal_vectors,
std::vector< double > &  fluid_pressure_gradient_outputs 
) const
pure virtual

Compute the component of the gradient of the fluid pressure in the direction normal to a boundary for a list of quadrature points.

The return value can typically contain material_model_outputs.fluid_densities[q] or material_model_outputs.densities[q], multiplied by the gravity vector and dotted with the normal. If the solid density is used, fluid is only flowing in or out due to differences in dynamic pressure, if the fluid density is used, melt flows in with the same velocity as inflowing solid material.

Parameters
boundary_indicatorThe boundary indicator of the part of the boundary of the domain on which the point is located at which we are requesting the fluid pressure gradients.
material_model_inputsThe material property inputs.
material_model_outputsThe material property outputs.
normal_vectorsA normal vector for each point.
fluid_pressure_gradient_outputsResult to be filled.

Implemented in aspect::BoundaryFluidPressure::Density< dim >.


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