Page 2 of 2

Re: Transfer basal drag from one mesh to another mesh

Posted: 10 Nov 2016, 11:37
by raback
Hi

Perhaps you could say

Code: Select all

>cat beta.dat.* > beta.dat
There is no parallel reduction implemented.

-Peter

Re: Transfer basal drag from one mesh to another mesh

Posted: 10 Nov 2016, 17:17
by rgladstone
I would guess that appending the files together into one .dat file should work in this case.

Something smarter might be needed for massively parallel simulations.

[edit: oh I didn't see Peter's reply! Yes, that seems like the right thing to do]

Re: Transfer basal drag from one mesh to another mesh

Posted: 10 Nov 2016, 18:44
by fgillet
for massively parrallel you can use the keyword:
Bounding Box dx = Real XX
Only data points that are within Max/Min mesh corrdinates (of the current partition) + the real Value XX will be transfered to the interpolation library ((Default) no bounding box);

This could become problematic with very large data files; but usually this solver is used only once for initialisation.

fab

Re: Transfer basal drag from one mesh to another mesh

Posted: 11 Nov 2016, 10:10
by rgladstone
Thanks Fab and Peter.

We have it working now and it looks just like what we needed.

Cheers,
Rupert

Re: Transfer basal drag from one mesh to another mesh

Posted: 11 Nov 2016, 10:15
by fgillet
Good,

compilation of the ScatteredDataInterpolator and Griddatareader can now be done automatically with cmake if you provide paths to the required library.
cf e.g. http://elmerice.elmerfem.org/wiki/doku. ... :scattered
Thanks to Laure Tavard.

cheers
fabien