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, const int step)
 
SOLVER_UTILS_EXPORT bool GetMovingFrameVelocities (Array< OneD, NekDouble > &vFrameVels, const int step)
 
SOLVER_UTILS_EXPORT void SetMovingFrameDisp (const Array< OneD, NekDouble > &vFrameDisp, const int step)
 
SOLVER_UTILS_EXPORT void SetMovingFramePivot (const Array< OneD, NekDouble > &vFramePivot)
 
SOLVER_UTILS_EXPORT bool GetMovingFrameDisp (Array< OneD, NekDouble > &vFrameDisp, const int step)
 
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, const int step)
 
virtual SOLVER_UTILS_EXPORT bool v_GetMovingFrameVelocities (Array< OneD, NekDouble > &vFrameVels, const int step)
 
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameDisp (const Array< OneD, NekDouble > &vFrameDisp, const int step)
 
virtual SOLVER_UTILS_EXPORT void v_SetMovingFramePivot (const Array< OneD, NekDouble > &vFramePivot)
 
virtual SOLVER_UTILS_EXPORT bool v_GetMovingFrameDisp (Array< OneD, NekDouble > &vFrameDisp, const int step)
 
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 228 of file FilterInterfaces.hpp.

229{
230 v_GetAeroForce(forces);
231}
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 164 of file FilterInterfaces.hpp.

167{
168 v_GetDensity(physfield, density);
169}
virtual SOLVER_UTILS_EXPORT void v_GetDensity(const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &density)=0

References v_GetDensity().

◆ GetMovingFrameDisp()

bool Nektar::SolverUtils::FluidInterface::GetMovingFrameDisp ( Array< OneD, NekDouble > &  vFrameDisp,
const int  step 
)
inline

Definition at line 217 of file FilterInterfaces.hpp.

219{
220 return v_GetMovingFrameDisp(vFrameDisp, step);
221}
virtual SOLVER_UTILS_EXPORT bool v_GetMovingFrameDisp(Array< OneD, NekDouble > &vFrameDisp, const int step)

References v_GetMovingFrameDisp().

◆ GetMovingFrameVelocities()

bool Nektar::SolverUtils::FluidInterface::GetMovingFrameVelocities ( Array< OneD, NekDouble > &  vFrameVels,
const int  step 
)
inline

Definition at line 193 of file FilterInterfaces.hpp.

195{
196 return v_GetMovingFrameVelocities(vFrameVels, step);
197}
virtual SOLVER_UTILS_EXPORT bool v_GetMovingFrameVelocities(Array< OneD, NekDouble > &vFrameVels, const int step)

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 174 of file FilterInterfaces.hpp.

177{
178 v_GetPressure(physfield, pressure);
179}
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 146 of file FilterInterfaces.hpp.

149{
150 v_GetVelocity(physfield, velocity);
151}
virtual SOLVER_UTILS_EXPORT void v_GetVelocity(const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &velocity)=0

References v_GetVelocity().

◆ HasConstantDensity()

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

Definition at line 156 of file FilterInterfaces.hpp.

157{
158 return v_HasConstantDensity();
159}
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 223 of file FilterInterfaces.hpp.

224{
225 v_SetAeroForce(forces);
226}
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,
const int  step 
)
inline

Definition at line 202 of file FilterInterfaces.hpp.

204{
205 v_SetMovingFrameDisp(vFrameDisp, step);
206}
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameDisp(const Array< OneD, NekDouble > &vFrameDisp, const int step)

References v_SetMovingFrameDisp().

◆ SetMovingFramePivot()

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

Definition at line 211 of file FilterInterfaces.hpp.

213{
214 v_SetMovingFramePivot(vFramePivot);
215}
virtual SOLVER_UTILS_EXPORT void v_SetMovingFramePivot(const Array< OneD, NekDouble > &vFramePivot)

References v_SetMovingFramePivot().

◆ SetMovingFrameVelocities()

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

Definition at line 184 of file FilterInterfaces.hpp.

186{
187 v_SetMovingFrameVelocities(vFrameVels, step);
188}
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameVelocities(const Array< OneD, NekDouble > &vFrameVels, const int step)

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 137 of file FilterInterfaces.hpp.

139 {
140 }

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 bool Nektar::SolverUtils::FluidInterface::v_GetMovingFrameDisp ( Array< OneD, NekDouble > &  vFrameDisp,
const int  step 
)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 125 of file FilterInterfaces.hpp.

128 {
129 return false;
130 }

Referenced by GetMovingFrameDisp().

◆ v_GetMovingFrameVelocities()

virtual SOLVER_UTILS_EXPORT bool Nektar::SolverUtils::FluidInterface::v_GetMovingFrameVelocities ( Array< OneD, NekDouble > &  vFrameVels,
const int  step 
)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 110 of file FilterInterfaces.hpp.

113 {
114 return false;
115 }

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 132 of file FilterInterfaces.hpp.

134 {
135 }

Referenced by SetAeroForce().

◆ v_SetMovingFrameDisp()

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

Reimplemented in Nektar::IncNavierStokes.

Definition at line 116 of file FilterInterfaces.hpp.

119 {
120 }

Referenced by SetMovingFrameDisp().

◆ v_SetMovingFramePivot()

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

Reimplemented in Nektar::IncNavierStokes.

Definition at line 121 of file FilterInterfaces.hpp.

123 {
124 }

Referenced by SetMovingFramePivot().

◆ v_SetMovingFrameVelocities()

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

Reimplemented in Nektar::IncNavierStokes.

Definition at line 105 of file FilterInterfaces.hpp.

108 {
109 }

Referenced by SetMovingFrameVelocities().