Documentation 6b54b78464
Loading...
Searching...
No Matches
CDisplacementsInterface Class Reference

Structure-fluid interface (displacements). More...

#include <CDisplacementsInterface.hpp>

Inheritance diagram for CDisplacementsInterface:
[legend]

Public Member Functions

 CDisplacementsInterface (unsigned short val_nVar, unsigned short val_nConst)
 Constructor of the class.
 
void GetDonor_Variable (CSolver *struct_solution, CGeometry *struct_geometry, const CConfig *struct_config, unsigned long Marker_Struct, unsigned long Vertex_Struct, unsigned long Point_Struct) override
 Retrieve the variable that will be sent from donor mesh to target mesh.
 
void SetTarget_Variable (CSolver *mesh_solver, CGeometry *flow_geometry, const CConfig *flow_config, unsigned long Marker_Flow, unsigned long Vertex_Flow, unsigned long Point_Mesh) override
 Set the variable that has been received from the target mesh into the target mesh.
 
- Public Member Functions inherited from CInterface
 CInterface ()
 Constructor of the class.
 
 CInterface (unsigned short val_nVar, unsigned short val_nConst)
 
virtual ~CInterface ()
 Destructor of the class.
 
void BroadcastData (const CInterpolator &interpolator, CSolver *donor_solution, CSolver *target_solution, CGeometry *donor_geometry, CGeometry *target_geometry, const CConfig *donor_config, const CConfig *target_config)
 Interpolate data and broadcast it into all processors, for nonmatching meshes.
 
virtual void SetSpanWiseLevels (const CConfig *donor_config, const CConfig *target_config)
 A virtual member.
 
virtual void BroadcastData_MixingPlane (const CInterpolator &interpolator, CSolver *donor_solution, CSolver *target_solution, CGeometry *donor_geometry, CGeometry *target_geometry, const CConfig *donor_config, const CConfig *target_config)
 Interpolate data and broadcast it into all processors, for nonmatching meshes.
 
virtual void SetContactResistance (su2double val_contact_resistance)
 Set the contact resistance value for the solid-to-solid heat transfer interface.
 
void SetInterfaceType (unsigned short interface_type)
 Set the type of an interface.
 
unsigned short GetInterfaceType (void) const
 Get the type of an interface.
 

Additional Inherited Members

- Public Attributes inherited from CInterface
ENUM_TRANSFER NextInterfaceType = ENUM_TRANSFER::NO_TRANSFER
 These can be used to chain interfaces between the same zones but for other variables, without having to mix physics in the interface classes. Currently this is used for FSI+CHT.
 
CInterface * NextInterface = nullptr
 
- Protected Member Functions inherited from CInterface
virtual void GetPhysical_Constants (CSolver *donor_solution, CSolver *target_solution, CGeometry *donor_geometry, CGeometry *target_geometry, const CConfig *donor_config, const CConfig *target_config)
 A virtual member.
 
virtual void GetDonor_Velocity_RotatingFrame (const CConfig *donor_config, CGeometry *donor_geometry, const CConfig *target_config, CGeometry *target_geometry)
 A virtual member.
 
virtual void InitializeTarget_Variable (CSolver *target_solution, unsigned long Marker_Target, unsigned long Vertex_Target, unsigned short nDonorPoints)
 Initializes the target variable.
 
virtual void RecoverTarget_Variable (const su2double *bcastVariable, su2double donorCoeff)
 Recovers the target variable from the buffer of su2doubles that was broadcast.
 
virtual void RecoverTarget_SpanEndwall (const su2activevector &bcastVariable, unsigned long idx)
 Recovers the target variable at the endwall from the buffer of su2doubles that was broadcast for mixing plane interfaces.
 
virtual void RecoverTarget_Span (const su2activevector &bcastVariable, unsigned long idx, su2double donorCoeff)
 Recovers the target variable at the span from the buffer of su2doubles that was broadcast for mixing plane interfaces.
 
virtual void SetAverageTurboGeoValues (CGeometry *donor_geometry, CGeometry *target_geometry, unsigned short donorZone)
 A virtual member.
 
- Protected Attributes inherited from CInterface
const int rank
 MPI Rank.
 
const int size
 MPI Size.
 
su2double * Physical_Constants = nullptr
 
su2double * Donor_Variable = nullptr
 
su2double * Target_Variable = nullptr
 
bool valAggregated = false
 
unsigned short InterfaceType
 The type of interface.
 
su2double * SpanValueCoeffTarget = nullptr
 
unsigned short * SpanLevelDonor = nullptr
 
unsigned short nSpanMaxAllZones = 0
 
unsigned short nVar = 0
 
- Static Protected Attributes inherited from CInterface
static constexpr size_t MAXNDIM = 3
 Max number of space dimensions, used in some static arrays.
 

Detailed Description

Structure-fluid interface (displacements).

Constructor & Destructor Documentation

◆ CDisplacementsInterface()

CDisplacementsInterface::CDisplacementsInterface ( unsigned short  val_nVar,
unsigned short  val_nConst 
)

Constructor of the class.

Parameters
[in]val_nVar- Number of variables that need to be transferred.

Member Function Documentation

◆ GetDonor_Variable()

void CDisplacementsInterface::GetDonor_Variable ( CSolver *  struct_solution,
CGeometry *  struct_geometry,
const CConfig *  struct_config,
unsigned long  Marker_Struct,
unsigned long  Vertex_Struct,
unsigned long  Point_Struct 
)
overridevirtual

Retrieve the variable that will be sent from donor mesh to target mesh.

Parameters
[in]donor_solution- Solution from the donor mesh.
[in]donor_geometry- Geometry of the donor mesh.
[in]donor_config- Definition of the problem at the donor mesh.
[in]Marker_Donor- Index of the donor marker.
[in]Vertex_Donor- Index of the donor vertex.

Implements CInterface.

◆ SetTarget_Variable()

void CDisplacementsInterface::SetTarget_Variable ( CSolver *  mesh_solver,
CGeometry *  flow_geometry,
const CConfig *  flow_config,
unsigned long  Marker_Flow,
unsigned long  Vertex_Flow,
unsigned long  Point_Mesh 
)
overridevirtual

Set the variable that has been received from the target mesh into the target mesh.

Parameters
[in]target_solution- Solution from the target mesh.
[in]target_geometry- Geometry of the target mesh.
[in]target_config- Definition of the problem at the target mesh.
[in]Marker_Target- Index of the target marker.
[in]Vertex_Target- Index of the target vertex.
[in]Point_Target- Index of the target point.

Implements CInterface.


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