Public Member Functions | List of all members
oomph::ElasticLineVolumeConstraintBoundingElement< ELEMENT > Class Template Reference

/////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// More...

#include <constrained_volume_elements.h>

Inheritance diagram for oomph::ElasticLineVolumeConstraintBoundingElement< ELEMENT >:
oomph::LineVolumeConstraintBoundingElement oomph::VolumeConstraintBoundingElement

Public Member Functions

 ElasticLineVolumeConstraintBoundingElement (FiniteElement *const &element_pt, const int &face_index)
 Contructor: Specify bulk element and index of face to which this face element is to be attached. More...
 
void fill_in_contribution_to_jacobian (Vector< double > &residuals, DenseMatrix< double > &jacobian)
 Fill in contribution to residuals and Jacobian. This is specific to solid-based elements in which derivatives w.r.t. to nodal positions are evaluated by finite differencing. More...
 
double zeta_nodal (const unsigned &n, const unsigned &k, const unsigned &i) const
 The "global" intrinsic coordinate of the element when viewed as part of a geometric object should be given by the FaceElement representation, by default. More...
 
- Public Member Functions inherited from oomph::LineVolumeConstraintBoundingElement
 LineVolumeConstraintBoundingElement ()
 Empty Contructor. More...
 
 ~LineVolumeConstraintBoundingElement ()
 Empty Destructor. More...
 
double contribution_to_enclosed_volume ()
 Return this element's contribution to the total volume enclosed. More...
 
- Public Member Functions inherited from oomph::VolumeConstraintBoundingElement
 VolumeConstraintBoundingElement ()
 Constructor initialise the boolean flag We expect the traded pressure data to be stored externally. More...
 
 ~VolumeConstraintBoundingElement ()
 Empty Destructor. More...
 
void fill_in_contribution_to_residuals (Vector< double > &residuals)
 Fill in contribution to residuals and Jacobian. More...
 
void set_volume_constraint_element (VolumeConstraintElement *const &vol_constraint_el_pt, const bool &check_nodal_data=true)
 Set the "master" volume constraint element The setup here is a bit more complicated than one might expect because if an internal pressure on a boundary is hijacked in TaylorHood elements then that the "traded" value may already be stored as nodal data in this element. This causes no problems apart from when running with PARANOID in which case the resulting repeated local equation numbers are spotted and an error is thrown. The check is a finite amount of work and so can be avoided if the boolean flag check_nodal_data is set to false. More...
 

Additional Inherited Members

- Protected Member Functions inherited from oomph::LineVolumeConstraintBoundingElement
void fill_in_generic_residual_contribution_volume_constraint (Vector< double > &residuals)
 Helper function to fill in contributions to residuals (remember that part of the residual is added by the the associated VolumeConstraintElement). This is specific for 1D line elements that bound 2D cartesian fluid elements. More...
 
- Protected Member Functions inherited from oomph::VolumeConstraintBoundingElement
int ptraded_local_eqn ()
 The local eqn number for the traded pressure. More...
 
- Protected Attributes inherited from oomph::VolumeConstraintBoundingElement
unsigned Data_number_of_traded_pressure
 The Data that contains the traded pressure is usually stored as external Data for this element, but may also be nodal Data Which Data item is it? More...
 
unsigned Index_of_traded_pressure_value
 Index of the value in traded pressure data that corresponds to the traded pressure. More...
 
bool Traded_pressure_stored_at_node
 Boolean to indicate whether the traded pressure is stored externally or at a node (this can happen in Taylor-Hood elements) More...
 

Detailed Description

template<class ELEMENT>
class oomph::ElasticLineVolumeConstraintBoundingElement< ELEMENT >

/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////

The one-dimensional interface elements that allow imposition of a volume constraint specialised for the case when the nodal positions of the bulk elements are treated as solid degrees of freedom. To enforce that a fluid volume has a certain volume, attach these elements to all faces of the (2D cartesian) bulk fluid elements (of type ELEMENT) that bound that region and then specify the "pressure" value that is traded for the constraint.

Definition at line 369 of file constrained_volume_elements.h.

Constructor & Destructor Documentation

◆ ElasticLineVolumeConstraintBoundingElement()

template<class ELEMENT >
oomph::ElasticLineVolumeConstraintBoundingElement< ELEMENT >::ElasticLineVolumeConstraintBoundingElement ( FiniteElement *const &  element_pt,
const int &  face_index 
)
inline

Contructor: Specify bulk element and index of face to which this face element is to be attached.

Definition at line 376 of file constrained_volume_elements.h.

Member Function Documentation

◆ fill_in_contribution_to_jacobian()

template<class ELEMENT >
void oomph::ElasticLineVolumeConstraintBoundingElement< ELEMENT >::fill_in_contribution_to_jacobian ( Vector< double > &  residuals,
DenseMatrix< double > &  jacobian 
)
inline

Fill in contribution to residuals and Jacobian. This is specific to solid-based elements in which derivatives w.r.t. to nodal positions are evaluated by finite differencing.

Definition at line 388 of file constrained_volume_elements.h.

References oomph::LineVolumeConstraintBoundingElement::fill_in_generic_residual_contribution_volume_constraint().

◆ zeta_nodal()

template<class ELEMENT >
double oomph::ElasticLineVolumeConstraintBoundingElement< ELEMENT >::zeta_nodal ( const unsigned &  n,
const unsigned &  k,
const unsigned &  i 
) const
inline

The "global" intrinsic coordinate of the element when viewed as part of a geometric object should be given by the FaceElement representation, by default.

Definition at line 402 of file constrained_volume_elements.h.


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