Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
Nektar::HighOrderOutflow Struct Reference

#include <Extrapolate.h>

Collaboration diagram for Nektar::HighOrderOutflow:
Collaboration graph
[legend]

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 279 of file Extrapolate.h.

Constructor & Destructor Documentation

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

Definition at line 281 of file Extrapolate.h.

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

281  :
282  m_numOutHBCPts(numHOpts),
283  m_outHBCnumber(outHBCnumber)
284  {
285  m_outflowVel = Array<OneD,
286  Array<OneD, Array<OneD,
287  Array<OneD, NekDouble> > > > (outHBCnumber);
288 
289  m_outflowVelBnd = Array<OneD,
290  Array<OneD, Array<OneD,
291  Array<OneD, NekDouble> > > > (outHBCnumber);
292 
293  m_UBndExp = Array<OneD,
294  Array<OneD, MultiRegions::ExpListSharedPtr> >(curldim);
295 
296  pSession->LoadParameter("OutflowBC_theta", m_obcTheta, 1.0);
297  pSession->LoadParameter("OutflowBC_alpha1", m_obcAlpha1, 0.0);
298  pSession->LoadParameter("OutflowBC_alpha2", m_obcAlpha2, 0.0);
299 
300  pSession->LoadParameter("U0_HighOrderBC", m_U0,1.0);
301  pSession->LoadParameter("Delta_HighOrderBC", m_delta,1/20.0);
302  }
NekDouble m_obcTheta
Parameters for outflow boundary condition.
Definition: Extrapolate.h:314
Array< OneD, Array< OneD, Array< OneD, Array< OneD, NekDouble > > > > m_outflowVelBnd
Storage for current and previous velocities along the outflow boundary.
Definition: Extrapolate.h:325
Array< OneD, Array< OneD, Array< OneD, Array< OneD, NekDouble > > > > m_outflowVel
Storage for current and previous velocity fields along the outflow.
Definition: Extrapolate.h:322
Array< OneD, Array< OneD, MultiRegions::ExpListSharedPtr > > m_UBndExp
Velocity boundary condition expansions on high order boundaries.
Definition: Extrapolate.h:328
int m_numOutHBCPts
Number of quadrature points for Outflow HOBC.
Definition: Extrapolate.h:305
int m_outHBCnumber
Number of Outflow HOBCs.
Definition: Extrapolate.h:311
virtual Nektar::HighOrderOutflow::~HighOrderOutflow ( )
inlinevirtual

Definition at line 304 of file Extrapolate.h.

305  {};

Member Data Documentation

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

Definition at line 319 of file Extrapolate.h.

NekDouble Nektar::HighOrderOutflow::m_delta

Definition at line 318 of file Extrapolate.h.

Referenced by HighOrderOutflow().

int Nektar::HighOrderOutflow::m_numOutHBCPts

Number of quadrature points for Outflow HOBC.

Definition at line 305 of file Extrapolate.h.

NekDouble Nektar::HighOrderOutflow::m_obcAlpha1

Definition at line 315 of file Extrapolate.h.

Referenced by HighOrderOutflow().

NekDouble Nektar::HighOrderOutflow::m_obcAlpha2

Definition at line 316 of file Extrapolate.h.

Referenced by HighOrderOutflow().

NekDouble Nektar::HighOrderOutflow::m_obcTheta

Parameters for outflow boundary condition.

Definition at line 314 of file Extrapolate.h.

Referenced by HighOrderOutflow().

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 322 of file Extrapolate.h.

Referenced by HighOrderOutflow().

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 325 of file Extrapolate.h.

Referenced by HighOrderOutflow().

int Nektar::HighOrderOutflow::m_outHBCnumber

Number of Outflow HOBCs.

Definition at line 311 of file Extrapolate.h.

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

primitive coefficient for pressure when using convetive like OBCs

Definition at line 331 of file Extrapolate.h.

NekDouble Nektar::HighOrderOutflow::m_U0

Definition at line 317 of file Extrapolate.h.

Referenced by HighOrderOutflow().

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

Velocity boundary condition expansions on high order boundaries.

Definition at line 328 of file Extrapolate.h.

Referenced by HighOrderOutflow().

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

primitive coefficient for velocities when using convetive like OBCs

Definition at line 334 of file Extrapolate.h.