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

Help with the calculation of dimensional wall distance

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ustam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2018, 13:11
Default Need help for the calculation of dimensional wall distance
  #1
New Member
 
ustam
Join Date: Dec 2015
Posts: 2
Rep Power: 0
ustam is on a distinguished road
Hello Foamers,

I need to calculate the dimensional wall distance for each mesh point and write that data as a scalar field into the time directories. To achieve that I have tried writing a custom functionObject, however, I failed to get something going since I am not good at object-oriented programming. If anyone tried this before, I am willing to hear your suggestions. BTW, I am using OpenFOAM v1706. Thanks.

Last edited by ustam; March 28, 2018 at 11:22.
ustam is offline   Reply With Quote

Old   March 28, 2018, 11:27
Default
  #2
New Member
 
ustam
Join Date: Dec 2015
Posts: 2
Rep Power: 0
ustam is on a distinguished road
I found a builtin tool to calculate dimensional wall-distance.

All you need to do is;
- find "applications/test/wallDist" directory,
- compile using wmake command,
- then run it in your case file.

Actually, it is even calculating the wall distance for moving mesh as well.
David* likes this.
ustam is offline   Reply With Quote

Reply

Tags
functionobject, openfoam 17.06(v2), wall distance


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
Nearest wall Distance miz_miz CFX 15 March 2, 2015 15:07
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 18:30
Dimensionless wall distance messik Main CFD Forum 4 March 15, 2014 07:55
[ICEM] Export ICEM mesh to Gambit / Fluent romekr ANSYS Meshing & Geometry 1 November 26, 2011 13:11
calculation of wall heat flux in CHT richard CFX 1 July 23, 2009 10:00


All times are GMT -4. The time now is 02:26.