125 for (
unsigned long iVar = 0; iVar <
nVar; iVar++)
146 for (
unsigned long iVar = 0; iVar <
nVar; iVar++)
Solution_Vel(iPoint,iVar) = val_solution_vel[iVar];
163 for (
unsigned long iVar = 0; iVar <
nVar; iVar++)
Solution_Vel_time_n(iPoint,iVar) = val_solution_vel_time_n[iVar];
208 for (
unsigned long iVar = 0; iVar <
nVar; iVar++)
Solution_Accel(iPoint,iVar) = val_solution_accel[iVar];
225 for (
unsigned long iVar = 0; iVar <
nVar; iVar++)
270 for (
unsigned long iVar = 0; iVar <
nVar; iVar++)
Solution_Vel_Pred(iPoint,iVar) = val_solution_pred[iVar];
278 for (
unsigned long iVar = 0; iVar <
nVar; iVar++)
Solution_Pred(iPoint,iVar) = val_solution_pred[iVar];
298 for (
unsigned long iVar = 0; iVar <
nVar; iVar++)
Solution_Pred_Old(iPoint,iVar) = val_solution_pred_old[iVar];
Declaration and inlines of the parent class for defining problem variables, function definitions in f...
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Class for defining the variables of the FEM structural problem.
Definition CFEAVariable.hpp:39
void SetSolution_Accel_time_n(unsigned long iPoint, unsigned long iVar, su2double val_solution_accel_time_n) final
Definition CFEAVariable.hpp:234
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.
Definition CFEAVariable.hpp:119
su2double GetSolution_Accel(unsigned long iPoint, unsigned long iVar) const final
Get the acceleration (Structural Analysis).
Definition CFEAVariable.hpp:243
MatrixType Reference_Geometry
Reference solution for optimization problems.
Definition CFEAVariable.hpp:52
su2double GetVonMises_Stress(unsigned long iPoint) const final
Get the value of the Von Mises stress.
Definition CFEAVariable.hpp:334
MatrixType Prestretch
Prestretch geometry.
Definition CFEAVariable.hpp:54
const su2double & Solution_Accel_time_n(unsigned long iPoint, unsigned long iVar) const
Definition CFEAVariable.hpp:80
su2double * GetSolution_Accel(unsigned long iPoint) final
Get the solution of the problem.
Definition CFEAVariable.hpp:249
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.
Definition CFEAVariable.hpp:224
const su2double & Solution_Accel(unsigned long iPoint, unsigned long iVar) const
Definition CFEAVariable.hpp:68
void Clear_BodyForces_Res(unsigned long iPoint) final
Clear the surface load residual.
Definition CFEAVariable.hpp:132
su2double * GetSolution_Accel_time_n(unsigned long iPoint) final
Get the solution at time n.
Definition CFEAVariable.hpp:264
const su2double * GetPrestretch(unsigned long iPoint) const final
A virtual member.
Definition CFEAVariable.hpp:317
su2double & Solution_Vel(unsigned long iPoint, unsigned long iVar)
Wrappers to solution to access velocity and acceleration by name.
Definition CFEAVariable.hpp:59
MatrixType Solution_Pred_Old
Predictor of the solution at time n for FSI purposes.
Definition CFEAVariable.hpp:49
su2double * GetSolution_Vel_time_n(unsigned long iPoint) final
Get the solution at time n.
Definition CFEAVariable.hpp:201
const su2double * GetSolution_Vel_Pred(unsigned long iPoint) const final
Get the velocity solution.
Definition CFEAVariable.hpp:285
VectorType VonMises_Stress
Von Mises stress.
Definition CFEAVariable.hpp:46
void SetSolution_Accel(unsigned long iPoint, const su2double *val_solution_accel) final
Set the value of the acceleration (Structural Analysis).
Definition CFEAVariable.hpp:207
su2double Get_BodyForces_Res(unsigned long iPoint, unsigned long iVar) const final
Get the body forces.
Definition CFEAVariable.hpp:139
void SetStress_FEM(unsigned long iPoint, unsigned long iVar, su2double val_stress) final
Set the value of the stress at the node.
Definition CFEAVariable.hpp:112
void SetSolution_Accel(unsigned long iPoint, unsigned long iVar, su2double val_solution_accel) final
Definition CFEAVariable.hpp:216
void SetSolution_Pred(unsigned long iPoint, const su2double *val_solution_pred) final
Set the value of the old solution.
Definition CFEAVariable.hpp:277
const su2double & Solution_Vel(unsigned long iPoint, unsigned long iVar) const
Definition CFEAVariable.hpp:62
su2double & Solution_Accel_time_n(unsigned long iPoint, unsigned long iVar)
Definition CFEAVariable.hpp:77
su2double * GetSolution_Vel(unsigned long iPoint) final
Get the solution of the problem.
Definition CFEAVariable.hpp:186
su2double GetSolution_Vel(unsigned long iPoint, unsigned long iVar) const final
Get the velocity (Structural Analysis).
Definition CFEAVariable.hpp:180
su2double & Solution_Vel_time_n(unsigned long iPoint, unsigned long iVar)
Definition CFEAVariable.hpp:71
MatrixType Residual_Ext_Body
Term of the residual due to body forces.
Definition CFEAVariable.hpp:44
MatrixType Solution_Pred
Predictor of the solution for FSI purposes.
Definition CFEAVariable.hpp:48
MatrixType Solution_Vel_Pred
Predictor of the velocity solution for FSI purposes.
Definition CFEAVariable.hpp:50
MatrixType Stress
Stress tensor.
Definition CFEAVariable.hpp:42
su2double GetSolution_Accel_time_n(unsigned long iPoint, unsigned long iVar) const final
Get the acceleration of the nodes (Structural Analysis) at time n.
Definition CFEAVariable.hpp:256
const su2double * GetStress_FEM(unsigned long iPoint) const final
Get the value of the stress.
Definition CFEAVariable.hpp:105
void SetSolution_Vel_Pred(unsigned long iPoint, const su2double *val_solution_pred) final
Set the value of the solution velocity predictor.
Definition CFEAVariable.hpp:269
const su2double & Solution_Vel_time_n(unsigned long iPoint, unsigned long iVar) const
Definition CFEAVariable.hpp:74
void SetVonMises_Stress(unsigned long iPoint, su2double val_stress) final
Set the value of the Von Mises stress.
Definition CFEAVariable.hpp:328
void SetSolution_Vel(unsigned long iPoint, unsigned long iVar, su2double val_solution_vel) final
Definition CFEAVariable.hpp:154
void SetSolution_Pred_Old(unsigned long iPoint, const su2double *val_solution_pred_old) final
Set the value of the old solution.
Definition CFEAVariable.hpp:297
void SetSolution_Vel_time_n(unsigned long iPoint, unsigned long iVar, su2double val_solution_vel_time_n) final
Definition CFEAVariable.hpp:171
const su2double * GetSolution_Pred(unsigned long iPoint) const final
Get the solution at time n.
Definition CFEAVariable.hpp:291
~CFEAVariable() override=default
Destructor of the class.
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.
Definition CFEAVariable.hpp:162
su2double GetPrestretch(unsigned long iPoint, unsigned long iVar) const final
A virtual member.
Definition CFEAVariable.hpp:322
const su2double * GetSolution_Pred_Old(unsigned long iPoint) const final
Get the solution at time n.
Definition CFEAVariable.hpp:305
const su2double * GetReference_Geometry(unsigned long iPoint) const final
Get the pointer to the reference geometry.
Definition CFEAVariable.hpp:347
void SetPrestretch(unsigned long iPoint, unsigned long iVar, su2double val_prestretch) final
A virtual member.
Definition CFEAVariable.hpp:310
su2double GetSolution_Vel_time_n(unsigned long iPoint, unsigned long iVar) const final
Get the velocity of the nodes (Structural Analysis) at time n.
Definition CFEAVariable.hpp:193
void SetReference_Geometry(unsigned long iPoint, unsigned long iVar, su2double ref_geometry) final
Set the reference geometry.
Definition CFEAVariable.hpp:340
su2double & Solution_Accel(unsigned long iPoint, unsigned long iVar)
Definition CFEAVariable.hpp:65
void SetSolution_Vel(unsigned long iPoint, const su2double *val_solution_vel) final
Set the value of the velocity (Structural Analysis).
Definition CFEAVariable.hpp:145
void Add_BodyForces_Res(unsigned long iPoint, const su2double *val_bodyForce) final
Add body forces to the residual term.
Definition CFEAVariable.hpp:124
Main class for defining the variables.
Definition CVariable.hpp:50
MatrixType Solution
Solution of the problem.
Definition CVariable.hpp:55
MatrixType Solution_time_n
Solution of the problem at time n for dual-time stepping technique.
Definition CVariable.hpp:70
unsigned long nVar
Number of variables of the problem.
Definition CVariable.hpp:108
#define FORCEINLINE
Definition code_config.hpp:44
passivedouble su2double
Definition code_config.hpp:181