problems when adding a sliding part

Extension of Elmer in computational glaciology
Post Reply
zhang liangfu
Posts: 22
Joined: 20 Nov 2014, 05:06
Antispam: Yes

problems when adding a sliding part

Post by zhang liangfu »

Hi all

May I make bold to interrupt you , I have been redoing as the courses says(http://elmerice.elmerfem.org/courses-tutorials),the IMO - Reykjavik - 27-29 October 2014. I can do the separate two materials .
I see the sliding process you do is I want to add,but when I combine the two materials ,some problems happen. the errors is as follows:

Code: Select all

Boundary Condition 2
Name = "bedrock"
 "bedrock"
Target Boundaries = 1
 1

Bottom Surface = Variable Coordinate 1
 Variable Coordinate 1
Real cubic
At line 801 of file /home/zlf/elmer/elmerfem/fem/src/GeneralUtils.F90 (unit = 27, file = '�Gៈ')
Fortran runtime error: File 'DEM_TR_bed.dat' does not exist
The sif file and dat file are attached as follows,

The sif I changed:

Code: Select all

Boundary Condition 2
  Name = "bedrock"
  Target Boundaries = 1
! include the bedrock DEM, which has two colums
  Bottom Surface = Variable Coordinate 1
  Real cubic
     include  "DEM_TR_bed.dat" 
  End
  Normal-Tangential Velocity = True
  Velocity 1 = Real 0.0e0
  Slip Coefficient 2 = Variable Coordinate 2
     Real MATC "(1.0 - (tx > 300.0)*(tx < 400.0))*1000.0 + 1.0/100.0"
End
Attachments
test.tar.gz
(838.45 KiB) Downloaded 586 times
gagliar
Posts: 80
Joined: 04 Sep 2009, 16:34
Location: LGGE - Grenoble
Contact:

Re: problems when adding a sliding part

Post by gagliar »

Hello,

The first problem is that the path to the DEM file is not correct (the file DEM_TR_bed.dat is in the Data directory):

Code: Select all

Bottom Surface = Variable Coordinate 1
  Real cubic
  include  "./Data/DEM_TR_bed.dat" 
End
The second problem is that you have changed the DEM description in the Grid2DInterpolator solver. If you are still using the Tete Rousse dataset, then it should be:

Code: Select all

Variable 1 data file = File "./Data/DEM_TR_bed.dat"
  Variable 1 x0 = Real 947700.0d0
  Variable 1 y0 = Real 2104850.0d0
  Variable 1 lx = Real 600.0
  Variable 1 ly = Real 350.0 
  Variable 1 Nx = Integer 301
  Variable 1 Ny = Integer 176
....

Variable 2 data file = File "./Data/DEM_TR_surf.dat"
  Variable 2 x0 = Real 947700.0d0
  Variable 2 y0 = Real 2104850.0d0
  Variable 2 lx = Real 800.0
  Variable 2 ly = Real 350.0 
  Variable 2 Nx = Integer 268
  Variable 2 Ny = Integer 118
Else, I cannot help as I don't have your DEMs.

Hope it helps
Olivier
zhang liangfu
Posts: 22
Joined: 20 Nov 2014, 05:06
Antispam: Yes

Re: problems when adding a sliding part

Post by zhang liangfu »

Hello gagliar,

Thank you for your immediate reply, I have send the DEMs to your Email(as here the limit attached file size is 2M) . What I want to do is to add the sliding and heat transfer in the Tete Rousse process .I just do not know how to write the sif file correctly.



looking forward to your reply
Post Reply