fanliaokou
{
type codedFixedValue;
value uniform (0 0 0);
name IN;
code
#{
问题:....如何获得出口边界的x方向速度值x;
此边界赋值速度
const fvPatch& boundaryPatch = this->patch;
vectorField v = boundaryPatch. Cf();
forAll(boundaryPatch, faceI)
{
v[faceI] = vector (-x, 0, 0);
}
operator == (v);
}
}