CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

mapFields & mapFieldsPar decompose cases

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2021, 11:20
Default mapFields & mapFieldsPar decompose cases
  #1
Senior Member
 
Franco
Join Date: Nov 2019
Location: Compiègne, France
Posts: 129
Rep Power: 6
otaolafr is on a distinguished road
Hello,

I am trying to recover the results of a case to apply it to the same case but with a finner mesh. to recover the different fields and interpolate them to the new mesh I wanted to use mapFields (or mapFieldsPar).

mapFields, has a strange behavior, if I use it in decomposed cases (target and source cases) with
Code:
mapFields -consistent  -parallelSource -parallelTarget -sourceTime 'latestTime' -sourceDecomposeParDict ../run_0_0_Part1/system/decomposeParDict -targetDecomposeParDict ./system/decomposeParDict ../run_0_0_Part1/
mapFields runs, it splits some warnings but no error, it finish running and when I go to the processors folders in my target case I do not get any time... like if I did nothing.

if i reconstruct each case
Code:
reconstructParMesh -constant
reconstructPar -time '1000'
and then do the mapFields it works correctly
Code:
mapFields -consistent  -sourceTime 'latestTime'
with mapFieldsPar I did not get luck in any case.... I get the following error when runing:
Code:
mapFieldsPar -consistent -fields (U p phi) -sourceTime 1000 -parallel ../run_0_0_Part1/
Quote:
new cannot satisfy memory request.
This does not necessarily mean you have run out of virtual memory.
It could be due to a stack violation caused by e.g. bad use of pointers or an out-of-date shared library

the only thing I nottice in the mapFieldsPar is that the log shows:
Code:
Source: "../run_0_0_Part1" ""
Target: "/home/0HOME_ALT/otaolafr/15.07.21" "run_0_2_Part1"
when in the case of mapFields it shows:
Code:
Source: "/0HOME_ALT/otaolafr/15.07.21/run_0_0_Part1" ""
Target: "/0HOME_ALT/otaolafr/15.07.21" "run_0_2_Part1"
otaolafr is online now   Reply With Quote

Old   August 26, 2021, 14:08
Default
  #2
Senior Member
 
Join Date: Jul 2013
Posts: 124
Rep Power: 12
wildfire230 is on a distinguished road
I'm not sure if you found the answer to this, but it does seem like mapFieldsPar uses far more memory than mapFields. I have the impression that it loads the entire mesh into memory per processor for some reason. I'm not sure if that is true.
wildfire230 is offline   Reply With Quote

Old   August 26, 2021, 14:13
Default
  #3
Senior Member
 
Franco
Join Date: Nov 2019
Location: Compiègne, France
Posts: 129
Rep Power: 6
otaolafr is on a distinguished road
Quote:
Originally Posted by wildfire230 View Post
I'm not sure if you found the answer to this, but it does seem like mapFieldsPar uses far more memory than mapFields. I have the impression that it loads the entire mesh into memory per processor for some reason. I'm not sure if that is true.
hi,
thanks for the answer, well the only solution I found, was to reconstruct the case (mesh and desired time) in the source case, (and can not remember if also for the target case too). in any case the issue was coming from the cases being decomposed.... the memory was not a problem at all in my case. it was only that it was running without errors but no time was being created....
otaolafr is online now   Reply With Quote

Reply

Tags
mapfields, mapfieldspar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
How can I compare two cases in Tecplot? yhy20081016 Tecplot 5 February 26, 2019 14:40
mapFields function lsb1292 OpenFOAM Running, Solving & CFD 2 October 29, 2017 20:06
Fluent test cases Tosbaga FLUENT 2 March 16, 2017 12:37
The -parallel parameter of mapFields utility in OpenFOAM v2.3.0 shuoxue OpenFOAM Pre-Processing 1 April 28, 2014 06:59
Standard CFD test cases? Damon Qualski Main CFD Forum 1 April 10, 2003 15:10


All times are GMT -4. The time now is 08:34.