Explorar el Código

added block example

master
T-bone hace 6 años
padre
commit
9eed74bc41
Se han modificado 6 ficheros con 62662 adiciones y 0 borrados
  1. 5
    0
      examples/CMakeLists.txt
  2. 2
    0
      examples/block.sh
  3. 37
    0
      examples/grd/block50.grd
  4. 62500
    0
      examples/mod/block_condhs.mod
  5. 10
    0
      examples/mod/cond.inp
  6. 108
    0
      examples/src/1m.aem

+ 5
- 0
examples/CMakeLists.txt Ver fichero

@@ -9,6 +9,11 @@ target_link_libraries(  EMSchur3D  "lemmacore" "fdem1d" "emschur3d")
9 9
 #    target_link_libraries( Interference ${VTK_LIBRARIES})
10 10
 #endif()
11 11
 
12
+install ( DIRECTORY mod  DESTINATION ${CMAKE_INSTALL_PREFIX}/share/EMSchur3D/ ) 
13
+install ( DIRECTORY grd  DESTINATION ${CMAKE_INSTALL_PREFIX}/share/EMSchur3D/ ) 
14
+install ( DIRECTORY src  DESTINATION ${CMAKE_INSTALL_PREFIX}/share/EMSchur3D/ ) 
15
+install ( FILES block.sh  DESTINATION ${CMAKE_INSTALL_PREFIX}/share/EMSchur3D/ ) 
16
+
12 17
 INSTALL_TARGETS( "/share/EMSchur3D/"
13 18
     EMSchur3D
14 19
 )

+ 2
- 0
examples/block.sh Ver fichero

@@ -0,0 +1,2 @@
1
+./EMSchur3D grd/block50.grd  mod/cond.inp    mod/block_condhs.mod     src/1m.aem  test 
2
+#./EMSchur3D  grd/block50.grd   mod/res.inp  mod/block.mod   src/1m.aem  kest

+ 37
- 0
examples/grd/block50.grd Ver fichero

@@ -0,0 +1,37 @@
1
+50	50	25		// nx ny nz
2
+-245	-245	-45		// ox oy oz
3
+ 
4
+10 10 10 10 10 10 10 10 10 10	// hx [0,1,... nz-1]
5
+10 10 10 10 10 10 10 10 10 10	//     |
6
+10 10 10 10 10 10 10 10 10 10	//     |
7
+10 10 10 10 10 10 10 10 10 10	//     |
8
+10 10 10 10 10 10 10 10 10 10	//     _
9
+
10
+10 10 10 10 10 10 10 10 10 10	// hy
11
+10 10 10 10 10 10 10 10 10 10
12
+10 10 10 10 10 10 10 10 10 10
13
+10 10 10 10 10 10 10 10 10 10
14
+10 10 10 10 10 10 10 10 10 10
15
+
16
+10 10 10 10 10 10 10 10 10 10	// hz
17
+10 10 10 10 10 10 10 10 10 10
18
+10 10 10 10 10 
19
+
20
+// Grid is complete, data fields 
21
+[cell data]
22
+$sigma  // 3D array
23
+$block
24
+0   .005			// air-earth interface,  sigma half space conductivity 
25
+nblocks=1
26
+10  60 				// block dimensions in x
27
+10  60				// y
28
+100 140				// z
29
+0.1 				// block conductivity
30
+[cell data]
31
+
32
+// need to be able to specify type of array scalar vector (# components), cell, edge face, name, type 
33
+// how to do this general but not too bloated?
34
+
35
+// Also, what if we want anisotropy, I guess just sigma_x etc.
36
+// This file should ONLY contain data that pertains to the grid, so that the background reference 
37
+// model probably doesn't fit? 

+ 62500
- 0
examples/mod/block_condhs.mod
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 10
- 0
examples/mod/cond.inp Ver fichero

@@ -0,0 +1,10 @@
1
+1              // Number of NON-AIR layers
2
+20             // resistivity of bottom layer [Ohm-m]
3
+
4
+// 21 layer model
5
+// thick
6
+// 11, 5, 5, 4, 3.5, 4.5, 4.5, 5.5, 3, 6, 15, 3, 6, 3, 8, 9, 10,
7
+//        7, 8, 11;
8
+// rho 
9
+//  1, 16., 60, 25, 55, 20, 45, 5, 40, 20, 40, 20, 120, 40, 20, 45, 36, 30,
10
+//        48, 55, 40, 25;

+ 108
- 0
examples/src/1m.aem Ver fichero

