37 return volVectorField::null();
44 while (i > 0 && UfName(i - 2, 2) ==
"_0") i -= 2;
47 const word UfCurName = UfName(i);
48 const word Uf_0 = UfName(i, UfName.size());
50 if (UfCurName.back() !=
'f')
52 return volVectorField::null();
58 UfCurName(UfCurName.size() - 1) + Uf_0,
64 return volVectorField::null();
graph_traits< Graph >::vertices_size_type size_type
const Mesh & mesh() const
Return mesh.
Generic GeometricField class.
static word member(const word &name)
Return member (name without the extension)
static word group(const word &name)
Return group (extension part of name)
A class for handling words, derived from string.
bool isFaceVelocity(const DimensionedField< Type, surfaceMesh > &df)
Check if surfaceField is a face velocity or momentum.
const volVectorField & surfaceToVolVelocity(const surfaceVectorField &Uf)
Get the cell velocity field corresponding to a given face velocity, or a.
Return the vol-field velocity corresponding to a given surface-field velocity.