[CIG-SHORT] Distance along fault

Brad Aagaard baagaard at usgs.gov
Sun Nov 10 08:55:57 PST 2013


Christian,

The easiest way to access nodal coordinates in an Exodus file is via 
Python. The PyLith binary includes the netCDF Python module for 
accessing netcdf files (Exodus is a specialized netcdf file). See 
examples/meshing/cubit_cellsize/exodus_add_properties.py for an example 
of how to access the Exodus file via Python. Also see the last few lines 
of examples/2d/subduction/afterslip_tractions.py for how to write a 
spatial database file via Python.

Regards,
Brad


On 11/10/13 8:40 AM, Christian Baillard wrote:
> Brad,
>
> Thanks for the quick response. For my purpose I need the nodes coordinates present on my fault. I would like to have them in an ASCII file. I'm able to export the whole mesh in exodus format then using ncdump to get an ascii file but it only works for the whole mesh. Would it be possible to export only nodes from a nodeset?
>
> Regards,
>
> Christian
>
> Le 10 nov. 2013 à 17:02, Brad Aagaard a écrit :
>
>> Christian,
>>
>> The spatial databases only support global coordinate systems, so local coordinate systems like distance along strike and distance down dip are not available. The main reason for not supporting local coordinate systems is they depend on the geometry and discretization of the finite-element model. One of the main features of the spatial databases is that they are independent of the discretization and geometry of the model. That is, you can change the finite-element model and the same spatial database will give the same spatial variation in values.
>>
>> Regards,
>> Brad
>>
>> On 11/10/13 5:36 AM, Christian Baillard wrote:
>>> Hi,
>>>
>>> I'm wondering if it is possible, in a .spatialdb file, to specify the
>>> slip rate/opening... in coordinates along the fault and not in the
>>> classical cartesian basis.
>>>
>>> Best reagards,
>>>
>>> Christian Baillard, PhD student
>>> Laboratoire de Géosciences Marines
>>> Institut de Physique du Globe de Paris
>>> Bureau 335 - 1,rue Jussieu
>>> 75238 Paris cedex 05
>>> +33 (0)1 83 95 77 72
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> CIG-SHORT mailing list
>>> CIG-SHORT at geodynamics.org
>>> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>>>
>>
>>
>



More information about the CIG-SHORT mailing list