@@ -0,0 +1,108 @@
1
+// AEM Survey Specification file 
2
+
3
+     1    // N sources 
4
+
5
+100         // Source 1 frequency Hz
6
+MD           // Source 1 type
7
+0  0 0       // Source 1 relative position front/back, left/right, up/down 
8
+1            // Source 1 moment
9
+
10
+// Flight Plan (in same coordinates as grid)
11
+1 // points 
12
+// GPS location in x, y, z, polarisation [x,y,z]
13
+// line 0
14
+-0     -0      -3e1   0  0  1 
15
+-140   -100    -3e1   0  0  1 
16
+-130   -100    -3e1   0  0  1 
17
+-120   -100    -3e1   0  0  1 
18
+-110   -100    -3e1   0  0  1 
19
+-100   -100    -3e1   0  0  1 
20
+-90    -100    -3e1   0  0  1 
21
+-80    -100    -3e1   0  0  1 
22
+-70    -100    -3e1   0  0  1 
23
+-60    -100    -3e1   0  0  1 
24
+-50    -100    -3e1   0  0  1 
25
+-40    -100    -3e1   0  0  1 
26
+-30    -100    -3e1   0  0  1 
27
+-20    -100    -3e1   0  0  1 
28
+-10    -100    -3e1   0  0  1 
29
+0      -100    -3e1   0  0  1 
30
+10     -100    -3e1   0  0  1 
31
+20     -100    -3e1   0  0  1 
32
+30     -100    -3e1   0  0  1 
33
+40     -100    -3e1   0  0  1 
34
+50     -100    -3e1   0  0  1 
35
+60     -100    -3e1   0  0  1 
36
+70     -100    -3e1   0  0  1 
37
+80     -100    -3e1   0  0  1 
38
+90     -100    -3e1   0  0  1 
39
+100    -100    -3e1   0  0  1 
40
+110    -100    -3e1   0  0  1 
41
+120    -100    -3e1   0  0  1 
42
+130    -100    -3e1   0  0  1 
43
+140    -100    -3e1   0  0  1 
44
+150    -100    -3e1   0  0  1 
45
+// line 1
46
+-150    0    -3e1   0  0  1 
47
+-140    0    -3e1   0  0  1 
48
+-130    0    -3e1   0  0  1 
49
+-120    0    -3e1   0  0  1 
50
+-110    0    -3e1   0  0  1 
51
+-100    0    -3e1   0  0  1 
52
+-90     0    -3e1   0  0  1 
53
+-80     0    -3e1   0  0  1 
54
+-70     0    -3e1   0  0  1 
55
+-60     0    -3e1   0  0  1 
56
+-50     0    -3e1   0  0  1 
57
+-40     0    -3e1   0  0  1 
58
+-30     0    -3e1   0  0  1 
59
+-20     0    -3e1   0  0  1 
60
+-10     0    -3e1   0  0  1 
61
+0       0    -3e1   0  0  1 
62
+10      0    -3e1   0  0  1 
63
+20      0    -3e1   0  0  1 
64
+30      0    -3e1   0  0  1 
65
+40      0    -3e1   0  0  1 
66
+50      0    -3e1   0  0  1 
67
+60      0    -3e1   0  0  1 
68
+70      0    -3e1   0  0  1 
69
+80      0    -3e1   0  0  1 
70
+90      0    -3e1   0  0  1 
71
+100     0    -3e1   0  0  1 
72
+110     0    -3e1   0  0  1 
73
+120     0    -3e1   0  0  1 
74
+130     0    -3e1   0  0  1 
75
+140     0    -3e1   0  0  1 
76
+150     0    -3e1   0  0  1 
77
+// line 2
78
+-150   100    -3e1   0  0  1 
79
+-140   100    -3e1   0  0  1 
80
+-130   100    -3e1   0  0  1 
81
+-120   100    -3e1   0  0  1 
82
+-110   100    -3e1   0  0  1 
83
+-100   100    -3e1   0  0  1 
84
+-90    100    -3e1   0  0  1 
85
+-80    100    -3e1   0  0  1 
86
+-70    100    -3e1   0  0  1 
87
+-60    100    -3e1   0  0  1 
88
+-50    100    -3e1   0  0  1 
89
+-40    100    -3e1   0  0  1 
90
+-30    100    -3e1   0  0  1 
91
+-20    100    -3e1   0  0  1 
92
+-10    100    -3e1   0  0  1 
93
+0      100    -3e1   0  0  1 
94
+10     100    -3e1   0  0  1 
95
+20     100    -3e1   0  0  1 
96
+30     100    -3e1   0  0  1 
97
+40     100    -3e1   0  0  1 
98
+50     100    -3e1   0  0  1 
99
+60     100    -3e1   0  0  1 
100
+70     100    -3e1   0  0  1 
101
+80     100    -3e1   0  0  1 
102
+90     100    -3e1   0  0  1 
103
+100    100    -3e1   0  0  1 
104
+110    100    -3e1   0  0  1 
105
+120    100    -3e1   0  0  1 
106
+130    100    -3e1   0  0  1 
107
+140    100    -3e1   0  0  1 
108
+150    100    -3e1   0  0  1 

Loading…
Cancelar
Guardar