CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Odd mapFields issue/question (https://www.cfd-online.com/Forums/openfoam-solving/153554-odd-mapfields-issue-question.html)

amanbearpig May 28, 2015 11:49

Odd mapFields issue/question
 
1 Attachment(s)
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! :confused:

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? :o Am I doing something incorrectly? Is this somehow intended? Thank you!


All times are GMT -4. The time now is 05:31.