CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

mapFields ignores sourceTime for -parallel source

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 2, 2009, 01:51
Default mapFields ignores sourceTime for -parallel source
  #1
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 81
Rep Power: 8
andersking is on a distinguished road
Hi,
When using mapFields, and mapping from a parallel source the -sourceTime flag is ignored if the time doesn't exist in the top case directory (it maps from 0 instead). ie.

if you have a case directory structure like so
Code:
case/
case/0
case/constant
case/system
case/processor0
case/processor0/constant
case/processor0/0
 case/processor0/500
case/processor1
case/processor1/constant
 case/processor1/0
  case/processor1/500
using mapFields as follows
Code:
mapFields ../test/ -sourceTime 500 -parallelSource
ignores the sourceTime and instead maps from 0 (but correctly maps it from the processor dirs).

When using parallel source, it should check to see if the time exists in the processor dir's not the root case.

As a workaround using
Code:
mkdir 500
in the root case fixes it, and it maps from the correct source time.

Cheers,
Andrew
__________________
Dr Andrew King
Fluid Dynamics Research Group
Curtin University
andersking is offline   Reply With Quote

Old   September 2, 2009, 06:49
Default
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
Thanks for the bug report. I have pushed a fix into OpenFOAM-1.6.x please let us know if it works for your case.

H
henry is offline   Reply With Quote

Old   September 2, 2009, 10:38
Default
  #3
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 81
Rep Power: 8
andersking is on a distinguished road
Hi Henry,

Works now. Thanks

Andrew
__________________
Dr Andrew King
Fluid Dynamics Research Group
Curtin University
andersking is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 11:23
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 17:51.