Nektar++
|
This processing module calculates the wall shear stress and adds it as an extra-field to the output file, and writes it to a surface output file. More...
#include <ProcessWSS.h>
Static Public Member Functions | |
static std::shared_ptr< Module > | create (FieldSharedPtr f) |
Creates an instance of this class. More... | |
Static Public Member Functions inherited from Nektar::FieldUtils::ProcessBoundaryExtract | |
static std::shared_ptr< Module > | create (FieldSharedPtr f) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static ModuleKey | className |
Static Public Attributes inherited from Nektar::FieldUtils::ProcessBoundaryExtract | |
static ModuleKey | className |
Protected Member Functions | |
void | v_Process (po::variables_map &vm) override |
Write mesh to output file. More... | |
std::string | v_GetModuleName () override |
std::string | v_GetModuleDescription () override |
void | GetViscosity (const Array< OneD, MultiRegions::ExpListSharedPtr > exp, const Array< OneD, Array< OneD, NekDouble > > &BndElmtdPhys, Array< OneD, NekDouble > &mu, NekDouble &lambda) |
void | GetVelocity (const Array< OneD, MultiRegions::ExpListSharedPtr > exp, const Array< OneD, Array< OneD, NekDouble > > &BndElmtdPhys, Array< OneD, Array< OneD, NekDouble > > &vel) |
Protected Member Functions inherited from Nektar::FieldUtils::ProcessBoundaryExtract | |
void | v_Process (po::variables_map &vm) override |
std::string | v_GetModuleName () override |
std::string | v_GetModuleDescription () override |
ModulePriority | v_GetModulePriority () override |
Protected Member Functions inherited from Nektar::FieldUtils::Module | |
Module () | |
virtual void | v_Process (po::variables_map &vm) |
virtual std::string | v_GetModuleName () |
virtual std::string | v_GetModuleDescription () |
virtual ModulePriority | v_GetModulePriority () |
virtual std::vector< ModuleKey > | v_GetModulePrerequisites () |
Private Attributes | |
int | m_spacedim |
Additional Inherited Members | |
Public Attributes inherited from Nektar::FieldUtils::Module | |
FieldSharedPtr | m_f |
Field object. More... | |
Protected Attributes inherited from Nektar::FieldUtils::Module | |
std::map< std::string, ConfigOption > | m_config |
List of configuration values. More... | |
std::set< std::string > | m_allowedFiles |
List of allowed file formats. More... | |
This processing module calculates the wall shear stress and adds it as an extra-field to the output file, and writes it to a surface output file.
Definition at line 47 of file ProcessWSS.h.
Nektar::FieldUtils::ProcessWSS::ProcessWSS | ( | FieldSharedPtr | f | ) |
Definition at line 52 of file ProcessWSS.cpp.
|
override |
Definition at line 56 of file ProcessWSS.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 51 of file ProcessWSS.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
protected |
Definition at line 410 of file ProcessWSS.cpp.
References ASSERTL0, Nektar::FieldUtils::Module::m_f, m_spacedim, Vmath::Vcopy(), and Vmath::Vdiv().
Referenced by v_Process().
|
protected |
Definition at line 301 of file ProcessWSS.cpp.
References ASSERTL0, Vmath::Fill(), Nektar::FieldUtils::Module::m_f, m_mu, m_rhoInf, m_spacedim, Vmath::Smul(), tinysimd::sqrt(), Vmath::Vcopy(), Vmath::Vdiv(), Vmath::Vmul(), and Vmath::Vsub().
Referenced by v_Process().
|
inlineoverrideprotectedvirtual |
Reimplemented from Nektar::FieldUtils::ProcessBoundaryExtract.
Definition at line 69 of file ProcessWSS.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from Nektar::FieldUtils::ProcessBoundaryExtract.
Definition at line 64 of file ProcessWSS.h.
|
overrideprotectedvirtual |
Write mesh to output file.
Reimplemented from Nektar::FieldUtils::ProcessBoundaryExtract.
Definition at line 60 of file ProcessWSS.cpp.
References ASSERTL0, Nektar::SpatialDomains::BoundaryConditions::GetBoundaryRegions(), GetVelocity(), GetViscosity(), Nektar::FieldUtils::Module::m_f, m_spacedim, Vmath::Neg(), Vmath::Smul(), Nektar::FieldUtils::ProcessBoundaryExtract::v_Process(), Vmath::Vadd(), Vmath::Vcopy(), Vmath::Vmul(), Vmath::Vsqrt(), Vmath::Vvtvp(), and Vmath::Zero().
|
static |
Definition at line 55 of file ProcessWSS.h.
|
private |
Definition at line 83 of file ProcessWSS.h.
Referenced by GetVelocity(), GetViscosity(), and v_Process().