36 #ifndef NEKTAR_SOLVERS_EXTRAPOLATE_H
37 #define NEKTAR_SOLVERS_EXTRAPOLATE_H
79 const LibUtilities::SessionReaderSharedPtr pSession,
80 Array<OneD, MultiRegions::ExpListSharedPtr> pFields,
81 MultiRegions::ExpListSharedPtr pPressure,
82 const Array<OneD, int> pVel,
87 void GenerateHOPBCMap(
const LibUtilities::SessionReaderSharedPtr& pSsession);
219 Array<OneD, MultiRegions::ExpListSharedPtr>
m_fields;
281 HighOrderOutflow(
const int numHOpts,
const int outHBCnumber,
const int curldim,
const LibUtilities::SessionReaderSharedPtr &pSession):
294 Array<OneD, MultiRegions::ExpListSharedPtr> >(curldim);
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);
300 pSession->LoadParameter(
"U0_HighOrderBC",
m_U0,1.0);
301 pSession->LoadParameter(
"Delta_HighOrderBC",
m_delta,1/20.0);
boost::shared_ptr< HighOrderOutflow > HighOrderOutflowSharedPtr
NekDouble m_obcTheta
Parameters for outflow boundary condition.
virtual ~HighOrderOutflow()
Array< OneD, Array< OneD, Array< OneD, Array< OneD, NekDouble > > > > m_outflowVelBnd
Storage for current and previous velocities along the outflow boundary.
ExtrapolateFactory & GetExtrapolateFactory()
boost::shared_ptr< TimeIntegrationWrapper > TimeIntegrationWrapperSharedPtr
boost::shared_ptr< Advection > AdvectionSharedPtr
A shared pointer to an Advection object.
Array< OneD, Array< OneD, Array< OneD, Array< OneD, NekDouble > > > > m_outflowVel
Storage for current and previous velocity fields along the outflow.
HighOrderOutflow(const int numHOpts, const int outHBCnumber, const int curldim, const LibUtilities::SessionReaderSharedPtr &pSession)
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
Array< OneD, Array< OneD, NekDouble > > m_velocityPrimCoeff
primitive coefficient for velocities when using convetive like OBCs
boost::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
LibUtilities::NekFactory< std::string, Extrapolate, const LibUtilities::SessionReaderSharedPtr &, Array< OneD, MultiRegions::ExpListSharedPtr > &, MultiRegions::ExpListSharedPtr &, const Array< OneD, int > &, const SolverUtils::AdvectionSharedPtr & > ExtrapolateFactory
boost::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object.
boost::shared_ptr< Extrapolate > ExtrapolateSharedPtr
Array< OneD, NekDouble > m_pressurePrimCoeff
primitive coefficient for pressure when using convetive like OBCs
Array< OneD, Array< OneD, MultiRegions::ExpListSharedPtr > > m_UBndExp
Velocity boundary condition expansions on high order boundaries.
boost::shared_ptr< TimeIntegrationSolution > TimeIntegrationSolutionSharedPtr
std::string m_defVelPrimCoeff[3]
int m_numOutHBCPts
Number of quadrature points for Outflow HOBC.
int m_outHBCnumber
Number of Outflow HOBCs.
Defines a callback function which evaluates the flux vector.
Provides a generic Factory class.