Nektar++
Public Member Functions | Protected Member Functions | List of all members
Nektar::SolverUtils::FluidInterface Class Referenceabstract

#include <FilterInterfaces.hpp>

Inheritance diagram for Nektar::SolverUtils::FluidInterface:
[legend]

Public Member Functions

virtual ~FluidInterface ()=default
 
SOLVER_UTILS_EXPORT void GetVelocity (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &velocity)
 Extract array with velocity from physfield. More...
 
SOLVER_UTILS_EXPORT bool HasConstantDensity ()
 
SOLVER_UTILS_EXPORT void GetDensity (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &density)
 Extract array with density from physfield. More...
 
SOLVER_UTILS_EXPORT void GetPressure (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &pressure)
 Extract array with pressure from physfield. More...
 
SOLVER_UTILS_EXPORT void SetMovingFrameVelocities (const Array< OneD, NekDouble > &vFrameVels)
 
SOLVER_UTILS_EXPORT void GetMovingFrameVelocities (Array< OneD, NekDouble > &vFrameVels)
 
SOLVER_UTILS_EXPORT void SetMovingFrameProjectionMat (const boost::numeric::ublas::matrix< NekDouble > &vProjMat)
 
SOLVER_UTILS_EXPORT void GetMovingFrameProjectionMat (boost::numeric::ublas::matrix< NekDouble > &vProjMat)
 
SOLVER_UTILS_EXPORT void SetMovingFrameDisp (const Array< OneD, NekDouble > &vFrameDisp)
 
SOLVER_UTILS_EXPORT void GetMovingFrameDisp (Array< OneD, NekDouble > &vFrameDisp)
 
SOLVER_UTILS_EXPORT void SetAeroForce (Array< OneD, NekDouble > forces)
 Set aerodynamic force and moment. More...
 
SOLVER_UTILS_EXPORT void GetAeroForce (Array< OneD, NekDouble > forces)
 Get aerodynamic force and moment. More...
 

Protected Member Functions

virtual SOLVER_UTILS_EXPORT void v_GetVelocity (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &velocity)=0
 
virtual SOLVER_UTILS_EXPORT bool v_HasConstantDensity ()=0
 
virtual SOLVER_UTILS_EXPORT void v_GetDensity (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &density)=0
 
virtual SOLVER_UTILS_EXPORT void v_GetPressure (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &pressure)=0
 
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameVelocities (const Array< OneD, NekDouble > &vFrameVels)
 
virtual SOLVER_UTILS_EXPORT void v_GetMovingFrameVelocities (Array< OneD, NekDouble > &vFrameVels)
 
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameProjectionMat (const boost::numeric::ublas::matrix< NekDouble > &vProjMat)
 
virtual SOLVER_UTILS_EXPORT void v_GetMovingFrameProjectionMat (boost::numeric::ublas::matrix< NekDouble > &vProjMat)
 
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameDisp (const Array< OneD, NekDouble > &vFrameDisp)
 
virtual SOLVER_UTILS_EXPORT void v_GetMovingFrameDisp (Array< OneD, NekDouble > &vFrameDisp)
 
virtual SOLVER_UTILS_EXPORT void v_SetAeroForce (Array< OneD, NekDouble > forces)
 
virtual SOLVER_UTILS_EXPORT void v_GetAeroForce (Array< OneD, NekDouble > forces)
 

Detailed Description

Definition at line 47 of file FilterInterfaces.hpp.

Constructor & Destructor Documentation

◆ ~FluidInterface()

virtual Nektar::SolverUtils::FluidInterface::~FluidInterface ( )
virtualdefault

Member Function Documentation

◆ GetAeroForce()

void Nektar::SolverUtils::FluidInterface::GetAeroForce ( Array< OneD, NekDouble forces)
inline

Get aerodynamic force and moment.

Definition at line 241 of file FilterInterfaces.hpp.

242{
243 v_GetAeroForce(forces);
244}
virtual SOLVER_UTILS_EXPORT void v_GetAeroForce(Array< OneD, NekDouble > forces)

References v_GetAeroForce().

◆ GetDensity()

