View Issue Details

IDProjectCategoryView StatusLast Update
0001862OpenFOAMBugpublic2015-10-05 21:32
Reporteruser1241Assigned Tohenry  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionsuspended 
PlatformGNU/LinuxOSOpenSuSEOS Version13.1
Product Versiondev 
Summary0001862: Feature Request: meshToMesh: read/write mesh-to-mesh addressing
DescriptionThe caching of mesh-to-mesh addressing by the meshToMesh class is incredibly useful when performing interpolation between meshes on each time-step, as it reduces the cost of mesh-to-mesh interpolation greatly after the first time-step. In practice however, jobs are often run on clusters with limited clockTime, and so a simulation will be run using a number of jobs chained together. Presently the mesh-to-mesh addressing is recalculated at the start of each job, even though it is the same through all jobs. For large meshes computing the mesh-to-mesh addressing can be time-consuming. The computational cost of mesh-to-mesh interpolation could therefore be greatly reduced further by writing the mesh-to-mesh addressing to file, so that it can be read in after a restart. Would it be possible to implement this functionality in a future release?

Many thanks
TagsNo tags attached.

Activities

henry

2015-10-05 10:32

manager   ~0005384

It would be possible to implement this functionality but it is not trivial. Are you in a position to sponsor this development or implement it yourself and contribute the code?

user1241

2015-10-05 13:13

  ~0005386

Hi Henry,

I appreciate that it would not be trivial. I am developing a hybrid LES/RANS solver that use the meshToMesh class to exchange data on each timestep, so the feature would be very useful. I can attempt to implement it myself first when I get chance and will let you know here if I'm successful. Initially I think it is a matter of creating dictionaries where the labelListList's tgtToSrcCellAddr_ and srcToTgtCellAddr_ and also the scalarListList's srcToTgtCellWght_ and tgtToSrcCellWght_ can be written to on the first run and subsequently read from. Though parallelisation is likely to complicate matters.

Many Thanks,

Ryan

Issue History

Date Modified Username Field Change
2015-10-05 10:28 user1241 New Issue
2015-10-05 10:32 henry Note Added: 0005384
2015-10-05 10:33 henry Severity minor => feature
2015-10-05 10:33 henry Product Version 2.3.x => dev
2015-10-05 13:13 user1241 Note Added: 0005386
2015-10-05 13:29 henry Status new => closed
2015-10-05 13:29 henry Assigned To => henry
2015-10-05 13:29 henry Resolution open => suspended