CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Mapfields takes long Time! (https://www.cfd-online.com/Forums/openfoam-pre-processing/191125-mapfields-takes-long-time.html)

alinuman15 August 1, 2017 06:35

Mapfields takes long Time!
 
Dear All:-
I have successfully run a two phase flow case on Stampede with 252 processors such that it produced files with very big sizes. However, it was clear afterward that I had missed the water field setting ( just the air field had been set). Therefore, I prepared the same case again with setting the proper field and created a mapfieldsDict with an empty patchMap and cuttingPatches to map the solution. I have copied the mapfieldsDict into the source and target system files where each of target and source is located in different locations. Then, I run :-
mapFields "source Directory" -case "target Directory" -sourceTime latestTime

the terminal is still running since around 8 hours and it shows the following:-
Source time: 0.4
Target time: 0

Create meshes

Source mesh size: 11666176 Target mesh size: 11666176


Creating and mapping fields for time 0.4

Creating mesh-to-mesh addressing for region0 and region0 regions using cellVolumeWeight

Does that look normal ?
Thanks!

Antimony August 2, 2017 06:17

Hi,

You can change your mapMethod and see if that performs better. I have heard that some of them help to perform the mapping process faster.

Cheers,
Antimony

api December 7, 2018 16:08

Maybe this issue is already resolved. However, for the benefit of others I state my findings.

As of writing this, the mapFields utility does not seem to handle the typographical errors in the input dictionary.

For eg. In my target case, I had one of the entries in "nut" input dictionary as follows
("pipe_wall|gate)" as opposed to "(pipe_wall|gate)" [note the location of the double quotes is wrong]

With the above typo, mapFields continues without complaining.

So, if mapFields appears to be running for a long time, please recheck the syntax of your input files.


All times are GMT -4. The time now is 02:39.