svMultiPhysics
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CappingSurface Class Reference

Capping surface geometry and integration for a coupled boundary. More...

#include <CoupledBoundaryCondition.h>

Public Member Functions

 CappingSurface ()=default
 Default constructor.
 
 CappingSurface (const CappingSurface &other)
 Copy constructor.
 
CappingSurfaceoperator= (const CappingSurface &other)
 Copy assignment operator.
 
 CappingSurface (CappingSurface &&other) noexcept=default
 Move constructor.
 
CappingSurfaceoperator= (CappingSurface &&other) noexcept=default
 Move assignment operator.
 
void load_from_vtp (const std::string &vtp_file_path, const faceType &coupled_face, const std::string &coupled_face_name)
 Load the cap face from a VTP file.
 
void init_cap_face_quadrature (const ComMod &com_mod)
 Initialize the cap face quadrature.
 
void initialize_valM ()
 Initialize the cap contribution storage.
 
double integrate_velocity_flux (const CapGlobalMeshState &st, bool use_Yn_velocity, consts::MechanicalConfigurationType cfg)
 Surface velocity flux through the cap using st columns indexed by cap IEN / GlobalNodeID (master / serial).
 
void compute_valM (consts::MechanicalConfigurationType cfg, const CapGlobalMeshState &st) const
 Compute the cap contribution to the linear solver face (fills valM_; safe under const *this).
 
faceTypeface ()
 Get the cap face.
 
const faceTypeface () const
 
const Array< double > & valM () const
 Get the cap contribution.
 

Detailed Description

Capping surface geometry and integration for a coupled boundary.

Constructor & Destructor Documentation

◆ CappingSurface() [1/3]

CappingSurface::CappingSurface ( )
default

Default constructor.

◆ CappingSurface() [2/3]

CappingSurface::CappingSurface ( const CappingSurface other)

Copy constructor.

◆ CappingSurface() [3/3]

CappingSurface::CappingSurface ( CappingSurface &&  other)
defaultnoexcept

Move constructor.

Member Function Documentation

◆ compute_valM()

void CappingSurface::compute_valM ( consts::MechanicalConfigurationType  cfg,
const CapGlobalMeshState st 
) const

Compute the cap contribution to the linear solver face (fills valM_; safe under const *this).

Computes the cap contribution to the linear solver face.

Parameters
cfgThe mechanical configuration type.
stThe cap global mesh state.

◆ face()

faceType * CappingSurface::face ( )
inline

Get the cap face.

◆ init_cap_face_quadrature()

void CappingSurface::init_cap_face_quadrature ( const ComMod com_mod)

Initialize the cap face quadrature.

Initializes the cap face quadrature (assumes triangular elements).

Parameters
com_modThe com_mod object.

◆ initialize_valM()

void CappingSurface::initialize_valM ( )

Initialize the cap contribution storage.

◆ integrate_velocity_flux()

double CappingSurface::integrate_velocity_flux ( const CapGlobalMeshState st,
bool  use_Yn_velocity,
consts::MechanicalConfigurationType  cfg 
)

Surface velocity flux through the cap using st columns indexed by cap IEN / GlobalNodeID (master / serial).

Integrates the velocity flux over the cap surface.

Parameters
stThe cap global mesh state.
use_Yn_velocityWhether to use the Yn velocity.
cfgThe mechanical configuration type.
Returns
The velocity flux.

◆ load_from_vtp()

void CappingSurface::load_from_vtp ( const std::string &  vtp_file_path,
const faceType coupled_face,
const std::string &  coupled_face_name 
)

Load the cap face from a VTP file.

Loads the cap VTP file and creates the cap face.

Parameters
vtp_file_pathThe path to the VTP file.
coupled_faceThe coupled face.
coupled_face_nameThe name of the coupled face.

◆ operator=() [1/2]

CappingSurface & CappingSurface::operator= ( CappingSurface &&  other)
defaultnoexcept

Move assignment operator.

◆ operator=() [2/2]

CappingSurface & CappingSurface::operator= ( const CappingSurface other)

Copy assignment operator.

◆ valM()

const Array< double > & CappingSurface::valM ( ) const
inline

Get the cap contribution.


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