Nektar++
Public Member Functions | Public Attributes | List of all members
Nektar::HighOrderOutflow Struct Reference

#include <Extrapolate.h>

Public Member Functions

 HighOrderOutflow (const int numHOpts, const int outHBCnumber, const int curldim, const LibUtilities::SessionReaderSharedPtr &pSession)
 
virtual ~HighOrderOutflow ()
 

Public Attributes

int m_numOutHBCPts
 Number of quadrature points for Outflow HOBC. More...
 
int m_outHBCnumber
 Number of Outflow HOBCs. More...
 
NekDouble m_obcTheta
 Parameters for outflow boundary condition. More...
 
NekDouble m_obcAlpha1
 
NekDouble m_obcAlpha2
 
NekDouble m_U0
 
NekDouble m_delta
 
std::string m_defVelPrimCoeff [3]
 
Array< OneD, Array< OneD, Array< OneD, Array< OneD, NekDouble > > > > m_outflowVel
 Storage for current and previous velocity fields along the outflow. More...
 
Array< OneD, Array< OneD, Array< OneD, Array< OneD, NekDouble > > > > m_outflowVelBnd
 Storage for current and previous velocities along the outflow boundary. More...
 
Array< OneD, Array< OneD, MultiRegions::ExpListSharedPtr > > m_UBndExp
 Velocity boundary condition expansions on high order boundaries. More...
 
Array< OneD, NekDoublem_pressurePrimCoeff
 primitive coefficient for pressure when using convetive like OBCs More...
 
Array< OneD, Array< OneD, NekDouble > > m_velocityPrimCoeff
 primitive coefficient for velocities when using convetive like OBCs More...
 

Detailed Description

Definition at line 267 of file Extrapolate.h.

Constructor & Destructor Documentation

◆ HighOrderOutflow()

Nektar::HighOrderOutflow::HighOrderOutflow ( const int  numHOpts,
const int  outHBCnumber,
const int  curldim,
const LibUtilities::SessionReaderSharedPtr pSession 
)
inline

Definition at line 269 of file Extrapolate.h.

272 : m_numOutHBCPts(numHOpts), m_outHBCnumber(outHBCnumber)
273 {
275 Array<OneD, Array<OneD, Array<OneD, Array<OneD, NekDouble>>>>(
276 outHBCnumber);
277
279 Array<OneD, Array<OneD, Array<OneD, Array<OneD, NekDouble>>>>(
280 outHBCnumber);
281
282 m_UBndExp =
283 Array<OneD, Array<OneD, MultiRegions::ExpListSharedPtr>>(curldim);
284
285 pSession->LoadParameter("OutflowBC_theta", m_obcTheta, 1.0);
286 pSession->LoadParameter("OutflowBC_alpha1", m_obcAlpha1, 0.0);
287 pSession->LoadParameter("OutflowBC_alpha2", m_obcAlpha2, 0.0);
288
289 pSession->LoadParameter("U0_HighOrderBC", m_U0, 1.0);
290 pSession->LoadParameter("Delta_HighOrderBC", m_delta, 1 / 20.0);
291 }
Array< OneD, Array< OneD, Array< OneD, Array< OneD, NekDouble > > > > m_outflowVel
Storage for current and previous velocity fields along the outflow.
Definition: Extrapolate.h:310
int m_outHBCnumber
Number of Outflow HOBCs.
Definition: Extrapolate.h:299
NekDouble m_obcTheta
Parameters for outflow boundary condition.
Definition: Extrapolate.h:302
Array< OneD, Array< OneD, MultiRegions::ExpListSharedPtr > > m_UBndExp
Velocity boundary condition expansions on high order boundaries.
Definition: Extrapolate.h:317
Array< OneD, Array< OneD, Array< OneD, Array< OneD, NekDouble > > > > m_outflowVelBnd
Storage for current and previous velocities along the outflow boundary.
Definition: Extrapolate.h:314
int m_numOutHBCPts
Number of quadrature points for Outflow HOBC.
Definition: Extrapolate.h:296

References m_delta, m_obcAlpha1, m_obcAlpha2, m_obcTheta, m_outflowVel, m_outflowVelBnd, m_U0, and m_UBndExp.

◆ ~HighOrderOutflow()

virtual Nektar::HighOrderOutflow::~HighOrderOutflow ( )
inlinevirtual

Definition at line 293 of file Extrapolate.h.

293{};

Member Data Documentation

◆ m_defVelPrimCoeff

std::string Nektar::HighOrderOutflow::m_defVelPrimCoeff[3]

Definition at line 307 of file Extrapolate.h.

◆ m_delta

NekDouble Nektar::HighOrderOutflow::m_delta

Definition at line 306 of file Extrapolate.h.

Referenced by HighOrderOutflow().

◆ m_numOutHBCPts

int Nektar::HighOrderOutflow::m_numOutHBCPts

Number of quadrature points for Outflow HOBC.

Definition at line 296 of file Extrapolate.h.

◆ m_obcAlpha1

NekDouble Nektar::HighOrderOutflow::m_obcAlpha1

Definition at line 303 of file Extrapolate.h.

Referenced by HighOrderOutflow().

◆ m_obcAlpha2

NekDouble Nektar::HighOrderOutflow::m_obcAlpha2

Definition at line 304 of file Extrapolate.h.

Referenced by HighOrderOutflow().

◆ m_obcTheta

NekDouble Nektar::HighOrderOutflow::m_obcTheta

Parameters for outflow boundary condition.

Definition at line 302 of file Extrapolate.h.

Referenced by HighOrderOutflow().

◆ m_outflowVel

Array<OneD, Array<OneD, Array<OneD, Array<OneD, NekDouble> > > > Nektar::HighOrderOutflow::m_outflowVel

Storage for current and previous velocity fields along the outflow.

Definition at line 310 of file Extrapolate.h.

Referenced by HighOrderOutflow().

◆ m_outflowVelBnd

Array<OneD, Array<OneD, Array<OneD, Array<OneD, NekDouble> > > > Nektar::HighOrderOutflow::m_outflowVelBnd

Storage for current and previous velocities along the outflow boundary.

Definition at line 314 of file Extrapolate.h.

Referenced by HighOrderOutflow().

◆ m_outHBCnumber

int Nektar::HighOrderOutflow::m_outHBCnumber

Number of Outflow HOBCs.

Definition at line 299 of file Extrapolate.h.

◆ m_pressurePrimCoeff

Array<OneD, NekDouble> Nektar::HighOrderOutflow::m_pressurePrimCoeff

primitive coefficient for pressure when using convetive like OBCs

Definition at line 320 of file Extrapolate.h.

◆ m_U0

NekDouble Nektar::HighOrderOutflow::m_U0

Definition at line 305 of file Extrapolate.h.

Referenced by HighOrderOutflow().

◆ m_UBndExp

Array<OneD, Array<OneD, MultiRegions::ExpListSharedPtr> > Nektar::HighOrderOutflow::m_UBndExp

Velocity boundary condition expansions on high order boundaries.

Definition at line 317 of file Extrapolate.h.

Referenced by HighOrderOutflow().

◆ m_velocityPrimCoeff

Array<OneD, Array<OneD, NekDouble> > Nektar::HighOrderOutflow::m_velocityPrimCoeff

primitive coefficient for velocities when using convetive like OBCs

Definition at line 323 of file Extrapolate.h.