Documentation 6b54b78464
Loading...
Searching...
No Matches
CFEABoundVariable Class Referencefinal

Class that adds storage of boundary variables (tractions) to CFEAVariable. More...

#include <CFEABoundVariable.hpp>

Inheritance diagram for CFEABoundVariable:
[legend]

Public Member Functions

 CFEABoundVariable (const su2double *val_fea, unsigned long npoint, unsigned long ndim, unsigned long nvar, CConfig *config)
 Constructor of the class.
 
 ~CFEABoundVariable () override=default
 Destructor of the class.
 
void AllocateBoundaryVariables (CConfig *config)
 Allocate member variables for points marked as vertex (via "Set_isVertex").
 
void Add_SurfaceLoad_Res (unsigned long iPoint, const su2double *val_surfForce) override
 Add surface load to the residual term.
 
su2double Get_SurfaceLoad_Res (unsigned long iPoint, unsigned long iVar) const override
 Get the residual term due to surface load.
 
void Clear_SurfaceLoad_Res () override
 Clear the surface load residual.
 
void Set_SurfaceLoad_Res_n () override
 Store the surface load as the load for the previous time step.
 
su2double Get_SurfaceLoad_Res_n (unsigned long iPoint, unsigned long iVar) const override
 Get the surface load from the previous time step.
 
void Set_FlowTraction (unsigned long iPoint, const su2double *val_flowTraction) override
 Set the flow traction at a node on the structural side.
 
void Add_FlowTraction (unsigned long iPoint, const su2double *val_flowTraction) override
 Add a value to the flow traction at a node on the structural side.
 
su2double Get_FlowTraction (unsigned long iPoint, unsigned long iVar) const override
 Get the residual term due to the flow traction.
 
void Set_FlowTraction_n () override
 Set the value of the flow traction at the previous time step.
 
su2double Get_FlowTraction_n (unsigned long iPoint, unsigned long iVar) const override
 Retrieve the value of the flow traction from the previous time step.
 
void RegisterFlowTraction (bool reset) override
 Register the flow tractions as input variable.
 
su2double ExtractFlowTractionSensitivity (unsigned long iPoint, unsigned long iDim) const override
 Extract the flow traction derivatives.
 
bool Get_isVertex (unsigned long iPoint) const override
 Get whether a node is on the boundary.
 
void Set_isVertex (unsigned long iPoint, bool isVertex) override
 Set whether a node is on the boundary.
 
- Public Member Functions inherited from CFEAVariable
 ~CFEAVariable () override=default
 Destructor of the class.
 
const su2double * GetStress_FEM (unsigned long iPoint) const final
 Get the value of the stress.
 
void SetStress_FEM (unsigned long iPoint, unsigned long iVar, su2double val_stress) final
 Set the value of the stress at the node.
 
void AddStress_FEM (unsigned long iPoint, unsigned long iVar, su2double val_stress) final
 Add a certain value to the value of the stress at the node.
 
void Add_BodyForces_Res (unsigned long iPoint, const su2double *val_bodyForce) final
 Add body forces to the residual term.
 
void Clear_BodyForces_Res (unsigned long iPoint) final
 Clear the surface load residual.
 
su2double Get_BodyForces_Res (unsigned long iPoint, unsigned long iVar) const final
 Get the body forces.
 
void SetSolution_Vel (unsigned long iPoint, const su2double *val_solution_vel) final
 Set the value of the velocity (Structural Analysis).
 
void SetSolution_Vel (unsigned long iPoint, unsigned long iVar, su2double val_solution_vel) final
 
void SetSolution_Vel_time_n (unsigned long iPoint, const su2double *val_solution_vel_time_n) final
 Set the value of the velocity (Structural Analysis) at time n.
 
void SetSolution_Vel_time_n (unsigned long iPoint, unsigned long iVar, su2double val_solution_vel_time_n) final
 
su2double GetSolution_Vel (unsigned long iPoint, unsigned long iVar) const final
 Get the velocity (Structural Analysis).
 
su2double * GetSolution_Vel (unsigned long iPoint) final
 Get the solution of the problem.
 
su2double GetSolution_Vel_time_n (unsigned long iPoint, unsigned long iVar) const final
 Get the velocity of the nodes (Structural Analysis) at time n.
 
su2double * GetSolution_Vel_time_n (unsigned long iPoint) final
 Get the solution at time n.
 
void SetSolution_Accel (unsigned long iPoint, const su2double *val_solution_accel) final
 Set the value of the acceleration (Structural Analysis).
 
void SetSolution_Accel (unsigned long iPoint, unsigned long iVar, su2double val_solution_accel) final
 
void SetSolution_Accel_time_n (unsigned long iPoint, const su2double *val_solution_accel_time_n) final
 Set the value of the acceleration (Structural Analysis) at time n.
 
void SetSolution_Accel_time_n (unsigned long iPoint, unsigned long iVar, su2double val_solution_accel_time_n) final
 
su2double GetSolution_Accel (unsigned long iPoint, unsigned long iVar) const final
 Get the acceleration (Structural Analysis).
 
su2double * GetSolution_Accel (unsigned long iPoint) final
 Get the solution of the problem.
 
su2double GetSolution_Accel_time_n (unsigned long iPoint, unsigned long iVar) const final
 Get the acceleration of the nodes (Structural Analysis) at time n.
 
su2double * GetSolution_Accel_time_n (unsigned long iPoint) final
 Get the solution at time n.
 
void SetSolution_Vel_Pred (unsigned long iPoint, const su2double *val_solution_pred) final
 Set the value of the solution velocity predictor.
 
void SetSolution_Pred (unsigned long iPoint, const su2double *val_solution_pred) final
 Set the value of the old solution.
 
const su2double * GetSolution_Vel_Pred (unsigned long iPoint) const final
 Get the velocity solution.
 
const su2double * GetSolution_Pred (unsigned long iPoint) const final
 Get the solution at time n.
 
void SetSolution_Pred_Old (unsigned long iPoint, const su2double *val_solution_pred_old) final
 Set the value of the old solution.
 
const su2double * GetSolution_Pred_Old (unsigned long iPoint) const final
 Get the solution at time n.
 
void SetPrestretch (unsigned long iPoint, unsigned long iVar, su2double val_prestretch) final
 A virtual member.
 
const su2double * GetPrestretch (unsigned long iPoint) const final
 A virtual member.
 
su2double GetPrestretch (unsigned long iPoint, unsigned long iVar) const final
 A virtual member.
 
void SetVonMises_Stress (unsigned long iPoint, su2double val_stress) final
 Set the value of the Von Mises stress.
 
su2double GetVonMises_Stress (unsigned long iPoint) const final
 Get the value of the Von Mises stress.
 
void SetReference_Geometry (unsigned long iPoint, unsigned long iVar, su2double ref_geometry) final
 Set the reference geometry.
 
const su2double * GetReference_Geometry (unsigned long iPoint) const final
 Get the pointer to the reference geometry.
 
