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

LES: dynSmagorinsky does not match analytical y+/u+ profile

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 1, 2014, 22:01
Default
  #21
Senior Member
 
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 14
huangxianbei is on a distinguished road
Quote:
Originally Posted by aylalisa View Post
I started from this thread too but I am still looking for the reason why the result does not agree with \tau = \rho * \nu * gradU :-(
Hi, I make a further calculation and find that the two ways reach the same result. Maybe there is something wrong in my previous case.

wallShearStressLES -2.99E-006
wallGradU 2.986512890625E-006

So the magnitude is the same, however, the sign is opposite
due to
Code:
forAll(wallShearStress.boundaryField(), patchI)
    {
        wallShearStress.boundaryField()[patchI] =
        (
           -mesh.Sf().boundaryField()[patchI]
           /mesh.magSf().boundaryField()[patchI]
        ) & Beff.boundaryField()[patchI];
    }

Last edited by huangxianbei; November 2, 2014 at 08:48.
huangxianbei is offline   Reply With Quote

Old   August 31, 2016, 02:28
Default
  #22
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
Quote:
Originally Posted by huangxianbei View Post
Hi, I make a further calculation and find that the two ways reach the same result. Maybe there is something wrong in my previous case.

wallShearStressLES -2.99E-006
wallGradU 2.986512890625E-006

So the magnitude is the same, however, the sign is opposite
due to
Code:
forAll(wallShearStress.boundaryField(), patchI)
    {
        wallShearStress.boundaryField()[patchI] =
        (
           -mesh.Sf().boundaryField()[patchI]
           /mesh.magSf().boundaryField()[patchI]
        ) & Beff.boundaryField()[patchI];
    }
Dear huangxianbei

How do you use the above code, in controlDict or as a postProcessing command?
I need to calculate u_tau and yplus and I want to know how I can calculate them for a LES model.

Thanks,

Elham
Elham 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
Unsteady Boundary Profile with data file Arianna FLUENT 34 July 29, 2019 17:35
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 03:01
gmsh2ToFoam sarajags_89 OpenFOAM 0 November 24, 2009 23:50
LES Near-Wall Velocity Profile Alex May FLUENT 2 June 12, 2008 13:36
What's wrong with my RMS profile in LES Jiang Ning FLUENT 0 March 31, 2005 06:30


All times are GMT -4. The time now is 21:52.