31#include "../CInterface.hpp"
32#include <unordered_map>
70 const CConfig *config,
bool integrate_tractions_);
83 const CConfig *donor_config,
const CConfig *target_config)
override;
94 unsigned long Marker_Flow,
unsigned long Vertex_Flow,
unsigned long Point_Flow)
override;
106 const CConfig *fea_config,
unsigned long Marker_Struct,
107 unsigned long Vertex_Struct,
unsigned long Point_Struct)
override;
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Fluid-structure interface (forces or tractions).
Definition CFlowTractionInterface.hpp:38
void GetPhysical_Constants(CSolver *donor_solution, CSolver *target_solution, CGeometry *donor_geometry, CGeometry *target_geometry, const CConfig *donor_config, const CConfig *target_config) override
Retrieve some constants needed for the calculations.
Definition CFlowTractionInterface.cpp:141
void GetDonor_Variable(CSolver *flow_solution, CGeometry *flow_geometry, const CConfig *flow_config, unsigned long Marker_Flow, unsigned long Vertex_Flow, unsigned long Point_Flow) override
Retrieve the variable that will be sent from donor mesh to target mesh.
Definition CFlowTractionInterface.cpp:178
void ComputeVertexAreas(const CConfig *config, CGeometry *geometry, CSolver *solution)
Computes vertex areas (FEA side) for when tractions need to be integrated.
Definition CFlowTractionInterface.cpp:85
std::unordered_map< unsigned long, su2double > vertexArea
Definition CFlowTractionInterface.hpp:41
void SetTarget_Variable(CSolver *fea_solution, CGeometry *fea_geometry, const CConfig *fea_config, unsigned long Marker_Struct, unsigned long Vertex_Struct, unsigned long Point_Struct) override
Set the variable that has been received from the target mesh into the target mesh.
Definition CFlowTractionInterface.cpp:226
const bool conservative
Definition CFlowTractionInterface.hpp:40
void Preprocess(const CConfig *flow_config, const CConfig *struct_config, CGeometry *geometry, CSolver *solution)
Sets the dimensional factor for pressure and the consistent_interpolation flag.
Definition CFlowTractionInterface.cpp:44
Parent class for defining the geometry of the problem (complete geometry, multigrid agglomerated geom...
Definition CGeometry.hpp:75
Main class for defining the physical transfer of information.
Definition CInterface.hpp:60
Definition CSolver.hpp:71