|
[Sponsors] |
Calculating the normal Velocity on boundary Patch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 23, 2024, 14:33 |
Calculating the normal Velocity on boundary Patch
|
#1 |
New Member
hrx71
Join Date: May 2024
Posts: 6
Rep Power: 2 |
Hi Guys,
I'm quite confused about the calculation of the normal velocity on the outlet boundary patch. I have thought about two ways, both give me different results. 1) Calculate the normal Velocity via the Flux Phi (incompressible case) and divide by the face Area (since the flux is defined at the face): const auto& phip = patch().lookupPatchField<surfaceScalarField>("phi" ); scalarField uNormal= phip/patch().magSf(); 2) Calculate the normal velocity via the the velocity of the patch scalar multiplied with the normal patch vector: const auto& Up = patch().lookupPatchField<volVectorField>("U"); scalarField uNormal2 = (Up & patch().nf()); I know that the Velocity is basically calculated at the cell centers. I thought that lookupPatchField interpolates the velocity to the face, or is this wrong? I would be happy if someone could help me! Thanks in advance! Jonhrx71as |
|
May 24, 2024, 06:54 |
|
#2 |
New Member
hrx71
Join Date: May 2024
Posts: 6
Rep Power: 2 |
Is the Question clear?
|
|
Tags |
normal velocity |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
Difficulty in calculating angular velocity of Savonius turbine simulation | alfaruk | CFX | 14 | March 17, 2017 07:08 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 09:44 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |