|
[Sponsors] |
February 1, 2016, 13:56 |
MapFields
|
#1 |
Senior Member
|
Hello Foamers;
Hope every one is doing great. I am having a bit of a hard time trying to understand mapfields. Hope some one can point out the right direction or give me some information. Say for example I have a mesh and results for Angle of Attack 6 degrees, and then 7 degrees. I wanna map angle 6's results to 7 to speed up the convergence of angle 7 case. The only change in the mesh is the position change of elements due to the slight rotation. the number of elements do not change. So what is it that I need to do? Do I need a mapDict? Well, Thanks in advance guys. Regards Shereez |
|
March 13, 2016, 08:42 |
|
#2 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 19 |
mapFields uses geometric information to establish cell-to-cell connectivity between the two meshes, i.e. it will disregard the fact that the other case is at a different angle of incidence. If it's the same mesh which only gets rotated I suppose you could try to copy the fields directly, change the BC values and see if it speeds things up? It seems like an ugly hack though, probably safer to just run potentialFoam on the new case to start with. Could be worth a try though.
A |
|
March 14, 2016, 06:04 |
|
#3 |
Senior Member
|
Yeah I have been working on this for a while. Actually, You don't even need to mapFields if it is the same mesh that's getting rotated. Because the values are permanent to every cell regardless of any transformation that is brought.
It does speed up the convergenc by a good amount (initial transient bit can be avoided in Unsteady problems). Thanks for the answer Artur. Regards Shereez |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
implementation of mapFields into parallel transient case | simpomann | OpenFOAM Pre-Processing | 4 | August 2, 2016 04:41 |
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 |
mapFields problem | martyn88 | OpenFOAM | 1 | November 8, 2012 13:42 |