Nektar++
Loading...
Searching...
No Matches
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.
 
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.
 
SOLVER_UTILS_EXPORT void GetPressure (const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &pressure)
 Extract array with pressure from physfield.
 
SOLVER_UTILS_EXPORT void SetMovingFrameVelocities (const Array< OneD, NekDouble > &vFrameVels)
 
SOLVER_UTILS_EXPORT bool GetMovingFrameVelocities (Array< OneD, NekDouble > &vFrameVels)
 
SOLVER_UTILS_EXPORT void SetMovingFrameDisp (const Array< OneD, NekDouble > &vFrameDisp)
 
SOLVER_UTILS_EXPORT bool GetMovingFrameDisp (Array< OneD, NekDouble > &vFrameDisp)
 
SOLVER_UTILS_EXPORT void SetMovingFramePivot (const Array< OneD, NekDouble > &vFramePivot)
 
SOLVER_UTILS_EXPORT void GetMovingFramePivot (Array< OneD, NekDouble > &vFramePivot)
 
SOLVER_UTILS_EXPORT void SetMovableDoFs (const std::set< int > &dirDoFs)
 
SOLVER_UTILS_EXPORT void GetMovableDoFs (std::set< int > &dirDoFs)
 
SOLVER_UTILS_EXPORT void SetAeroForce (Array< OneD, NekDouble > forces)
 Set aerodynamic force and moment.
 
SOLVER_UTILS_EXPORT void GetAeroForce (Array< OneD, NekDouble > forces)
 Get aerodynamic force and moment.
 

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 bool v_GetMovingFrameVelocities (Array< OneD, NekDouble > &vFrameVels)
 
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameDisp (const Array< OneD, NekDouble > &vFrameDisp)
 
virtual SOLVER_UTILS_EXPORT bool v_GetMovingFrameDisp (Array< OneD, NekDouble > &vFrameDisp)
 
virtual SOLVER_UTILS_EXPORT void v_SetMovingFramePivot (const Array< OneD, NekDouble > &vFramePivot)
 
virtual SOLVER_UTILS_EXPORT void v_GetMovingFramePivot (Array< OneD, NekDouble > &vFramePivot)
 
virtual SOLVER_UTILS_EXPORT void v_SetAeroForce (Array< OneD, NekDouble > forces)
 
virtual SOLVER_UTILS_EXPORT void v_GetAeroForce (Array< OneD, NekDouble > forces)
 
virtual SOLVER_UTILS_EXPORT void v_SetMovableDoFs (const std::set< int > &dirDoFs)
 
virtual SOLVER_UTILS_EXPORT void v_GetMovableDoFs (std::set< int > &dirDoFs)
 

Detailed Description

Definition at line 48 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 250 of file FilterInterfaces.hpp.

251{
252 v_GetAeroForce(forces);
253}
virtual SOLVER_UTILS_EXPORT void v_GetAeroForce(Array< OneD, NekDouble > forces)

References v_GetAeroForce().

Referenced by Nektar::VCSFSI::InitialiseFilter(), and Nektar::VCSFSI::v_SolveSolid().

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

183{
184 v_GetDensity(physfield, density);
185}
virtual SOLVER_UTILS_EXPORT void v_GetDensity(const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &density)=0

References v_GetDensity().

◆ GetMovableDoFs()

void Nektar::SolverUtils::FluidInterface::GetMovableDoFs ( std::set< int > &  dirDoFs)
inline

Definition at line 259 of file FilterInterfaces.hpp.

260{
261 v_GetMovableDoFs(dirDoFs);
262}
virtual SOLVER_UTILS_EXPORT void v_GetMovableDoFs(std::set< int > &dirDoFs)

References v_GetMovableDoFs().

Referenced by Nektar::PressDecompVCSFSI::v_DoInitialise().

◆ GetMovingFrameDisp()

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

Definition at line 239 of file FilterInterfaces.hpp.

241{
242 return v_GetMovingFrameDisp(vFrameDisp);
243}
virtual SOLVER_UTILS_EXPORT bool v_GetMovingFrameDisp(Array< OneD, NekDouble > &vFrameDisp)

