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

wallGradU does not work in OF 2.2.2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2014, 12:28
Default wallGradU does not work in OF 2.2.2
  #1
New Member
 
Lee
Join Date: Oct 2011
Posts: 15
Rep Power: 14
SKLee is on a distinguished road
Hi All,

I run utility wallGradU for cases solving by rhoCentralFoam but it generates the gradient of velocity at the wall of zero. This is wrong answer.

Can someone check this ?

Sung-Ki
SKLee is offline   Reply With Quote

Old   February 10, 2014, 16:05
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Sung-Ki,

I've taken a look into this and wallGradU works perfectly fine. The detail is that it's configured to only work on walls.

For example, if after the mesh is generated, you run this command:
Code:
patchSummary  -constant
You'll get a summary about the patches, e.g.:
Code:
wall    : top
    scalar        p        zeroGradient
    scalar        T        fixedValue
    vector        U        fixedValue

patch    : inlet
    scalar        p        fixedValue
    scalar        T        fixedValue
    vector        U        fixedValue

patch    : outlet
    scalar        p        zeroGradient
    scalar        T        zeroGradient
    vector        U        zeroGradient

symmetryPlane    : bottom
    scalar        p        symmetryPlane
    scalar        T        symmetryPlane
    vector        U        symmetryPlane

empty    : frontAndBack
    scalar        p        empty
    scalar        T        empty
    vector        U        empty
In this example, only the patch named "top" is of type wall, which means that wallGradU will only work for this patch.


In addition, when post-processing the case in ParaView, to visualize the "wallGradU" field, make sure you have loaded the patches of type "wall" in the "Mesh parts" section, as shown in the attached image.

Best regards,
Bruno
Attached Images
File Type: png Mesh parts.png (48.9 KB, 24 views)
__________________
wyldckat is offline   Reply With Quote

Old   February 12, 2014, 02:30
Default
  #3
New Member
 
Lee
Join Date: Oct 2011
Posts: 15
Rep Power: 14
SKLee is on a distinguished road
Thanks Bruno for your response. That's great.

I also have a problem with snGrad() function that I posted at

http://www.cfd-online.com/Forums/ope...heat-flux.html

I will be appreciated if you can help me to figure out it.

Sung-Ki
SKLee 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
getting (0 0 0) wallGradU value when i m probing wallGradU at some points suryawanshi_nitin OpenFOAM 1 December 9, 2013 11:36
OpenFOAM 2.2.2 source pack installation on Xubuntu 13.10 zordiack OpenFOAM Installation 1 October 26, 2013 13:08
OpenFOAM Foundation releases OpenFOAM 2.2.2 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 October 14, 2013 07:18
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 12:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 21:03


All times are GMT -4. The time now is 23:34.