void Nektar::SolverUtils::FluidInterface::GetDensity ( const Array< OneD, const Array< OneD, NekDouble > > &  physfield,
Array< OneD, NekDouble > &  density 
)
inline

Extract array with density from physfield.

Definition at line 168 of file FilterInterfaces.hpp.

171{
172 v_GetDensity(physfield, density);
173}
virtual SOLVER_UTILS_EXPORT void v_GetDensity(const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &density)=0

References v_GetDensity().

◆ GetMovingFrameDisp()

void Nektar::SolverUtils::FluidInterface::GetMovingFrameDisp ( Array< OneD, NekDouble > &  vFrameDisp)
inline

Definition at line 230 of file FilterInterfaces.hpp.

232{
233 v_GetMovingFrameDisp(vFrameDisp);
234}
virtual SOLVER_UTILS_EXPORT void v_GetMovingFrameDisp(Array< OneD, NekDouble > &vFrameDisp)

References v_GetMovingFrameDisp().

◆ GetMovingFrameProjectionMat()

void Nektar::SolverUtils::FluidInterface::GetMovingFrameProjectionMat ( boost::numeric::ublas::matrix< NekDouble > &  vProjMat)
inline

Definition at line 215 of file FilterInterfaces.hpp.

217{
219}
virtual SOLVER_UTILS_EXPORT void v_GetMovingFrameProjectionMat(boost::numeric::ublas::matrix< NekDouble > &vProjMat)

References v_GetMovingFrameProjectionMat().

◆ GetMovingFrameVelocities()

void Nektar::SolverUtils::FluidInterface::GetMovingFrameVelocities ( Array< OneD, NekDouble > &  vFrameVels)
inline

Definition at line 197 of file FilterInterfaces.hpp.

199{
200 v_GetMovingFrameVelocities(vFrameVels);
201}
virtual SOLVER_UTILS_EXPORT void v_GetMovingFrameVelocities(Array< OneD, NekDouble > &vFrameVels)

References v_GetMovingFrameVelocities().

◆ GetPressure()

void Nektar::SolverUtils::FluidInterface::GetPressure ( const Array< OneD, const Array< OneD, NekDouble > > &  physfield,
Array< OneD, NekDouble > &  pressure 
)
inline

Extract array with pressure from physfield.

Definition at line 178 of file FilterInterfaces.hpp.

181{
182 v_GetPressure(physfield, pressure);
183}
virtual SOLVER_UTILS_EXPORT void v_GetPressure(const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &pressure)=0

References CG_Iterations::pressure, and v_GetPressure().

◆ GetVelocity()

void Nektar::SolverUtils::FluidInterface::GetVelocity ( const Array< OneD, const Array< OneD, NekDouble > > &  physfield,
Array< OneD, Array< OneD, NekDouble > > &  velocity 
)
inline

Extract array with velocity from physfield.

Definition at line 150 of file FilterInterfaces.hpp.

153{
154 v_GetVelocity(physfield, velocity);
155}
virtual SOLVER_UTILS_EXPORT void v_GetVelocity(const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &velocity)=0
const std::vector< NekDouble > velocity

References v_GetVelocity(), and Nektar::MovementTests::velocity.

◆ HasConstantDensity()

bool Nektar::SolverUtils::FluidInterface::HasConstantDensity ( )
inline

Definition at line 160 of file FilterInterfaces.hpp.

161{
162 return v_HasConstantDensity();
163}
virtual SOLVER_UTILS_EXPORT bool v_HasConstantDensity()=0

References v_HasConstantDensity().

◆ SetAeroForce()

void Nektar::SolverUtils::FluidInterface::SetAeroForce ( Array< OneD, NekDouble forces)
inline

Set aerodynamic force and moment.

Definition at line 236 of file FilterInterfaces.hpp.

237{
238 v_SetAeroForce(forces);
239}
virtual SOLVER_UTILS_EXPORT void v_SetAeroForce(Array< OneD, NekDouble > forces)

References v_SetAeroForce().

◆ SetMovingFrameDisp()

void Nektar::SolverUtils::FluidInterface::SetMovingFrameDisp ( const Array< OneD, NekDouble > &  vFrameDisp)
inline