- Public Member Functions inherited from CVariable
 CVariable (const CVariable &)=delete
 
 CVariable (CVariable &&)=delete
 
CVariable & operator= (const CVariable &)=delete
 
CVariable & operator= (CVariable &&)=delete
 
 CVariable (unsigned long npoint, unsigned long nvar, const CConfig *config)
 
 CVariable (unsigned long npoint, unsigned long ndim, unsigned long nvar, const CConfig *config, bool adjoint=false)
 
virtual ~CVariable ()=default
 Destructor of the class.
 
unsigned long GetnAuxVar () const
 Get the number of auxiliary variables.
 
void SetSolution (unsigned long iPoint, const su2double *solution)
 Set the value of the solution, all variables.
 
void SetSolution (unsigned long iPoint, unsigned long iVar, su2double solution)
 Set the value of the solution, one variable.
 
void Add_DeltaSolution (unsigned long iPoint, unsigned long iVar, su2double solution)
 Add the value of the solution vector to the previous solution (incremental approach).
 
void SetNon_Physical (unsigned long iPoint, bool val_value)
 Set the value of the non-physical point.
 
bool GetNon_Physical (unsigned long iPoint)
 Get the value of the non-physical boolean at a point.
 
su2double GetSolution (unsigned long iPoint, unsigned long iVar) const
 Get the solution.
 
su2double GetSolution_Old (unsigned long iPoint, unsigned long iVar) const
 Get the old solution of the problem (Runge-Kutta method)
 
void SetSolution_Old (unsigned long iPoint, const su2double *solution_old)
 Set the value of the old solution.
 
void SetSolution_Old (unsigned long iPoint, unsigned long iVar, su2double solution_old)
 
void Set_OldSolution ()
 Set old variables to the value of the current variables.
 
void Set_Solution ()
 Set variables to the value of the old variables.
 
void Set_Solution_time_n ()
 Set the variable solution at time n.
 
void Set_Solution_time_n1 ()
 Set the variable solution at time n-1.
 
void Set_Solution_time_n (unsigned long iPoint, const su2double *val_sol)
 Set the variable solution at time n.
 
void Set_Solution_time_n1 (unsigned long iPoint, const su2double *val_sol)
 Set the variable solution at time n-1.
 
void Set_Solution_time_n (unsigned long iPoint, unsigned long iVar, su2double val_sol)
 Set the variable solution at time n.
 
void Set_Solution_time_n1 (unsigned long iPoint, unsigned long iVar, su2double val_sol)
 Set the variable solution at time n-1.
 
virtual void SetVelSolutionVector (unsigned long iPoint, const su2double *val_vector)
 Virtual Member. Specify a vector to set the velocity components of the solution. Multiplied by density for compressible cases.
 
void AddSolution (unsigned long iPoint, unsigned long iVar, su2double solution)
 Add a value to the solution.
 
void AddSolution (unsigned long iPoint, const su2double *solution)
 Add a value to the solution.
 
