Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature rans io #267

Merged
merged 2 commits into from
Apr 18, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions SU2_CFD/include/solver_structure.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2081,8 +2081,8 @@ class CSolver {
* \param[in] val_vertex - Vertex of the marker <i>val_marker</i> where the coefficient is evaluated.
* \return Value of the skin friction coefficient.
*/
virtual su2double GetCSkinFriction(unsigned short val_marker, unsigned long val_vertex);
virtual su2double GetCSkinFriction(unsigned short val_marker, unsigned long val_vertex, unsigned short val_dim);

/*!
* \brief A virtual member.
* \param[in] val_marker - Surface marker where the coefficient is computed.
Expand Down Expand Up @@ -4654,7 +4654,7 @@ class CNSSolver : public CEulerSolver {
*CQ_Visc, /*!< \brief Torque coefficient (viscous contribution) for each boundary. */
*Heat_Visc, /*!< \brief Heat load (viscous contribution) for each boundary. */
*MaxHeatFlux_Visc, /*!< \brief Maximum heat flux (viscous contribution) for each boundary. */
**CSkinFriction; /*!< \brief Skin friction coefficient for each boundary and vertex. */
***CSkinFriction; /*!< \brief Skin friction coefficient for each boundary and vertex. */
su2double *ForceViscous, /*!< \brief Viscous force for each boundary. */
*MomentViscous; /*!< \brief Inviscid moment for each boundary. */
su2double AllBound_CDrag_Visc, /*!< \brief Drag coefficient (viscous contribution) for all the boundaries. */
Expand Down Expand Up @@ -4830,8 +4830,8 @@ class CNSSolver : public CEulerSolver {
* \param[in] val_vertex - Vertex of the marker <i>val_marker</i> where the coefficient is evaluated.
* \return Value of the skin friction coefficient.
*/
su2double GetCSkinFriction(unsigned short val_marker, unsigned long val_vertex);
su2double GetCSkinFriction(unsigned short val_marker, unsigned long val_vertex, unsigned short val_dim);

/*!
* \brief Get the skin friction coefficient.
* \param[in] val_marker - Surface marker where the coefficient is computed.
Expand Down
4 changes: 2 additions & 2 deletions SU2_CFD/include/solver_structure.inl
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ inline void CSolver::SetHeatFluxTarget(unsigned short val_marker, unsigned long

inline su2double *CSolver::GetCharacPrimVar(unsigned short val_marker, unsigned long val_vertex) { return 0; }

inline su2double CSolver::GetCSkinFriction(unsigned short val_marker, unsigned long val_vertex) { return 0; }
inline su2double CSolver::GetCSkinFriction(unsigned short val_marker, unsigned long val_vertex, unsigned short val_dim) { return 0; }

inline su2double CSolver::GetHeatFlux(unsigned short val_marker, unsigned long val_vertex) { return 0; }

Expand Down Expand Up @@ -1055,7 +1055,7 @@ inline su2double CNSSolver::GetAllBound_CSideForce_Visc() { return AllBound_CSid

inline su2double CNSSolver::GetAllBound_CDrag_Visc() { return AllBound_CDrag_Visc; }

inline su2double CNSSolver::GetCSkinFriction(unsigned short val_marker, unsigned long val_vertex) { return CSkinFriction[val_marker][val_vertex]; }
inline su2double CNSSolver::GetCSkinFriction(unsigned short val_marker, unsigned long val_vertex, unsigned short val_dim) { return CSkinFriction[val_marker][val_vertex][val_dim]; }

inline su2double CNSSolver::GetHeatFlux(unsigned short val_marker, unsigned long val_vertex) { return HeatFlux[val_marker][val_vertex]; }

Expand Down
Loading