43 "Far field boundary condition of moving reference frame");
50 [[maybe_unused]]
int nbnd, [[maybe_unused]]
int spacedim,
51 [[maybe_unused]]
int bnddim)
52 :
StaticWall(pSession, pFields, cond, exp, nbnd, spacedim, bnddim)
56 for (
size_t i = 0; i <
m_bnddim; ++i)
58 if (cond[i]->GetUserDefined() ==
classname)
103 std::map<std::string, NekDouble> ¶ms)
107 if (params.find(
"Omega_x") != params.end() ||
108 params.find(
"Omega_y") != params.end() ||
109 params.find(
"Omega_z") != params.end())
134 for (
size_t k = 0; k <
m_bnddim; ++k)
148 m_BndExp[k]->GetPlane(0)->FwdTransBndConstrained(
150 m_BndExp[k]->GetPlane(0)->UpdateCoeffs());
154 m_BndExp[k]->FwdTransBndConstrained(
155 velocities[k],
m_BndExp[k]->UpdateCoeffs());
std::map< int, MultiRegions::ExpListSharedPtr > m_BndExp
Array< OneD, Array< OneD, Array< OneD, NekDouble > > > m_viscous
MultiRegions::ExpListSharedPtr m_field
int m_bnddim
bounday dimensionality
void InitialiseCoords(std::map< std::string, NekDouble > ¶ms)
void RigidBodyVelocity(Array< OneD, Array< OneD, NekDouble > > &velocities, std::map< std::string, NekDouble > ¶ms, int npts0)
MultiRegions::ExpListSharedPtr m_bndElmtExps
void AddRigidBodyAcc(Array< OneD, Array< OneD, NekDouble > > &N, std::map< std::string, NekDouble > ¶ms, int npts0)
virtual void v_Initialise(const LibUtilities::SessionReaderSharedPtr &pSession)
void SetNumPointsOnPlane0(int &npointsPlane0)
void AddVisPressureBCs(const Array< OneD, const Array< OneD, NekDouble > > &fields, Array< OneD, Array< OneD, NekDouble > > &N, std::map< std::string, NekDouble > ¶ms)
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
void v_Initialise(const LibUtilities::SessionReaderSharedPtr &pSession) override
static std::string className
MovingFrameWall(const LibUtilities::SessionReaderSharedPtr pSession, Array< OneD, MultiRegions::ExpListSharedPtr > pFields, Array< OneD, SpatialDomains::BoundaryConditionShPtr > cond, Array< OneD, MultiRegions::ExpListSharedPtr > exp, int nbnd, int spacedim, int bnddim)
void v_Update(const Array< OneD, const Array< OneD, NekDouble > > &fields, const Array< OneD, const Array< OneD, NekDouble > > &Adv, std::map< std::string, NekDouble > ¶ms) override
v_Update set correct BCs (in wavespace)
static IncBaseConditionSharedPtr create(const LibUtilities::SessionReaderSharedPtr pSession, Array< OneD, MultiRegions::ExpListSharedPtr > pFields, Array< OneD, SpatialDomains::BoundaryConditionShPtr > cond, Array< OneD, MultiRegions::ExpListSharedPtr > exp, int nbnd, int spacedim, int bnddim)
~MovingFrameWall() override
std::shared_ptr< SessionReader > SessionReaderSharedPtr
IncBCFactory & GetIncBCFactory()