Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
wallShearStressWriter Class Reference

Write wallShearStress field. More...

Inheritance diagram for wallShearStressWriter:
Inheritance graph
[legend]
Collaboration diagram for wallShearStressWriter:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("wallShearStressWriter")
 Runtime type information. More...
 
 wallShearStressWriter (const dictionary &dict)
 
virtual void write (const objectRegistry &obr)
 Write derived field. More...
 
- Public Member Functions inherited from derivedFieldWriter
virtual ~derivedFieldWriter ()
 

Static Public Attributes

static const word FIELD_NAME
 Field file name. More...
 

Private Member Functions

tmp< volSymmTensorFielddevRhoReff (const objectRegistry &obr, bool &foundField) const
 Return the effective viscous stress (laminar + turbulent). More...
 
tmp< Foam::volScalarFieldrho (const objectRegistry &obr) const
 Return rho field if it exists or rhoRef_ for incompressible rho. More...
 

Private Attributes

word UName_
 Name of velocity field. More...
 
word rhoName_
 Name of density field (optional) More...
 
scalar rhoRef_
 Reference density needed for incompressible calculations. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from derivedFieldWriter
template<class T >
static Tread (const dictionary &dict)
 Create obj if requested. More...
 
- Protected Member Functions inherited from derivedFieldWriter
 derivedFieldWriter (const dictionary &dict)
 
template<class T_Field >
void writeStatistics (const T_Field &fieldp, const word &patchName, const word &fieldName)
 Write min/max/average. More...
 

Detailed Description

Write wallShearStress field.

Source files

Definition at line 49 of file wallShearStressWriter.H.

Constructor & Destructor Documentation

◆ wallShearStressWriter()

wallShearStressWriter ( const dictionary dict)

Definition at line 101 of file wallShearStressWriter.C.

References dict, dictionary::readIfPresent(), wallShearStressWriter::rhoName_, and wallShearStressWriter::rhoRef_.

Here is the call graph for this function:

Member Function Documentation

◆ devRhoReff()

Foam::tmp< Foam::volSymmTensorField > devRhoReff ( const objectRegistry obr,
bool &  foundField 
) const
private

Return the effective viscous stress (laminar + turbulent).

Definition at line 73 of file wallShearStressWriter.C.

References objectRegistry::foundObject(), objectRegistry::lookupObject(), GeometricField::null(), turbulenceModel::propertiesName, and rho.

Here is the call graph for this function:

◆ rho()

Foam::tmp< Foam::volScalarField > rho ( const objectRegistry obr) const
private

Return rho field if it exists or rhoRef_ for incompressible rho.

Definition at line 44 of file wallShearStressWriter.C.

References Foam::dimDensity, objectRegistry::lookupObject(), mesh, wallShearStressWriter::rhoName_, wallShearStressWriter::rhoRef_, fvMesh::time(), and Time::timeName().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "wallShearStressWriter"  )

Runtime type information.

◆ write()

void write ( const objectRegistry obr)
virtual

Field Documentation

◆ UName_

word UName_
private

Name of velocity field.

Definition at line 54 of file wallShearStressWriter.H.

◆ rhoName_

word rhoName_
private

Name of density field (optional)

Definition at line 57 of file wallShearStressWriter.H.

Referenced by wallShearStressWriter::rho(), and wallShearStressWriter::wallShearStressWriter().

◆ rhoRef_

scalar rhoRef_
private

Reference density needed for incompressible calculations.

Definition at line 60 of file wallShearStressWriter.H.

Referenced by wallShearStressWriter::rho(), and wallShearStressWriter::wallShearStressWriter().

◆ FIELD_NAME

const word FIELD_NAME
static

Field file name.

Definition at line 76 of file wallShearStressWriter.H.


The documentation for this class was generated from the following files: