This boundary condition sets a user-defined shear stress constant and uniform across a given patch by using the expression: More...
Public Member Functions | |
TypeName ("fixedShearStress") | |
Runtime type information. More... | |
fixedShearStressFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
fixedShearStressFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
fixedShearStressFvPatchVectorField (const fixedShearStressFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
fixedShearStressFvPatchVectorField (const fixedShearStressFvPatchVectorField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone. More... | |
fixedShearStressFvPatchVectorField (const fixedShearStressFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
This boundary condition sets a user-defined shear stress constant and uniform across a given patch by using the expression:
\[ tau_0 = -\nu_{eff} \frac{dU}{dn} \]
<patchName> { // Mandatory entries type fixedShearStress; tau <vector>; // Inherited entries ... }
where the entries mean:
Property | Description | Type | Reqd | Deflt |
---|---|---|---|---|
type | Type name: fixedShearStress | word | yes | - |
tau | Shear stress | vector | yes | - |
The inherited entries are elaborated in:
Definition at line 102 of file fixedShearStressFvPatchVectorField.H.
fixedShearStressFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 38 of file fixedShearStressFvPatchVectorField.C.
fixedShearStressFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 49 of file fixedShearStressFvPatchVectorField.C.
References fvPatchField< Type >::operator=().
fixedShearStressFvPatchVectorField | ( | const fixedShearStressFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
Definition at line 63 of file fixedShearStressFvPatchVectorField.C.
Construct as copy.
Definition at line 76 of file fixedShearStressFvPatchVectorField.C.
fixedShearStressFvPatchVectorField | ( | const fixedShearStressFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 86 of file fixedShearStressFvPatchVectorField.C.
TypeName | ( | "fixedShearStress" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 151 of file fixedShearStressFvPatchVectorField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 167 of file fixedShearStressFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 99 of file fixedShearStressFvPatchVectorField.C.
References IOobject::groupName(), Foam::mag(), turbulenceModel::nuEff(), Foam::operator==(), and turbulenceModel::propertiesName.
|
virtual |
Write.
Definition at line 129 of file fixedShearStressFvPatchVectorField.C.
References os(), ObukhovLength::write(), and Ostream::writeEntry().