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

Setting freestream value of velocity for an 2D airfoil case using dynamic viscosity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 18, 2022, 06:41
Default Setting freestream value of velocity for an 2D airfoil case using dynamic viscosity
  #1
New Member
 
Κάντε μία επιλογή…
Join Date: Nov 2022
Posts: 4
Rep Power: 4
othonas20 is on a distinguished road
Hello Foamers!
I want to set the boundary freestream value of the velocity using the following equation:
u_oo = Re[reynolds number] * nu [dynamic viscosity] (L = 1m)
the dynamic viscosity is defined in the constant/transportProperties file. Is there a way to access its value and writing something simple as the following, in the 0/U file?

dimensions [0 1 -1 0 0 0 0];

internalField uniform ( 1. 0. 0. );


boundaryField
{
Farfield
{
type freestream;
freestreamValue $internalField*($transportModel/nu)*1e6; //Re = 1e6
}
othonas20 is offline   Reply With Quote

Reply

Tags
boundary condition u, openfoam 2206, transport properties


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
Troubleshooting - Airfoil 2D case using simpleFoam Jh97 OpenFOAM Running, Solving & CFD 0 November 27, 2020 00:57
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24
viscosity setting in compressible case csertoi_aurel FLUENT 2 April 13, 2005 14:44
flow simulation across a small fan jane luo Main CFD Forum 15 April 12, 2004 18:49
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13


All times are GMT -4. The time now is 13:42.