View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001862 | OpenFOAM | Bug | public | 2015-10-05 10:28 | 2015-10-05 21:32 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | suspended | ||
Platform | GNU/Linux | OS | OpenSuSE | OS Version | 13.1 |
Product Version | dev | ||||
Summary | 0001862: Feature Request: meshToMesh: read/write mesh-to-mesh addressing | ||||
Description | The 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 | ||||
Tags | No tags attached. | ||||
|
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? |
|
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 |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-10-05 10:28 |
|
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 |
|
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 |