virtual su2double GetSolution_New (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual su2double GetRoe_Dissipation (unsigned long iPoint) const
 A virtual member.
 
virtual void SetRoe_Dissipation (unsigned long iPoint, su2double val_dissipation)
 A virtual member.
 
virtual void SetRoe_Dissipation_FD (unsigned long iPoint, su2double val_wall_dist)
 A virtual member.
 
virtual void SetRoe_Dissipation_NTS (unsigned long iPoint, su2double val_delta, su2double val_const_DES)
 A virtual member.
 
virtual su2double GetDES_LengthScale (unsigned long iPoint) const
 A virtual member.
 
virtual void SetDES_LengthScale (unsigned long iPoint, su2double val_des_lengthscale)
 A virtual member.
 
virtual su2double GetLES_Mode (unsigned long iPoint) const
 A virtual member.
 
virtual void SetLES_Mode (unsigned long iPoint, su2double val_les_mode)
 A virtual member.
 
virtual su2double GetLangevinSourceTerms (unsigned long iPoint, unsigned short iDim) const
 A virtual member.
 
virtual void SetLangevinSourceTerms (unsigned long iPoint, unsigned short iDim, su2double val_stochSource)
 A virtual member.
 
virtual void SetBesselIntegral (unsigned long iPoint, su2double val_integral)
 A virtual member.
 
virtual su2double GetBesselIntegral (unsigned long iPoint) const
 A virtual member.
 
virtual void SetSolution_New ()
 A virtual member.
 
void SetExternalZero ()
 Set external contributions to zero.
 
virtual void Set_External_To_DualTimeDer ()
 Set Dual-time derivative contributions to the external.
 
virtual void AddSolution_New (unsigned long iPoint, unsigned long iVar, su2double solution)
 A virtual member.
 
void Add_External (unsigned long iPoint, const su2double *val_sol)
 Add a value to the External vector.
 
void Set_ExternalExtra_To_SolutionExtra ()
 Store the adjoint solution of the extra adjoint into the external container.
 
void Add_ExternalExtra_To_SolutionExtra ()
 Add the external contribution to the solution for the extra adjoint solutions.
 
VectorType & GetSolutionExtra ()
 Return the extra adjoint solution.
 
const VectorType & GetSolutionExtra () const
 
void AddClippedSolution (unsigned long iPoint, unsigned long iVar, su2double solution, su2double lowerlimit, su2double upperlimit, su2double Sol2Conservative=1.0, su2double Sol2Conservative_old=1.0)
 Update the variables using a conservative format.
 
const MatrixType & GetSolution () const
 Get the entire solution of the problem.
 
MatrixType & GetSolution ()
 
su2double * GetSolution (unsigned long iPoint)
 Get the solution of the problem.
 
const MatrixType & GetUserDefinedSource () const
 Get the entire User Define Source of the problem.
 
MatrixType & GetUserDefinedSource ()
 
su2double * GetSolution_Old (unsigned long iPoint)
 Get the old solution of the problem (Runge-Kutta method)
 
const su2double * Get_External (unsigned long iPoint) const
 Get the external contributions of the problem.
 
const MatrixType & Get_External () const
 
su2double * GetSolution_time_n (unsigned long iPoint)
 Get the solution at time n.
 
MatrixType & GetSolution_time_n ()
 
su2double * GetSolution_time_n1 (unsigned long iPoint)
 Get the solution at time n-1.
 
MatrixType & GetSolution_time_n1 ()
 
void SetResidual_Old (unsigned long iPoint, const su2double *val_residual_old)
 Set the value of the old residual.
 
void AddResidual_Sum (unsigned long iPoint, const su2double *val_residual)
 Add a value to the summed residual vector.
 
void SetResidualSumZero (unsigned long iPoint)
 Set summed residual vector to zero value.
 
su2double * GetResidual_Sum (unsigned long iPoint)
 Get the value of the summed residual.
 
su2double * GetResidual_Old (unsigned long iPoint)
 Get the value of the old residual.
 
void GetResidual_Sum (unsigned long iPoint, su2double *val_residual) const
 Get the value of the summed residual.
 
void SetUnderRelaxation (unsigned long iPoint, su2double val_under_relaxation)
 Set the value of the under-relaxation parameter for the current control volume (CV).
 
su2double GetUnderRelaxation (unsigned long iPoint) const
 Get the value of the under-relaxation parameter for the current control volume (CV).
 
void SetLocalCFL (unsigned long iPoint, su2double val_cfl)
 Set the value of the local CFL number for the current control volume (CV).
 
su2double GetLocalCFL (unsigned long iPoint) const
 Get the value of the local CFL number for the current control volume (CV).
 
const MatrixType & GetAuxVar (void) const
 Get the entire Aux matrix of the problem.
 
su2double GetAuxVar (unsigned long iPoint, unsigned long iVar=0) const
 Get the Aux var value at Point i, variable j.
 
void SetAuxVar (unsigned long iPoint, unsigned long iVar, const su2double auxvar)
 Set auxiliary variables.
 
void SetAuxVarGradient (unsigned long iPoint, unsigned long iVar, unsigned long iDim, su2double value)
 Set value of auxillary gradients.
 
CVectorOfMatrix & GetAuxVarGradient (void)
 Get the gradient of the auxilary variables.
 
const CVectorOfMatrix & GetAuxVarGradient (void) const
 
su2double GetAuxVarGradient (unsigned long iPoint, unsigned long iVar, unsigned long iDim) const
 Get the value of the auxilliary gradient.
 
CMatrixView< su2double > GetAuxVarGradient (unsigned long iPoint)
 Get the value of the auxilliary gradient.
 
void AddRes_TruncError (unsigned long iPoint, const su2double *val_truncation_error)
 Add a value to the truncation error.
 
void SubtractRes_TruncError (unsigned long iPoint, const su2double *val_truncation_error)
 Subtract a value to the truncation error.
 
void SetRes_TruncErrorZero (unsigned long iPoint)
 Set the truncation error to zero.
 
void SetVal_ResTruncError_Zero (unsigned long iPoint, unsigned long iVar)
 Set the truncation error to zero.
 
virtual void SetVel_ResTruncError_Zero (unsigned long iPoint)
 Set the momentum part of the truncation error to zero.
 
void SetEnergy_ResTruncError_Zero (unsigned long iPoint)
 Set the velocity of the truncation error to zero.
 
su2double * GetResTruncError (unsigned long iPoint)
 Get the truncation error.
 
void GetResTruncError (unsigned long iPoint, su2double *val_trunc_error) const
 Get the truncation error.
 
void SetResTruncError (unsigned long iPoint, su2double *val_trunc_error)
 Set the truncation error.
 
void SetGradient (unsigned long iPoint, su2double **gradient)
 Set the gradient of the solution.
 
CVectorOfMatrix & GetGradient (void)
 Get the gradient of the entire solution.
 
const CVectorOfMatrix & GetGradient (void) const
 
CMatrixView< su2double > GetGradient (unsigned long iPoint)
 Get the value of the solution gradient.
 
su2double GetGradient (unsigned long iPoint, unsigned long iVar, unsigned long iDim) const
 Get the value of the solution gradient.
 
void AddRmatrix (unsigned long iPoint, unsigned long iDim, unsigned long jDim, su2double value)
 Add value to the Rmatrix for least squares gradient calculations.
 
su2double GetRmatrix (unsigned long iPoint, unsigned long iDim, unsigned long jDim) const
 Get the value of the Rmatrix entry for least squares gradient calculations.
 
C3DDoubleMatrix & GetRmatrix (void)
 Get the value Rmatrix for the entire domain.
 
MatrixType & GetLimiter (void)
 Get the slope limiter.
 
const MatrixType & GetLimiter (void) const
 
su2double * GetLimiter (unsigned long iPoint)
 Get the value of the slope limiter.
 
su2double GetLimiter (unsigned long iPoint, unsigned long iVar) const
 Get the value of the slope limiter.
 
MatrixType & GetSolution_Max ()
 Get the min solution.
 
const MatrixType & GetSolution_Max () const
 
MatrixType & GetSolution_Min ()
 Get the min solution.
 
const MatrixType & GetSolution_Min () const
 
void SetDelta_Time (unsigned long iPoint, su2double val_delta_time)
 Set the value of the time step.
 
su2double GetDelta_Time (unsigned long iPoint) const
 Get the value of the time step.
 
void SetMax_Lambda_Inv (unsigned long iPoint, su2double val_max_lambda)
 Set the value of the maximum eigenvalue for the inviscid terms of the PDE.
 
void SetMax_Lambda_Visc (unsigned long iPoint, su2double val_max_lambda)
 Set the value of the maximum eigenvalue for the viscous terms of the PDE.
 
void AddMax_Lambda_Inv (unsigned long iPoint, su2double val_max_lambda)
 Add a value to the maximum eigenvalue for the inviscid terms of the PDE.
 
void AddMax_Lambda_Visc (unsigned long iPoint, su2double val_max_lambda)
 Add a value to the maximum eigenvalue for the viscous terms of the PDE.
 
su2double GetMax_Lambda_Inv (unsigned long iPoint) const
 Get the value of the maximum eigenvalue for the inviscid terms of the PDE.
 
su2double GetMax_Lambda_Visc (unsigned long iPoint) const
 Get the value of the maximum eigenvalue for the viscous terms of the PDE.
 
void SetLambda (unsigned long iPoint, su2double val_lambda)
 Set the value of the spectral radius.
 
void AddLambda (unsigned long iPoint, su2double val_lambda)
 Add the value of the spectral radius.
 
su2double GetLambda (unsigned long iPoint) const
 Get the value of the spectral radius.
 
const VectorType & GetLambda () const
 
void SetSensor (unsigned long iPoint, su2double val_sensor)
 Set pressure sensor.
 
su2double GetSensor (unsigned long iPoint) const
 Get the pressure sensor.
 
const VectorType & GetSensor () const
 
void AddUnd_Lapl (unsigned long iPoint, unsigned long iVar, su2double val_und_lapl)
 Increment the value of the undivided laplacian of the solution.
 
void SetUnd_Lapl (unsigned long iPoint, unsigned long iVar, su2double val_und_lapl)
 Set a value to the undivided laplacian.
 
su2double * GetUndivided_Laplacian (unsigned long iPoint)
 Get the undivided laplacian of the solution.
 
su2double GetUndivided_Laplacian (unsigned long iPoint, unsigned long iVar) const
 Get the undivided laplacian of the solution.
 
const MatrixType & GetUndivided_Laplacian () const
 
virtual su2double GetDensity (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetDensity (unsigned long iPoint, unsigned long val_iSpecies) const
 A virtual member.
 
virtual su2double GetMassFraction (unsigned long iPoint, unsigned long val_Species) const
 A virtual member.
 
virtual su2double * GetEnthalpys (unsigned long iPoint)
 Get the species enthalpy.
 
virtual su2double GetEnergy (unsigned long iPoint) const
 A virtual member.
 
virtual su2double * GetForceProj_Vector (unsigned long iPoint)
 A virtual member.
 
virtual su2double * GetObjFuncSource (unsigned long iPoint)
 A virtual member.
 
virtual su2double GetEddyViscosity (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetEnthalpy (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetPressure (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetProjVel (unsigned long iPoint, const su2double *val_vector) const
 A virtual member.
 
virtual su2double GetSoundSpeed (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetBetaInc2 (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetTemperature (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetTemperature_ve (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetRhoCv_tr (unsigned long iPoint) const
 A virtual member – Get the mixture specific heat at constant volume (trans.-rot.).
 
virtual su2double GetRhoCv_ve (unsigned long iPoint) const
 A virtual member – Get the mixture specific heat at constant volume (vib.-el.).
 
virtual su2double GetVelocity (unsigned long iPoint, unsigned long iDim) const
 A virtual member.
 
virtual CMatrixView< const su2double > GetVelocityGradient (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetVelocity2 (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetLaminarViscosity (unsigned long iPoint) const
 A virtual member.
 
virtual su2double * GetDiffusionCoeff (unsigned long iPoint)
 A virtual member.
 
virtual su2double GetThermalConductivity (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetDiffusivity (unsigned long iPoint, unsigned short val_ivar) const
 A virtual member.
 
virtual su2double GetSpecificHeatCp (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetSpecificHeatCv (unsigned long iPoint) const
 A virtual member.
 
virtual su2double GetThermalConductivity_ve (unsigned long iPoint) const
 A virtual member.
 
virtual void SetGammaSep (unsigned long iPoint, su2double gamma_sep)
 A virtual member.
 
virtual void SetGammaEff (unsigned long iPoint)
 A virtual member.
 
virtual su2double * GetVorticity (unsigned long iPoint)
 A virtual member.
 
virtual const su2double * GetVorticity (unsigned long iPoint) const
 
virtual su2double GetStrainMag (unsigned long iPoint) const
 A virtual member.
 
virtual void SetForceProj_Vector (unsigned long iPoint, const su2double *val_ForceProj_Vector)
 A virtual member.
 
virtual void SetObjFuncSource (unsigned long iPoint, const su2double *val_SetObjFuncSource)
 A virtual member.
 
virtual su2double GetGammaBC (unsigned long iPoint) const
 A virtual member.
 
virtual void SetGammaBC (unsigned long iPoint, su2double val_gamma)
 A virtual member.
 
virtual void SetEddyViscosity (unsigned long iPoint, su2double eddy_visc)
 A virtual member.
 
virtual void SetEnthalpy (unsigned long iPoint)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, CConfig *config)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, CFluidModel *FluidModel)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, CNEMOGas *fluidmodel)
 A virtual member.
 
virtual void SetSecondaryVar (unsigned long iPoint, CFluidModel *FluidModel)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, su2double SharpEdge_Distance, bool check, CConfig *config)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, su2double eddy_visc, su2double turb_ke, CConfig *config)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, su2double eddy_visc, su2double turb_ke, CFluidModel *FluidModel)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, su2double Density_Inf, CConfig *config)
 A virtual member.
 
virtual bool SetPrimVar (unsigned long iPoint, su2double Density_Inf, su2double Viscosity_Inf, su2double eddy_visc, su2double turb_ke, CConfig *config)
 A virtual member.
 
virtual const MatrixType & GetPrimitive () const
 Get the primitive variables for all points.
 
virtual su2double GetPrimitive (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual void SetPrimitive (unsigned long iPoint, unsigned long iVar, su2double val_prim)
 A virtual member.
 
virtual void SetPrimitive (unsigned long iPoint, const su2double *val_prim)
 A virtual member.
 
virtual su2double * GetPrimitive (unsigned long iPoint)
 A virtual member.
 
virtual su2double GetSecondary (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual void SetSecondary (unsigned long iPoint, unsigned long iVar, su2double val_secondary)
 A virtual member.
 
virtual void SetSecondary (unsigned long iPoint, const su2double *val_secondary)
 A virtual member.
 
virtual void SetdPdrho_e (unsigned long iPoint, su2double dPdrho_e)
 A virtual member.
 
virtual void SetdPde_rho (unsigned long iPoint, su2double dPde_rho)
 A virtual member.
 
virtual void SetdTdrho_e (unsigned long iPoint, su2double dTdrho_e)
 A virtual member.
 
virtual void SetdTde_rho (unsigned long iPoint, su2double dTde_rho)
 A virtual member.
 
virtual void Setdmudrho_T (unsigned long iPoint, su2double dmudrho_T)
 A virtual member.
 
virtual void SetdmudT_rho (unsigned long iPoint, su2double dmudT_rho)
 A virtual member.
 
virtual void Setdktdrho_T (unsigned long iPoint, su2double dktdrho_T)
 A virtual member.
 
virtual void SetdktdT_rho (unsigned long iPoint, su2double dktdT_rho)
 A virtual member.
 
virtual su2double * GetSecondary (unsigned long iPoint)
 A virtual member.
 
virtual bool SetDensity (unsigned long iPoint, su2double val_density)
 A virtual member.
 
virtual bool SetDensity (unsigned long iPoint)
 A virtual member.
 
virtual void SetPressure (unsigned long iPoint)
 A virtual member.
 
virtual void SetVelocity (unsigned long iPoint)
 A virtual member.
 
virtual void SetBetaInc2 (unsigned long iPoint, su2double val_betainc2)
 A virtual member.
 
virtual void SetPhi_Old (unsigned long iPoint, const su2double *val_phi)
 A virtual member.
 
virtual bool SetPressure (unsigned long iPoint, su2double Gamma)
 A virtual member.
 
virtual bool SetPressure (unsigned long iPoint, CConfig *config)
 A virtual member.
 
virtual bool SetPressure (unsigned long iPoint, su2double Gamma, su2double turb_ke)
 A virtual member.
 
virtual su2double * GetdPdU (unsigned long iPoint)
 A virtual member.
 
virtual su2double * GetdTdU (unsigned long iPoint)
 A virtual member.
 
virtual su2double * GetdTvedU (unsigned long iPoint)
 A virtual member.
 
virtual bool SetSoundSpeed (unsigned long iPoint, su2double soundspeed2)
 A virtual member.
 
virtual bool SetTemperature (unsigned long iPoint, su2double Gas_Constant)
 A virtual member.
 
virtual bool SetTemperature_ve (unsigned long iPoint, su2double val_Tve)
 Sets the vibrational electronic temperature of the flow.
 
virtual bool SetTemperature (unsigned long iPoint, CConfig *config)
 A virtual member.
 
virtual void SetPrimitive (unsigned long iPoint, CConfig *config)
 A virtual member.
 
virtual void SetThermalCoeff (unsigned long iPoint, CConfig *config)
 Set the thermal coefficient.
 
virtual void SetVelocity2 (unsigned long iPoint)
 A virtual member.
 
virtual void SetVelocity_Old (unsigned long iPoint, const su2double *val_velocity)
 A virtual member.
 
virtual void SetLaminarViscosity (unsigned long iPoint, su2double laminarViscosity)
 A virtual member.
 
virtual void SetLaminarViscosity (unsigned long iPoint, CConfig *config)
 A virtual member.
 
virtual void SetThermalConductivity (unsigned long iPoint, su2double thermalConductivity)
 A virtual member.
 
virtual void SetThermalConductivity (unsigned long iPoint, CConfig *config)
 A virtual member.
 
virtual void SetSpecificHeatCp (unsigned long iPoint, su2double Cp)
 A virtual member.
 
virtual void SetSpecificHeatCv (unsigned long iPoint, su2double Cv)
 A virtual member.
 
virtual void SetVelSolutionDVector (unsigned long iPoint)
 A virtual member.
 
virtual su2double GetGradient_Primitive (unsigned long iPoint, unsigned long iVar, unsigned long iDim) const
 A virtual member.
 
virtual CVectorOfMatrix & GetGradient_Primitive ()
 Get the primitive variable gradients for all points.
 
virtual const CVectorOfMatrix & GetGradient_Primitive () const
 
virtual MatrixType & GetLimiter_Primitive ()
 Get the primitive variables limiter.
 
virtual const MatrixType & GetLimiter_Primitive () const
 
virtual su2double GetLimiter_Primitive (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual CMatrixView< su2double > GetGradient_Primitive (unsigned long iPoint, unsigned long iVar=0)
 A virtual member.
 
virtual su2double * GetLimiter_Primitive (unsigned long iPoint)
 A virtual member.
 
virtual CMatrixView< su2double > GetGradient_Reconstruction (unsigned long iPoint)
 Get the value of the primitive gradient for MUSCL reconstruction.
 
virtual CVectorOfMatrix & GetGradient_Reconstruction ()
 Get the reconstruction gradient for primitive variable at all points.
 
virtual const CVectorOfMatrix & GetGradient_Reconstruction () const
 
virtual void SetBlendingFunc (unsigned long iPoint, su2double val_viscosity, su2double val_dist, su2double val_density, TURB_TRANS_MODEL trans_model)
 Set the blending function for the blending of k-w and k-eps.
 
virtual su2double GetF1blending (unsigned long iPoint) const
 Get the first blending function of the SST model.
 
virtual su2double GetF2blending (unsigned long iPoint) const
 Get the second blending function of the SST model.
 
virtual su2double GetCrossDiff (unsigned long iPoint) const
 Get the value of the cross diffusion of tke and omega.
 
virtual su2double GetmuT (unsigned long iPoint) const
 Get the value of the eddy viscosity.
 
virtual su2double GetIntermittency (unsigned long iPoint) const
 Get the value of the intermittency.
 
virtual void SetIntermittency (unsigned long iPoint, su2double val_Intermittency)
 Set the intermittency.
 
virtual su2double GetIntermittencySep (unsigned long iPoint) const
 Get the value of the separation intermittency.
 
virtual void SetIntermittencySep (unsigned long iPoint, su2double val_Intermittency_sep)
 Set the separation intermittency (gamma_sep).
 
virtual su2double GetIntermittencyEff (unsigned long iPoint) const
 Get the value of the effective intermittency.
 
virtual void SetIntermittencyEff (unsigned long iPoint, su2double val_Intermittency_eff)
 Set the effective intermittency (gamma_eff).
 
virtual void SetmuT (unsigned long iPoint, su2double val_muT)
 Set the value of the eddy viscosity.
 
virtual void SetTurbIndex (unsigned long iPoint, su2double val_turb_index)
 Set the value of the turbulence index.
 
virtual su2double GetTurbIndex (unsigned long iPoint) const
 Get the value of the turbulence index.
 
virtual void SetHarmonicBalance_Source (unsigned long iPoint, unsigned long iVar, su2double val_source)
 A virtual member.
 
virtual su2double GetHarmonicBalance_Source (unsigned long iPoint, unsigned long iVar) const
 A virtual member.
 
virtual void SetEddyViscSens (unsigned long iPoint, const su2double *val_EddyViscSens, unsigned long numTotalVar)
 Set the Eddy Viscosity Sensitivity of the problem.
 
virtual su2double * GetEddyViscSens (unsigned long iPoint)
 Get the Eddy Viscosity Sensitivity of the problem.
 
virtual void SetSolution_Direct (unsigned long iPoint, const su2double *solution_direct)
 A virtual member. Set the direct solution for the adjoint solver.
 
virtual su2double * GetSolution_Direct (unsigned long iPoint)
 A virtual member. Get the direct solution for the adjoint solver.
 
virtual void SetGeometry_Direct (unsigned long iPoint, const su2double *val_coordinate_direct)
 A virtual member. Set the restart geometry (coordinate of the converged solution)
 
virtual su2double * GetGeometry_Direct (unsigned long iPoint)
 A virtual member. Get the restart geometry (coordinate of the converged solution).
 
virtual su2double GetGeometry_Direct (unsigned long iPoint, unsigned long iDim) const
 A virtual member. Get the restart geometry (coordinate of the converged solution).
 
virtual su2double GetSolution_Geometry (unsigned long iPoint, unsigned long iVar) const
 A virtual member. Get the geometry solution.
 
virtual void SetSolution_Geometry (unsigned long iPoint, const su2double *solution_geometry)
 A virtual member. Set the value of the mesh solution (adjoint).
 
virtual void SetSolution_Geometry (unsigned long iPoint, unsigned long iVar, su2double solution_geometry)
 A virtual member. Set the value of the mesh solution (adjoint).
 
virtual void Set_OldSolution_Geometry ()
 A virtual member. Set the value of the old geometry solution (adjoint).
 
virtual su2double Get_OldSolution_Geometry (unsigned long iPoint, unsigned long iDim) const
 A virtual member. Get the value of the old geometry solution (adjoint).
 
virtual su2double Get_BGSSolution (unsigned long iPoint, unsigned long iVar) const
 Get BGS solution to compute the BGS residual (difference between BGS and BGS_k).
 
virtual void Set_BGSSolution_k ()
 Set the value of the solution in the previous BGS subiteration.
 
virtual void Restore_BGSSolution_k ()
 Restore the previous BGS subiteration to solution.
 
virtual void Set_BGSSolution_k (unsigned long iPoint, unsigned long iVar, su2double val_var)
 Set the value of the solution in the previous BGS subiteration.
 
virtual su2double Get_BGSSolution_k (unsigned long iPoint, unsigned long iVar) const
 Get the value of the solution in the previous BGS subiteration.
 
su2double GetSolution_time_n (unsigned long iPoint, unsigned long iVar) const
 Get the solution at time n.
 
su2double GetSolution_time_n1 (unsigned long iPoint, unsigned long iVar) const
 Get the solution at time n-1.
 
virtual su2double GetMesh_Coord (unsigned long iPoint, unsigned long iDim) const
 A virtual member. Get the value of the undeformed coordinates.
 
virtual const su2double * GetMesh_Coord (unsigned long iPoint) const
 A virtual member. Get the undeformed coordinates.
 
virtual const MatrixType * GetMesh_Coord () const
 A virtual member. Get the undeformed coordinates for the entire domain.
 
virtual void SetMesh_Coord (unsigned long iPoint, unsigned long iDim, su2double val_coord)
 A virtual member. Set the value of the undeformed coordinates.
 
virtual su2double GetWallDistance (unsigned long iPoint) const
 A virtual member. Get the value of the wall distance in reference coordinates.
 
virtual void SetWallDistance (unsigned long iPoint, su2double val_dist)
 A virtual member. Set the value of the wall distance in reference coordinates.
 
virtual void Register_MeshCoord ()
 A virtual member. Register the reference coordinates of the mesh.
 
virtual void GetAdjoint_MeshCoord (unsigned long iPoint, su2double *adj_mesh)
 A virtual member. Recover the value of the adjoint of the mesh coordinates.
 
virtual su2double GetBound_Disp (unsigned long iPoint, unsigned long iDim) const
 A virtual member. Get the value of the displacement imposed at the boundary.
 
virtual su2double GetBound_Vel (unsigned long iPoint, unsigned long iDim) const
 A virtual member. Get the value of the velocity imposed at the boundary.
 
virtual void SetBound_Disp (unsigned long iPoint, const su2double *val_BoundDisp)
 A virtual member. Set the boundary displacement.
 
virtual void SetBound_Vel (unsigned long iPoint, const su2double *val_BoundVel)
 A virtual member. Set the boundary velocity.
 
virtual void SetBound_Disp (unsigned long iPoint, unsigned long iDim, const su2double val_BoundDisp)
 A virtual member. Set the boundary displacement.
 
virtual void SetBound_Vel (unsigned long iPoint, unsigned long iDim, const su2double val_BoundVel)
 A virtual member. Set the boundary velocity.
 
virtual const su2double * GetBoundDisp_Direct (unsigned long iPoint) const
 A virtual member. Get the value of the displacement imposed at the boundary.
 
virtual void SetBoundDisp_Direct (unsigned long iPoint, const su2double *val_BoundDisp)
 A virtual member. Set the solution for the boundary displacements.
 
virtual void SetBoundDisp_Sens (unsigned long iPoint, const su2double *val_sens)
 Set the value of the sensitivity with respect to the undeformed coordinates.
 
virtual su2double GetBoundDisp_Sens (unsigned long iPoint, unsigned long iDim) const
 A virtual member. Get the value of the sensitivity with respect to the undeformed coordinates.
 
virtual void Register_BoundDisp ()
 A virtual member. Register the boundary displacements of the mesh.
 
virtual void GetAdjoint_BoundDisp (unsigned long iPoint, su2double *adj_disp) const
 A virtual member. Recover the value of the adjoint of the boundary displacements.
 
void RegisterSolution (bool input)
 Register the variables in the solution array as input/output variable.
 
void RegisterSolution_time_n ()
 Register the variables in the solution_time_n array as input/output variable.
 
void RegisterSolution_time_n1 ()
 Register the variables in the solution_time_n1 array as input/output variable.
 
void RegisterUserDefinedSource ()
 Register the variables in the user defined source array as input/output variable.
 
void SetAdjointSolution (unsigned long iPoint, const su2double *adj_sol)
 Set the adjoint values of the solution.
 
void GetAdjointSolution (unsigned long iPoint, su2double *adj_sol) const
 Get the adjoint values of the solution.
 
void GetAdjointSolution_time_n (unsigned long iPoint, su2double *adj_sol) const
 
void GetAdjointSolution_time_n1 (unsigned long iPoint, su2double *adj_sol) const
 
virtual void SetSensitivity (unsigned long iPoint, unsigned long iDim, su2double val)
 Set the sensitivity at the node.
 
virtual su2double GetSensitivity (unsigned long iPoint, unsigned long iDim) const
 Get the Sensitivity at the node.
 
virtual const MatrixType & GetSensitivity () const
 
virtual void SetTau_Wall (unsigned long iPoint, su2double tau_wall)
 
virtual su2double GetTau_Wall (unsigned long iPoint) const
 
virtual void SetVortex_Tilting (unsigned long iPoint, CMatrixView< const su2double > PrimGrad_Flow, const su2double *Vorticity, su2double LaminarViscosity)
 
virtual su2double GetVortex_Tilting (unsigned long iPoint) const
 
virtual void SetStreamwise_Periodic_RecoveredPressure (unsigned long iPoint, su2double val_pressure)
 A virtual member: Set the recovered pressure for streamwise periodic flow.
 
virtual su2double GetStreamwise_Periodic_RecoveredPressure (unsigned long iPoint) const
 A virtual member: Get the recovered pressure for streamwise periodic flow.
 
virtual void SetStreamwise_Periodic_RecoveredTemperature (unsigned long iPoint, su2double val_temperature)
 A virtual member: Set the recovered temperature for streamwise periodic flow.
 
virtual su2double GetStreamwise_Periodic_RecoveredTemperature (unsigned long iPoint) const
 A virtual member: Get the recovered temperature for streamwise periodic flow.
 
virtual const su2double * GetRadiative_SourceTerm (unsigned long iPoint) const
 Virtual member: Set the Radiative source term at the node.
 
virtual void SetRadiative_SourceTerm (unsigned long iPoint, unsigned long iVar, su2double val_RadSourceTerm)
 Virtual member: Set the Radiative source term at the node.
 
virtual bool GetVol_HeatSource (unsigned long iPoint) const
 Get whether a volumetric heat source is to be introduced in point iPoint.
 
virtual void SetFlowTractionSensitivity (unsigned long iPoint, unsigned long iDim, su2double val)
 Set the FSI force sensitivity at the node.
 
virtual su2double GetFlowTractionSensitivity (unsigned long iPoint, unsigned long iDim) const
 Get the FSI force sensitivity at the node.
 
virtual void SetSourceTerm_DispAdjoint (unsigned long iPoint, unsigned long iDim, su2double val)
 Set the source term applied into the displacement adjoint coming from external solvers.
 
virtual void SetSourceTerm_VelAdjoint (unsigned long iPoint, unsigned long iDim, su2double val)
 
virtual su2double GetSourceTerm_DispAdjoint (unsigned long iPoint, unsigned long iDim) const
 Get the source term applied into the displacement adjoint coming from external solvers.
 
virtual su2double GetSourceTerm_VelAdjoint (unsigned long iPoint, unsigned long iDim) const
 
virtual void SetEntropy (unsigned long iPoint, su2double entropy)
 Set fluid entropy.
 
virtual su2double GetEntropy (unsigned long iPoint) const
 Get fluid entropy.
 
virtual void SetDataExtrapolation (unsigned long iPoint, unsigned short extrapolation)
 Set dataset extrapolation instance.
 
virtual unsigned short GetDataExtrapolation (unsigned long iPoint) const
 Get dataset extrapolation instance.
 
virtual void SetNewtonSolverIterations (unsigned long iPoint, unsigned long nIter)
 Set the number of iterations required by a Newton solver used by the fluid model.
 
virtual unsigned long GetNewtonSolverIterations (unsigned long iPoint) const
 Get the number of iterations required by a Newton solver used by the fluid model.
 
virtual void SetLookupScalar (unsigned long iPoint, su2double val_lookup_scalar, unsigned short val_ivar)
 LUT premixed flamelet: virtual functions for the speciesflameletvariable LUT.
 
virtual void SetScalarSource (unsigned long iPoint, unsigned short val_ivar, su2double val_source)
 
virtual void SetTableMisses (unsigned long iPoint, unsigned short misses)
 
virtual unsigned short GetTableMisses (unsigned long iPoint) const
 
virtual const su2double * GetScalarSources (unsigned long iPoint) const
 
virtual const su2double * GetScalarLookups (unsigned long iPoint) const
 
virtual su2double GetMomCoeff (unsigned long iPoint)
 
virtual void SetMomCoeff (unsigned long iPoint, su2double val_Mom_Coeff)
 
virtual bool GetStrongBC (unsigned long iPoint) const
 Get whether a strong boundary condition was applied to the point, which for the pressure-based solver means its momentum row was deleted and carries no A_p.
 
virtual su2double GetMomentumCorrection (unsigned long iPoint, unsigned short iDim)
 
virtual void SetMomentumCorrection (unsigned long iPoint, unsigned short iDim, su2double val_mom)
 
virtual su2double GetHbyACorrection (unsigned long iPoint, unsigned short iDim)
 
virtual void SetHbyACorrection (unsigned long iPoint, unsigned short iDim, su2double val_HbyAcorrection)
 

Protected Attributes

MatrixType FlowTraction
 Traction from the fluid field.
 
MatrixType FlowTraction_n
 Traction from the fluid field at time n.
 
MatrixType Residual_Ext_Surf
 Term of the residual due to external forces.
 
MatrixType Residual_Ext_Surf_n
 Term of the residual due to external forces at time n.
 
CVertexMap< unsigned > VertexMap
 Object that controls accesses to the variables of this class.
 
bool fsi_analysis = false
 If flow tractions are available.
 
- Protected Attributes inherited from CFEAVariable
MatrixType Stress
 Stress tensor.
 
MatrixType Residual_Ext_Body
 Term of the residual due to body forces.
 
VectorType VonMises_Stress
 Von Mises stress.
 
MatrixType Solution_Pred
 Predictor of the solution for FSI purposes.
 
MatrixType Solution_Pred_Old
 Predictor of the solution at time n for FSI purposes.
 
MatrixType Solution_Vel_Pred
 Predictor of the velocity solution for FSI purposes.
 
MatrixType Reference_Geometry
 Reference solution for optimization problems.
 
MatrixType Prestretch
 Prestretch geometry.
 
- Protected Attributes inherited from CVariable
MatrixType Solution
 Solution of the problem.
 
MatrixType Solution_Old
 Old solution of the problem R-K.
 
MatrixType UserDefinedSource
 User Defined Source of the problem.
 
MatrixType External
 External (outer) contribution in discrete adjoint multizone problems.
 
su2vector< bool > Non_Physical
 Non-physical points in the solution (force first order).
 
su2vector< unsigned short > Non_Physical_Counter
 Number of consecutive iterations that a point has been treated first-order. After a specified number of successful reconstructions, the point can be returned to second-order.
 
VectorType UnderRelaxation
 Value of the under-relaxation parameter local to the control volume.
 
VectorType LocalCFL
 Value of the CFL number local to the control volume.
 
MatrixType Solution_time_n
 Solution of the problem at time n for dual-time stepping technique.
 
MatrixType Solution_time_n1
 Solution of the problem at time n-1 for dual-time stepping technique.
 
VectorType Delta_Time
 Time step.
 
CVectorOfMatrix Gradient
 Gradient of the solution of the problem.
 
C3DDoubleMatrix Rmatrix
 Geometry-based matrix for weighted least squares gradient calculations.
 
MatrixType Limiter
 Limiter of the solution of the problem.
 
MatrixType Solution_Max
 Max solution for limiter computation.
 
MatrixType Solution_Min
 Min solution for limiter computation.
 
MatrixType AuxVar
 Auxiliary variable for gradient computation.
 
CVectorOfMatrix Grad_AuxVar
 Gradient of the auxiliary variables of the problem.
 
VectorType Max_Lambda_Inv
 Maximun inviscid eingenvalue.
 
VectorType Max_Lambda_Visc
 Maximun viscous eingenvalue.
 
VectorType Lambda
 Value of the eingenvalue.
 
VectorType Sensor
 Pressure sensor for high order central scheme and Roe dissipation.
 
MatrixType Undivided_Laplacian
 Undivided laplacian of the solution.
 
MatrixType Res_TruncError
 Truncation error for multigrid cycle.
 
MatrixType Residual_Old
 Auxiliary structure for residual smoothing.
 
MatrixType Residual_Sum
 Auxiliary structure for residual smoothing.
 
MatrixType Solution_BGS_k
 Old solution container for BGS iterations.
 
su2matrix< AD::Identifier > AD_InputIndex
 Indices of Solution variables in the adjoint vector before solver iteration.
 
su2matrix< AD::Identifier > AD_OutputIndex
 Indices of Solution variables in the adjoint vector after solver iteration.
 
VectorType SolutionExtra
 Stores adjoint solution for extra solution variables. Currently only streamwise periodic pressure-drop for massflow prescribed flows.
 
VectorType ExternalExtra
 External storage for the adjoint value (i.e. for the OF mainly.
 
VectorType SolutionExtra_BGS_k
 Intermediate storage, enables cross term extraction as that is also pushed to Solution.
 
unsigned long nPoint = 0
 Number of points in the domain.
 
unsigned long nDim = 0
 Number of dimension of the problem.
 
unsigned long nVar = 0
 Number of variables of the problem.
 
unsigned long nPrimVar = 0
 Number of primitive variables.
 
unsigned long nPrimVarGrad = 0
 Number of primitives for which a gradient is computed.
 
unsigned long nSecondaryVar = 0
 Number of secondary variables.
 
unsigned long nAuxVar = 0
 Number of auxiliary variables.
 

Additional Inherited Members

- Protected Types inherited from CVariable
using VectorType = C2DContainer< unsigned long, su2double, StorageType::ColumnMajor, 64, DynamicSize, 1 >
 
using MatrixType = C2DContainer< unsigned long, su2double, StorageType::RowMajor, 64, DynamicSize, DynamicSize >
 
- Protected Member Functions inherited from CFEAVariable
su2double & Solution_Vel (unsigned long iPoint, unsigned long iVar)
 Wrappers to solution to access velocity and acceleration by name.
 
const su2double & Solution_Vel (unsigned long iPoint, unsigned long iVar) const
 
su2double & Solution_Accel (unsigned long iPoint, unsigned long iVar)
 
const su2double & Solution_Accel (unsigned long iPoint, unsigned long iVar) const
 
su2double & Solution_Vel_time_n (unsigned long iPoint, unsigned long iVar)
 
const su2double & Solution_Vel_time_n (unsigned long iPoint, unsigned long iVar) const
 
su2double & Solution_Accel_time_n (unsigned long iPoint, unsigned long iVar)
 
const su2double & Solution_Accel_time_n (unsigned long iPoint, unsigned long iVar) const
 
 CFEAVariable (const su2double *val_fea, unsigned long npoint, unsigned long ndim, unsigned long nvar, CConfig *config)
 Constructor of the class.
 
- Protected Member Functions inherited from CVariable
 CVariable ()=default
 
void RegisterContainer (bool input, su2activematrix &variable, su2matrix< AD::Identifier > *ad_index=nullptr)
 
void RegisterContainer (bool input, su2activematrix &variable, su2matrix< AD::Identifier > &ad_index)
 
void RegisterContainer (bool input, su2activevector &variable, su2vector< AD::Identifier > *ad_index=nullptr)
 
- Static Protected Member Functions inherited from CVariable
static void AssertOverride ()
 
- Static Protected Attributes inherited from CVariable
static const VectorType EmptyVector {}
 

Detailed Description

Class that adds storage of boundary variables (tractions) to CFEAVariable.

Note
Member variables are allocated only for points marked as "vertex" i.e. on a boundary. A map is constructed so that variables can be referenced by iPoint instead of iVertex.
Author
R. Sanchez.
Version
8.5.0 "Harrier"

Constructor & Destructor Documentation

◆ CFEABoundVariable()

CFEABoundVariable::CFEABoundVariable ( const su2double *  val_fea,
unsigned long  npoint,
unsigned long  ndim,
unsigned long  nvar,
CConfig *  config 
)

Constructor of the class.

Parameters
[in]val_fea- Values of the fea solution (initialization value).
[in]npoint- Number of points/nodes/vertices in the domain.
[in]ndim- Number of dimensions of the problem.
[in]nvar- Number of variables of the problem.
[in]config- Definition of the particular problem.

◆ ~CFEABoundVariable()

CFEABoundVariable::~CFEABoundVariable ( )
overridedefault

Destructor of the class.

Member Function Documentation

◆ Add_FlowTraction()

void CFEABoundVariable::Add_FlowTraction ( unsigned long  iPoint,
const su2double *  val_flowTraction 
)
inlineoverridevirtual

Add a value to the flow traction at a node on the structural side.

Reimplemented from CVariable.

◆ Add_SurfaceLoad_Res()

void CFEABoundVariable::Add_SurfaceLoad_Res ( unsigned long  iPoint,
const su2double *  val_surfForce 
)
inlineoverridevirtual

Add surface load to the residual term.

Reimplemented from CVariable.

◆ AllocateBoundaryVariables()

void CFEABoundVariable::AllocateBoundaryVariables ( CConfig *  config)

Allocate member variables for points marked as vertex (via "Set_isVertex").

Parameters
[in]config- Definition of the particular problem.

◆ Clear_SurfaceLoad_Res()

void CFEABoundVariable::Clear_SurfaceLoad_Res ( )
inlineoverridevirtual

Clear the surface load residual.

Reimplemented from CVariable.

◆ ExtractFlowTractionSensitivity()

su2double CFEABoundVariable::ExtractFlowTractionSensitivity ( unsigned long  iPoint,
unsigned long  iDim 
) const
inlineoverridevirtual

Extract the flow traction derivatives.

Reimplemented from CVariable.

◆ Get_FlowTraction()

su2double CFEABoundVariable::Get_FlowTraction ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlineoverridevirtual

Get the residual term due to the flow traction.

Reimplemented from CVariable.

◆ Get_FlowTraction_n()

su2double CFEABoundVariable::Get_FlowTraction_n ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlineoverridevirtual

Retrieve the value of the flow traction from the previous time step.

Reimplemented from CVariable.

◆ Get_isVertex()

bool CFEABoundVariable::Get_isVertex ( unsigned long  iPoint) const
inlineoverridevirtual

Get whether a node is on the boundary.

Reimplemented from CVariable.

◆ Get_SurfaceLoad_Res()

su2double CFEABoundVariable::Get_SurfaceLoad_Res ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlineoverridevirtual

Get the residual term due to surface load.

Reimplemented from CVariable.

◆ Get_SurfaceLoad_Res_n()

su2double CFEABoundVariable::Get_SurfaceLoad_Res_n ( unsigned long  iPoint,
unsigned long  iVar 
) const
inlineoverridevirtual

Get the surface load from the previous time step.

Reimplemented from CVariable.

◆ RegisterFlowTraction()

void CFEABoundVariable::RegisterFlowTraction ( bool  reset)
overridevirtual

Register the flow tractions as input variable.

Reimplemented from CVariable.

◆ Set_FlowTraction()

void CFEABoundVariable::Set_FlowTraction ( unsigned long  iPoint,
const su2double *  val_flowTraction 
)
inlineoverridevirtual

Set the flow traction at a node on the structural side.

Reimplemented from CVariable.

◆ Set_FlowTraction_n()

void CFEABoundVariable::Set_FlowTraction_n ( )
overridevirtual

Set the value of the flow traction at the previous time step.

Reimplemented from CVariable.

◆ Set_isVertex()

void CFEABoundVariable::Set_isVertex ( unsigned long  iPoint,
bool  isVertex 
)
inlineoverridevirtual

Set whether a node is on the boundary.

Reimplemented from CVariable.

◆ Set_SurfaceLoad_Res_n()

void CFEABoundVariable::Set_SurfaceLoad_Res_n ( )
overridevirtual

Store the surface load as the load for the previous time step.

Reimplemented from CVariable.

Member Data Documentation

◆ FlowTraction

MatrixType CFEABoundVariable::FlowTraction
protected

Traction from the fluid field.

◆ FlowTraction_n

MatrixType CFEABoundVariable::FlowTraction_n
protected

Traction from the fluid field at time n.

◆ fsi_analysis

bool CFEABoundVariable::fsi_analysis = false
protected

If flow tractions are available.

◆ Residual_Ext_Surf

MatrixType CFEABoundVariable::Residual_Ext_Surf
protected

Term of the residual due to external forces.

◆ Residual_Ext_Surf_n

MatrixType CFEABoundVariable::Residual_Ext_Surf_n
protected

Term of the residual due to external forces at time n.

◆ VertexMap

CVertexMap<unsigned> CFEABoundVariable::VertexMap
protected

Object that controls accesses to the variables of this class.


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