pressureInletUniformVelocity vs pressureInletVelocity
What is the difference between pressureInletUniformVelocity and pressureInletVelocity?
Based on the source code for the first one we have: Code:
operator==(patch().nf()*gSum(patch().Sf() & *this)/gSum(patch().magSf())); Code:
operator==(n*phip/magS); Code:
tmp<vectorField> n = patch().nf(); |
The first one applys the area averaged value of the velocities of the faces of the patch (so one value) to all faces of the patch. For each face of the patch the velocity vector is in the direction of the face normal vectors.
The second one sets different velocity values (again in the direction of the face normals) based on the calculated flux values. |
Quote:
|
All times are GMT -4. The time now is 17:01. |