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

Odd mapFields issue/question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2015, 11:49
Default Odd mapFields issue/question
  #1
Member
 
Join Date: Apr 2011
Posts: 57
Rep Power: 15
amanbearpig is on a distinguished road
Hello, I'm trying to use mapFields to map a solution from the center of a domain to an inlet. I've run a RANS case, copied the data to a new folder, moved the points in the mesh (to align the ~center of the mesh with my new inlet boundary), and then ran mapFields to map the results. This works OK, I do not get any errors, and my data has been mapped and the variable files have been altered (U, k, omega, etc...).

However, when I went to check that everything was mapped correctly, I found an odd problem (which I am not sure why it happened, if it is somehow intended or is related to an error I unwittingly made).

Looking at the velocity profile from the original plane (where the data is mapped from) and comparing it to the plane it was mapped to, there is a difference. (See attached image of U+ vs y+) Also, the mesh is exactly the same, so there should be no interpolation issues that I can think of.

The reason for this difference is apparent when I look at the data itself, the velocity profile data maps correctly for every point except the one closest to the wall!

The velocity normal from the wall appears as follows:

Code:
Profile pre-MapFields
0.022711
0.052292
0.090609
0.13256
and so on...
 
Profile post-MapFields
0.017012
0.052291
0.090607
0.132557
and so on...
There is the slightest difference in the velocities in each of the points, but the difference is negligible, except in the first cell off the wall.

Why is this occurring? Am I doing something incorrectly? Is this somehow intended? Thank you!
Attached Images
File Type: jpg Pre-Post-MappedInlet_comparison.jpg (55.0 KB, 6 views)
amanbearpig 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
Issues with mapFields BlackBoatNavArch OpenFOAM Pre-Processing 38 May 28, 2021 16:29
Strange random behaviour of mapFields blaise OpenFOAM Pre-Processing 0 November 3, 2014 09:37
The -parallel parameter of mapFields utility in OpenFOAM v2.3.0 shuoxue OpenFOAM Pre-Processing 1 April 28, 2014 05:59
Zero Pressure with mapFields ignacio OpenFOAM Running, Solving & CFD 0 May 24, 2013 09:43
transientSimpleDyMFoam, mapFields and decomposePar pad OpenFOAM Running, Solving & CFD 0 December 3, 2010 05:22


All times are GMT -4. The time now is 11:20.