Skip to content

ExampleInputFile

molivag edited this page Oct 19, 2026 · 3 revisions

Example of MeshTran input file.

The following, is a complete example of an input file for MT survey preprocessing to prepare the input file for Femtic.

------

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*                                                                 *
* MeshTran configuration file                                     *
*                                                                 *
*                                        MAOG    Bcn, jun. 2026   *
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

MESH_NATURE = native
THREADS = 18

DEM_FILE = land3_valles.xyz
DEM_LatLon = yes
DEM_UNITS = kilometers               
HAS_SEA = no


ELEV_INTER = 150.0                   
TOPO_FILE = topography_for.dat 
BATHY_FILE = bathymetry_for.dat
COSLI_FILE = coast_line.dat

XMIN_DOM = -300.0
XMAX_DOM = 300.0
YMIN_DOM = -300.0
YMAX_DOM = 300.0
ZMIN_DOM = -150.0
ZMAX_DOM = 350.0

PAD_X = 35.0
PAD_Y = 35.0


## =>  Observation data
ERROR_TREATMENT = floor      
IN_DIAG_ERR = 20
OFF_DIAG_ERR = 5
KEYWORD_LAT = LAT
KEYWORD_LONG = LONG

## =>  Ellipsoids Surface Mesh
NUM_ELIPSES = 10
SITEpadding = 10.0       
FARelemSIZE = 50.0       
SURF_RESOLUTION = 2.0    
GROWTH = 2.0             

## => Meshing for sites at the surface
NUM_ESFERAS = 20
ROTATION = 0.0
minRADIO = 0.015      
maxRADIO = 20.0
minEDGES = 0.01       



## => Refinement for 3D mesh and sites
REFI_ELLIPSES = 5
HIGH_RESOL_LAYER = 1.6   
V_PADDING = 2.3          


NEAR_FIELD_RESOL = 5     
FAR_FIELD_RESOL =  50    

ITER_TET_REFI = 3

!esto controla radio a en makeMTR
H_PADDING = 50          
TARGET_DEPTH = 45


## => Regions Atributes in the model
ELLIPSES = 9 
REGIONS = 3

LOCATION = 0.0 0.0 -20.0    -50 50 1.0      0.0 0.0 45.0       	      !xyz xyz  xyz
ID_REGION =     100            200                 300	    		      !reg1 reg2
RHO_REGIONS =   1.0e9         0.3              1.0e2		              !rho1 rho2

REP_PARTITION = -1       -1         9           
FIX_RESISTIVITY = 1      -1         0           

## => Refinement for mesh parameter based on spheres
PARAM_ESFER = 2
PARAM_RADIOS = 3.0 5.0 
PARAM_EDGES = 2.0 3.0 

------

Spetial atention must be put it on the, REGIONS, LOCATION, ID_REGIONS and RHO_REGIONS, where the number of regions must agree the number of those configurations. If not, errors going to arise during the tetgen to femtic transformation (TetGen2Femtic).

Clone this wiki locally