LifeV
FSI3DBoundaryAreaFunction Class Reference

FSI3DBoundaryAreaFunction - The FSI3D area function. More...

#include <MultiscaleModelFSI3D.hpp>

+ Collaboration diagram for FSI3DBoundaryAreaFunction:

Private Attributes

const MultiscaleModelFSI3DM_FSI3D
 
multiscaleID_Type M_fluidFlag
 
Real M_referenceArea
 
std::array< Real, 3 > M_geometricCenter
 
std::array< Real, 3 > M_n
 
std::array< Real, 3 > M_t1
 
std::array< Real, 3 > M_t2
 
function_Type M_function
 

Type definitions

typedef MultiscaleInterface::function_Type function_Type
 

Constructors & Destructor

 FSI3DBoundaryAreaFunction ()
 Constructor. More...
 
virtual ~FSI3DBoundaryAreaFunction ()
 Destructor. More...
 

Methods

Real function (const Real &t, const Real &x, const Real &y, const Real &z, const UInt &id)
 Evaluate the displacement of a point. More...
 
Real functionLinear (const Real &, const Real &x, const Real &y, const Real &z, const UInt &id)
 Evaluate the displacement of a point when solving the tangent problem. More...
 
void setup ()
 Setup main quantities. More...
 
void showMe () const
 ShowMe. More...
 

Set methods

void setModel (const MultiscaleModelFSI3D *modelFSI3D)
 Set the FSI3D model. More...
 
void setFluidFlag (const multiscaleID_Type &flag)
 Set the fluid flag of the boundary. More...
 
void setReferenceArea (const Real &referenceArea)
 Set the reference area the fluid boundary. More...
 
void setGeometricCenter (const std::array< Real, 3 > &geometricCenter)
 Set the geometric center of the fluid boundary. More...
 
void setNormal (const std::array< Real, 3 > &normal)
 Set the outgoing normal of the fluid boundary. More...
 
void setFunction (const function_Type &function)
 Set the area function. More...
 

Get methods

const multiscaleID_TypefluidFlag () const
 Get the fluid flag of the boundary. More...
 

Unimplemented Methods

 FSI3DBoundaryAreaFunction (const FSI3DBoundaryAreaFunction &boundaryFunction)
 
FSI3DBoundaryAreaFunctionoperator= (const FSI3DBoundaryAreaFunction &boundaryFunction)
 

Private Methods

void setupTangent ()
 Setup tangent vectors. More...
 
Real displacement (const Real &scaleFactor, const Real &x, const Real &y, const Real &z, const UInt &id)
 Evaluate the displacement of a point given the scale factor. More...
 

Detailed Description

FSI3DBoundaryAreaFunction - The FSI3D area function.

Author
Cristiano Malossi

This simple class provides the implementation for the BC function used by the FSI3D model in order to apply the area of the fluid vessel at the boundaries.

Definition at line 949 of file MultiscaleModelFSI3D.hpp.

Member Typedef Documentation

◆ function_Type

Constructor & Destructor Documentation

◆ FSI3DBoundaryAreaFunction() [1/2]

FSI3DBoundaryAreaFunction ( )
inlineexplicit

Constructor.

Definition at line 965 of file MultiscaleModelFSI3D.hpp.

◆ ~FSI3DBoundaryAreaFunction()

virtual ~FSI3DBoundaryAreaFunction ( )
inlinevirtual

Destructor.

Definition at line 977 of file MultiscaleModelFSI3D.hpp.

◆ FSI3DBoundaryAreaFunction() [2/2]

FSI3DBoundaryAreaFunction ( const FSI3DBoundaryAreaFunction boundaryFunction)
private

Member Function Documentation

◆ function()

Real function ( const Real t,
const Real x,
const Real y,
const Real z,
const UInt id 
)
inline

Evaluate the displacement of a point.

Returns
displacement of a point

Definition at line 992 of file MultiscaleModelFSI3D.hpp.

◆ functionLinear()

Real functionLinear ( const Real ,
const Real x,
const Real y,
const Real z,
const UInt id 
)
inline

Evaluate the displacement of a point when solving the tangent problem.

