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

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

◆ ~HighOrderOutflow()

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

Definition at line 303 of file Extrapolate.h.

304  {};

Member Data Documentation

◆ m_defVelPrimCoeff

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

Definition at line 318 of file Extrapolate.h.

◆ m_delta

NekDouble Nektar::HighOrderOutflow::m_delta

Definition at line 317 of file Extrapolate.h.

◆ m_numOutHBCPts

int Nektar::HighOrderOutflow::m_numOutHBCPts

Number of quadrature points for Outflow HOBC.

Definition at line 304 of file Extrapolate.h.

◆ m_obcAlpha1

NekDouble Nektar::HighOrderOutflow::m_obcAlpha1

Definition at line 314 of file Extrapolate.h.

◆ m_obcAlpha2

NekDouble Nektar::HighOrderOutflow::m_obcAlpha2

Definition at line 315 of file Extrapolate.h.

◆ m_obcTheta

NekDouble Nektar::HighOrderOutflow::m_obcTheta

Parameters for outflow boundary condition.

Definition at line 313 of file Extrapolate.h.

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

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

◆ m_outHBCnumber

int Nektar::HighOrderOutflow::m_outHBCnumber

Number of Outflow HOBCs.

Definition at line 310 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 330 of file Extrapolate.h.

◆ m_U0

NekDouble Nektar::HighOrderOutflow::m_U0

Definition at line 316 of file Extrapolate.h.

◆ m_UBndExp

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

Velocity boundary condition expansions on high order boundaries.

Definition at line 327 of file Extrapolate.h.

◆ m_velocityPrimCoeff

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

primitive coefficient for velocities when using convetive like OBCs

Definition at line 333 of file Extrapolate.h.