Transfer basal drag from one mesh to another mesh

Extension of Elmer in computational glaciology

Re: Transfer basal drag from one mesh to another mesh

Postby 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
raback
Site Admin
 
Posts: 3139
Joined: 22 Aug 2009, 11:57
Location: Espoo, Finland

Re: Transfer basal drag from one mesh to another mesh

Postby 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]
rgladstone
 
Posts: 58
Joined: 15 Apr 2013, 16:23

Re: Transfer basal drag from one mesh to another mesh

Postby 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
fgillet
 
Posts: 31
Joined: 30 Sep 2010, 16:58

Re: Transfer basal drag from one mesh to another mesh

Postby 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
rgladstone
 
Posts: 58
Joined: 15 Apr 2013, 16:23

Re: Transfer basal drag from one mesh to another mesh

Postby 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
fgillet
 
Posts: 31
Joined: 30 Sep 2010, 16:58

Previous

Return to Elmer/Ice

Who is online

Users browsing this forum: No registered users and 1 guest