Definition at line 224 of file FilterInterfaces.hpp.

226{
227 v_SetMovingFrameDisp(vFrameDisp);
228}
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameDisp(const Array< OneD, NekDouble > &vFrameDisp)

References v_SetMovingFrameDisp().

◆ SetMovingFrameProjectionMat()

void Nektar::SolverUtils::FluidInterface::SetMovingFrameProjectionMat ( const boost::numeric::ublas::matrix< NekDouble > &  vProjMat)
inline

Definition at line 206 of file FilterInterfaces.hpp.

208{
210}
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameProjectionMat(const boost::numeric::ublas::matrix< NekDouble > &vProjMat)

References v_SetMovingFrameProjectionMat().

◆ SetMovingFrameVelocities()

void Nektar::SolverUtils::FluidInterface::SetMovingFrameVelocities ( const Array< OneD, NekDouble > &  vFrameVels)
inline

Definition at line 188 of file FilterInterfaces.hpp.

190{
191 v_SetMovingFrameVelocities(vFrameVels);
192}
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameVelocities(const Array< OneD, NekDouble > &vFrameVels)

References v_SetMovingFrameVelocities().

◆ v_GetAeroForce()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetAeroForce ( Array< OneD, NekDouble forces)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 141 of file FilterInterfaces.hpp.

143 {
144 }

Referenced by GetAeroForce().

◆ v_GetDensity()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetDensity ( const Array< OneD, const Array< OneD, NekDouble > > &  physfield,
Array< OneD, NekDouble > &  density 
)
protectedpure virtual

◆ v_GetMovingFrameDisp()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetMovingFrameDisp ( Array< OneD, NekDouble > &  vFrameDisp)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 131 of file FilterInterfaces.hpp.

133 {
134 }

Referenced by GetMovingFrameDisp().

◆ v_GetMovingFrameProjectionMat()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetMovingFrameProjectionMat ( boost::numeric::ublas::matrix< NekDouble > &  vProjMat)
inlineprotectedvirtual

Definition at line 123 of file FilterInterfaces.hpp.

125 {
126 }

Referenced by GetMovingFrameProjectionMat().

◆ v_GetMovingFrameVelocities()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetMovingFrameVelocities ( Array< OneD, NekDouble > &  vFrameVels)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 114 of file FilterInterfaces.hpp.

116 {
117 }

Referenced by GetMovingFrameVelocities().

◆ v_GetPressure()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetPressure ( const Array< OneD, const Array< OneD, NekDouble > > &  physfield,
Array< OneD, NekDouble > &  pressure 
)
protectedpure virtual

◆ v_GetVelocity()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetVelocity ( const Array< OneD, const Array< OneD, NekDouble > > &  physfield,
Array< OneD, Array< OneD, NekDouble > > &  velocity 
)
protectedpure virtual

◆ v_HasConstantDensity()

virtual SOLVER_UTILS_EXPORT bool Nektar::SolverUtils::FluidInterface::v_HasConstantDensity ( )
protectedpure virtual

◆ v_SetAeroForce()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_SetAeroForce ( Array< OneD, NekDouble forces)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 136 of file FilterInterfaces.hpp.

138 {
139 }

Referenced by SetAeroForce().

◆ v_SetMovingFrameDisp()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_SetMovingFrameDisp ( const Array< OneD, NekDouble > &  vFrameDisp)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 127 of file FilterInterfaces.hpp.

129 {
130 }

Referenced by SetMovingFrameDisp().

◆ v_SetMovingFrameProjectionMat()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_SetMovingFrameProjectionMat ( const boost::numeric::ublas::matrix< NekDouble > &  vProjMat)
inlineprotectedvirtual

Definition at line 118 of file FilterInterfaces.hpp.

121 {
122 }

Referenced by SetMovingFrameProjectionMat().

◆ v_SetMovingFrameVelocities()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_SetMovingFrameVelocities ( const Array< OneD, NekDouble > &  vFrameVels)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 110 of file FilterInterfaces.hpp.

112 {
113 }

Referenced by SetMovingFrameVelocities().