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

decomposePar and mapFields not working as expected

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2019, 20:44
Default decomposePar and mapFields not working as expected
  #1
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 400
Rep Power: 19
quarkz is on a distinguished road
Hi,

I'm going for a low res case to a higher res case, interpolating data from the low res to the high res using mapFields.

I use:

mpirun -n 1 mapFields ../source_dir/ -consistent -sourceTime 0.0004000007

Things seems to work fine and I got the directory 0.0004000007 filled with updated variables in binary format. Previous, they were fill with variables from time = 0.

Then I use decomposePar to decompose the data.

Things ended successfully but when I check the variables inside the processor* dir, I realised that they were filled with ith variables from time = 0, not the binary data which I should be getting.

May I know why this is so? Did I make an error somewhere?

Thanks!
quarkz is offline   Reply With Quote

Old   February 15, 2019, 02:54
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


What if you try with "decomposePar -latestTime" ?
simrego is offline   Reply With Quote

Old   February 15, 2019, 08:06
Default
  #3
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 400
Rep Power: 19
quarkz is on a distinguished road
Hi simrego,

Thanks for the reply. I also tried this but strangely, it didn't work.

I tried for a smaller case and it work nicely. I wonder why.
quarkz 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
Problem with decomposePar (and mapFields) for large problem quarkz OpenFOAM Pre-Processing 2 February 21, 2019 09:51
Problems with decomposePar and mapFields Fischlurch OpenFOAM Running, Solving & CFD 2 October 7, 2016 07:51
implementation of mapFields into parallel transient case simpomann OpenFOAM Pre-Processing 4 August 2, 2016 04:41
mapFields : mpirun gives segmentation fault vanihba2000 OpenFOAM Pre-Processing 1 October 13, 2015 12:07
transientSimpleDyMFoam, mapFields and decomposePar pad OpenFOAM Running, Solving & CFD 0 December 3, 2010 05:22


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