36 namespace incompressible
41 fixedShearStressFvPatchVectorField::fixedShearStressFvPatchVectorField
47 fixedValueFvPatchVectorField(p, iF),
52 fixedShearStressFvPatchVectorField::fixedShearStressFvPatchVectorField
59 fixedValueFvPatchVectorField(p, iF),
66 fixedShearStressFvPatchVectorField::fixedShearStressFvPatchVectorField
74 fixedValueFvPatchVectorField(ptf, p, iF, mapper),
79 fixedShearStressFvPatchVectorField::fixedShearStressFvPatchVectorField
84 fixedValueFvPatchVectorField(ptf),
89 fixedShearStressFvPatchVectorField::fixedShearStressFvPatchVectorField
95 fixedValueFvPatchVectorField(ptf, iF),
102 void fixedShearStressFvPatchVectorField::updateCoeffs()
109 const label patchI = patch().index();
117 vector tauHat = tau0_/(
mag(tau0_) + ROOTVSMALL);
124 tauHat*(tauHat & (tau0_*(1.0/(ry*nuEffw)) + Ui));
135 fixedValueFvPatchVectorField::updateCoeffs();
139 void fixedShearStressFvPatchVectorField::write(
Ostream& os)
const
141 fixedValueFvPatchVectorField::write(os);
143 writeEntry(
"value", os);