Transfer basal drag from one mesh to another mesh

Extension of Elmer in computational glaciology
raback
Site Admin
Posts: 3307
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Transfer basal drag from one mesh to another mesh

Post by raback » 10 Nov 2016, 11:37

Hi

Perhaps you could say

Code: Select all

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

-Peter

rgladstone
Posts: 61
Joined: 15 Apr 2013, 16:23
Antispam: Yes

Re: Transfer basal drag from one mesh to another mesh

Post by rgladstone » 10 Nov 2016, 17:17

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]

fgillet
Posts: 38
Joined: 30 Sep 2010, 16:58

Re: Transfer basal drag from one mesh to another mesh

Post by fgillet » 10 Nov 2016, 18:44

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

rgladstone
Posts: 61
Joined: 15 Apr 2013, 16:23
Antispam: Yes

Re: Transfer basal drag from one mesh to another mesh

Post by rgladstone » 11 Nov 2016, 10:10

Thanks Fab and Peter.

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

Cheers,
Rupert

fgillet
Posts: 38
Joined: 30 Sep 2010, 16:58

Re: Transfer basal drag from one mesh to another mesh

Post by fgillet » 11 Nov 2016, 10:15

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

Post Reply