CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Correct surface normal velocity?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2020, 07:19
Default Correct surface normal velocity?
  #1
Member
 
Piotr Ładyński
Join Date: Apr 2017
Posts: 55
Rep Power: 9
piotr.mecht is on a distinguished road
I wanted to create fixed normal velocity BC on a curved surface (flow outwards the domain), but matching options don't seem to behave according to their descriprion.
I use openfoam.org 7 version, and there are 2 BCs i tried to use:
surfaceNormalFixedValue
surfaceNormalUniformFixedValue

I don't think I understand what is the difference between them, but according to their description they both should provide Umagnitude*normalVector values on a given patch.


I expect fixed 1.5 m/s velocity magnitude pointed outwards the domain, but the total magnitude is much larger, because surface tangent velocity component doesn't seem to be fixed [PICTURE ATTACHMENTS]. When you look at the points on my curved surface aligned with X axis they should have zero Ux components, but they clearly don't.

My computations seem to act stable, calculation ends at ~1133 iterations.


Is there any way to fix this? I expect no tangent component or at least very small tangent component.
Attached Images
File Type: png Screen01.png (70.0 KB, 37 views)
File Type: png Screen02.png (19.9 KB, 25 views)
Attached Files
File Type: zip myCaseCopy.zip (13.1 KB, 0 views)

Last edited by piotr.mecht; March 4, 2020 at 01:53.
piotr.mecht is offline   Reply With Quote

Old   March 4, 2020, 04:17
Default
  #2
Member
 
Piotr Ładyński
Join Date: Apr 2017
Posts: 55
Rep Power: 9
piotr.mecht is on a distinguished road
I used groovyBC from swak4foam with:
Code:
type   groovyBC;
variables   "velocityMagnitude=1.5;";
valueExpression   "velocityMagnitude*normal()";
value   uniform (-1.06 -1.06 0);
It worked for me, but I'm aware that not everybody uses groovyBC.
piotr.mecht is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] snappyHexMesh error "Cannot determine normal vector from patches." lethu OpenFOAM Meshing & Mesh Conversion 1 June 3, 2020 07:49
Need help setting up chtMultiRegion OskarT OpenFOAM Pre-Processing 1 September 25, 2019 15:51
VELOCITY vs VELOCITY IN STN FRAME vs RELATIVE VELOCITY everest20 FLUENT 1 July 13, 2015 08:35
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 15:03
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 17:35.