|
[Sponsors] |
May 14, 2015, 14:47 |
Using the mapFields utility
|
#1 |
New Member
Sofy
Join Date: Oct 2014
Posts: 6
Rep Power: 12 |
Hello,
I am running OpenFOAM 2.3.1 in an Ubuntu Linux operating system. I have run a simulation in simpleFoam and would like to run it several more times in a very similar way. It took approx. 20,000 iterations to converge, so I would like to set up a smart initial field to get a more quickly converging solution in the next runs. I was told that mapFields is a good utility to do this. However, I am new to OpenFOAM and Linux/programming, so I don't understand what I have to type to get the mapping to be applied from my source directory (which I am guessing would be the "time" directory in my converged solution with which I want to set up the new initial field in my next runs) to the target directory (which would be the "0" time step of the next run??). I saw this line: mapFields*<source*dir>*-consistent But can someone really spell this out to me with an example, like type the source and target directory names and everything? I just want to know exactly what I have to write in the Ubuntu terminal to make the transfer successful. Also, is there anything else to do for setting up the problem in the 0 directory, controlDict, etc. to make it start from the new initial field and not from the original given boundary conditions? Thank you very much for your assistance! Sofy |
|
May 14, 2015, 15:06 |
|
#2 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
hello Sofy,
In the userguide in doc/guides-a4 page U-31 the cavity tutoral mapfields is explained Hope this helps Wouter |
|
May 18, 2015, 16:54 |
|
#3 |
New Member
Sofy
Join Date: Oct 2014
Posts: 6
Rep Power: 12 |
Thank you Wouter,
So from reading, I understand that the actual command line is executed from within the target directory, and the command includes a reference to the source directory. Is this right? Thank you, Sofy |
|
Tags |
mapfields |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Something doens't work with wallHeatFlux utility or externalWallHeatFluxTemperat BC!! | zfaraday | OpenFOAM Post-Processing | 0 | February 5, 2015 17:47 |
Difficulty with mapFields utility | rnburne | OpenFOAM Pre-Processing | 0 | June 2, 2014 17:33 |
The -parallel parameter of mapFields utility in OpenFOAM v2.3.0 | shuoxue | OpenFOAM Pre-Processing | 1 | April 28, 2014 06:59 |
mapFields utility | openfoammaofnepo | OpenFOAM | 2 | June 29, 2013 17:55 |
mapFields utility | cristobal | OpenFOAM | 1 | April 1, 2010 12:09 |