Transfer basal drag from one mesh to another mesh

Extension of Elmer in computational glaciology
raback
Site Admin
Posts: 4812
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 »

Hi

Perhaps you could say

Code: Select all

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

-Peter
rgladstone
Posts: 64
Joined: 15 Apr 2013, 16:23
Antispam: Yes

Re: Transfer basal drag from one mesh to another mesh

Post 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]
fgillet
Posts: 46
Joined: 30 Sep 2010, 16:58

Re: Transfer basal drag from one mesh to another mesh

Post 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
rgladstone
Posts: 64
Joined: 15 Apr 2013, 16:23
Antispam: Yes

Re: Transfer basal drag from one mesh to another mesh

Post by rgladstone »

Thanks Fab and Peter.

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

Cheers,
Rupert
fgillet
Posts: 46
Joined: 30 Sep 2010, 16:58

Re: Transfer basal drag from one mesh to another mesh

Post 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
Post Reply