|
[Sponsors] |
pressureInletUniformVelocity vs pressureInletVelocity |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Arash
Join Date: May 2017
Posts: 17
Rep Power: 8 ![]() |
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(); const Field<scalar>& magS = patch().magSf(); |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Arash
Join Date: May 2017
Posts: 17
Rep Power: 8 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
Tags |
boundaries condition |
Thread Tools | Search this Thread |
Display Modes | |
|
|