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

mapFields ignores sourceTime for -parallel source

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2009, 02:51
Default mapFields ignores sourceTime for -parallel source
  #1
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17
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, 07:49
Default
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
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, 11:38
Default
  #3
Member
 
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17
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 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
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 BlGene OpenFOAM Meshing & Mesh Conversion 10 August 6, 2009 05: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 02:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 03:07.