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

MapFields

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By shereez234

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2016, 13:56
Default MapFields
  #1
Senior Member
 
shereez234's Avatar
 
M Sereez
Join Date: Jan 2014
Location: England
Posts: 352
Blog Entries: 1
Rep Power: 13
shereez234 is on a distinguished road
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
shereez234 is offline   Reply With Quote

Old   March 13, 2016, 08:42
Default
  #2
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 19
Artur will become famous soon enough
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
Artur is offline   Reply With Quote

Old   March 14, 2016, 06:04
Default
  #3
Senior Member
 
shereez234's Avatar
 
M Sereez
Join Date: Jan 2014
Location: England
Posts: 352
Blog Entries: 1
Rep Power: 13
shereez234 is on a distinguished road
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
Artur likes this.
shereez234 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
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


All times are GMT -4. The time now is 13:38.