# Calculating the normal Velocity on boundary Patch

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 LinkBack Thread Tools Search this Thread Display Modes
 May 23, 2024, 13:33 Calculating the normal Velocity on boundary Patch #1 New Member   Jonas Rettig Join Date: May 2024 Posts: 3 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("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("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, 05:54 #2 New Member   Jonas Rettig Join Date: May 2024 Posts: 3 Rep Power: 2 Is the Question clear?

 May 30, 2024, 09:18 #3 Senior Member   Domenico Lahaye Join Date: Dec 2013 Posts: 751 Blog Entries: 1 Rep Power: 17 Flux phi has one (single) component of a face. The velocity vector interpolated to the face has 3 (x y and z) components.

 Tags normal velocity

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post mpeppels CFX 11 August 22, 2019 07:30 alfaruk CFX 14 March 17, 2017 06:08 karmavatar CFX 20 March 20, 2016 08:44 hinca CFX 15 January 26, 2014 17:11 Anna Tian CFX 1 June 16, 2013 06:28

All times are GMT -4. The time now is 14:08.

 Contact Us - CFD Online - Privacy Statement - Top