Returns
displacement of a point

Definition at line 1001 of file MultiscaleModelFSI3D.hpp.

◆ setup()

void setup ( )
inline

Setup main quantities.

Definition at line 1007 of file MultiscaleModelFSI3D.hpp.

◆ showMe()

void showMe ( ) const
inline

ShowMe.

Definition at line 1034 of file MultiscaleModelFSI3D.hpp.

◆ setModel()

void setModel ( const MultiscaleModelFSI3D modelFSI3D)
inline

Set the FSI3D model.

Parameters
modelFSI3Da pointer to the FSI3D model

Definition at line 1057 of file MultiscaleModelFSI3D.hpp.

◆ setFluidFlag()

void setFluidFlag ( const multiscaleID_Type flag)
inline

Set the fluid flag of the boundary.

Parameters
flagflag of the fluid boundary

Definition at line 1066 of file MultiscaleModelFSI3D.hpp.

◆ setReferenceArea()

void setReferenceArea ( const Real referenceArea)
inline

Set the reference area the fluid boundary.

Parameters
referenceAreareference area of the fluid boundary

Definition at line 1075 of file MultiscaleModelFSI3D.hpp.

◆ setGeometricCenter()

void setGeometricCenter ( const std::array< Real, 3 > &  geometricCenter)
inline

Set the geometric center of the fluid boundary.

Parameters
geometricCenterthe x-y-z coordinate of the geometric center of the fluid boundary

Definition at line 1084 of file MultiscaleModelFSI3D.hpp.

◆ setNormal()

void setNormal ( const std::array< Real, 3 > &  normal)
inline

Set the outgoing normal of the fluid boundary.

Parameters
normaloutgoing normal of the fluid boundary

Definition at line 1093 of file MultiscaleModelFSI3D.hpp.

◆ setFunction()

void setFunction ( const function_Type function)
inline

Set the area function.

Parameters
functionarea function

Definition at line 1103 of file MultiscaleModelFSI3D.hpp.

◆ fluidFlag()

const multiscaleID_Type& fluidFlag ( ) const
inline

Get the fluid flag of the boundary.

Returns
flag of the fluid boundary

Definition at line 1117 of file MultiscaleModelFSI3D.hpp.

◆ operator=()

FSI3DBoundaryAreaFunction& operator= ( const FSI3DBoundaryAreaFunction boundaryFunction)
private

◆ setupTangent()

void setupTangent ( )
inlineprivate

Setup tangent vectors.

Definition at line 1140 of file MultiscaleModelFSI3D.hpp.

◆ displacement()

Real displacement ( const Real scaleFactor,
const Real x,
const Real y,
const Real z,
const UInt id 
)
inlineprivate

Evaluate the displacement of a point given the scale factor.

Parameters
scalefactor
xx-coordinate of the point
yy-coordinate of the point
zz-coordinate of the point
idid of the component
Returns
displacement of a point

Definition at line 1168 of file MultiscaleModelFSI3D.hpp.

Field Documentation

◆ M_FSI3D

const MultiscaleModelFSI3D* M_FSI3D
private

Definition at line 1206 of file MultiscaleModelFSI3D.hpp.

◆ M_fluidFlag

multiscaleID_Type M_fluidFlag
private

Definition at line 1207 of file MultiscaleModelFSI3D.hpp.

◆ M_referenceArea

Real M_referenceArea
private

Definition at line 1208 of file MultiscaleModelFSI3D.hpp.

◆ M_geometricCenter

std::array< Real, 3 > M_geometricCenter
private

Definition at line 1209 of file MultiscaleModelFSI3D.hpp.

◆ M_n

std::array< Real, 3 > M_n
private

Definition at line 1210 of file MultiscaleModelFSI3D.hpp.

◆ M_t1

std::array< Real, 3 > M_t1
private

Definition at line 1211 of file MultiscaleModelFSI3D.hpp.

◆ M_t2

std::array< Real, 3 > M_t2
private

Definition at line 1212 of file MultiscaleModelFSI3D.hpp.

◆ M_function

function_Type M_function
private

Definition at line 1213 of file MultiscaleModelFSI3D.hpp.


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