References v_GetMovingFrameDisp().

◆ GetMovingFramePivot()

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

Definition at line 233 of file FilterInterfaces.hpp.

235{
236 v_GetMovingFramePivot(vFramePivot);
237}
virtual SOLVER_UTILS_EXPORT void v_GetMovingFramePivot(Array< OneD, NekDouble > &vFramePivot)

References v_GetMovingFramePivot().

◆ GetMovingFrameVelocities()

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

Definition at line 209 of file FilterInterfaces.hpp.

211{
212 return v_GetMovingFrameVelocities(vFrameVels);
213}
virtual SOLVER_UTILS_EXPORT bool 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 190 of file FilterInterfaces.hpp.

193{
194 v_GetPressure(physfield, pressure);
195}
virtual SOLVER_UTILS_EXPORT void v_GetPressure(const Array< OneD, const Array< OneD, NekDouble > > &physfield, Array< OneD, NekDouble > &pressure)=0

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

165{
166 v_GetVelocity(physfield, velocity);
167}
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 172 of file FilterInterfaces.hpp.

173{
174 return v_HasConstantDensity();
175}
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 245 of file FilterInterfaces.hpp.

246{
247 v_SetAeroForce(forces);
248}
virtual SOLVER_UTILS_EXPORT void v_SetAeroForce(Array< OneD, NekDouble > forces)

References v_SetAeroForce().

◆ SetMovableDoFs()

void Nektar::SolverUtils::FluidInterface::SetMovableDoFs ( const std::set< int > &  dirDoFs)
inline

Definition at line 254 of file FilterInterfaces.hpp.

255{
256 v_SetMovableDoFs(dirDoFs);
257}
virtual SOLVER_UTILS_EXPORT void v_SetMovableDoFs(const std::set< int > &dirDoFs)

References v_SetMovableDoFs().

◆ SetMovingFrameDisp()

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

Definition at line 218 of file FilterInterfaces.hpp.

220{
221 v_SetMovingFrameDisp(vFrameDisp);
222}
virtual SOLVER_UTILS_EXPORT void v_SetMovingFrameDisp(const Array< OneD, NekDouble > &vFrameDisp)

References v_SetMovingFrameDisp().

◆ SetMovingFramePivot()

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

Definition at line 227 of file FilterInterfaces.hpp.

229{
230 v_SetMovingFramePivot(vFramePivot);
231}
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)
inline

Definition at line 200 of file FilterInterfaces.hpp.

202{
203 v_SetMovingFrameVelocities(vFrameVels);
204}
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 145 of file FilterInterfaces.hpp.

147 {
148 }

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_GetMovableDoFs()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_GetMovableDoFs ( std::set< int > &  dirDoFs)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 153 of file FilterInterfaces.hpp.

155 {
156 }

Referenced by GetMovableDoFs().

◆ v_GetMovingFrameDisp()

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

Reimplemented in Nektar::IncNavierStokes.

Definition at line 126 of file FilterInterfaces.hpp.

128 {
129 return false;
130 }

Referenced by GetMovingFrameDisp().

◆ v_GetMovingFramePivot()

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

Reimplemented in Nektar::IncNavierStokes.

Definition at line 135 of file FilterInterfaces.hpp.

137 {
138 }

Referenced by GetMovingFramePivot().

◆ v_GetMovingFrameVelocities()

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

Reimplemented in Nektar::IncNavierStokes.

Definition at line 117 of file FilterInterfaces.hpp.

119 {
120 return false;
121 }

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

142 {
143 }

Referenced by SetAeroForce().

◆ v_SetMovableDoFs()

virtual SOLVER_UTILS_EXPORT void Nektar::SolverUtils::FluidInterface::v_SetMovableDoFs ( const std::set< int > &  dirDoFs)
inlineprotectedvirtual

Reimplemented in Nektar::IncNavierStokes.

Definition at line 149 of file FilterInterfaces.hpp.

151 {
152 }

Referenced by SetMovableDoFs().

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

124 {
125 }

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

133 {
134 }

Referenced by SetMovingFramePivot().

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

115 {
116 }

Referenced by SetMovingFrameVelocities().