[aspect-devel] Using tracers on user-specified domains

John Naliboff jbnaliboff at ucdavis.edu
Sun May 6 17:18:11 PDT 2018


Hi Felipe,

In ASPECT 1.5 under the subsection “Ascii file” (“Postprocess” -> “Tracers” -> “Generator” -> “Ascii file") there is a parameter for the data directory of the ascii file:
	https://github.com/geodynamics/aspect/blob/aspect-1.5/source/particle/generator/ascii_file.cc#L77

Within that same subsection, there is also parameter for the ascii file name:
	https://github.com/geodynamics/aspect/blob/aspect-1.5/source/particle/generator/ascii_file.cc#L87 <https://github.com/geodynamics/aspect/blob/aspect-1.5/source/particle/generator/ascii_file.cc#L87>

The default values of these parameters point to the ascii data file for the associated test:
	https://github.com/geodynamics/aspect/blob/aspect-1.5/tests/particle_generator_ascii.prm <https://github.com/geodynamics/aspect/blob/aspect-1.5/tests/particle_generator_ascii.prm>

While not specified in the test parameter file, if you run the test these value will appear in the parameters.prm file within the output folder.

Let us know if you have any issues after specifying the ascii data file folder location.

Cheers,
John





> On May 6, 2018, at 4:35 PM, FELIPE ORELLANA ROVIROSA <f_orellana at berkeley.edu> wrote:
> 
> 
>  Hi all,
> 
>        I am trying to implement tracers for visualization of flow advection, on a 3D convecting system.
> 
>       I am willing to use the 'ascii file' option, but I don't find relevant examples regarding their implementation on the parameter file. 
>        I have already generated my own file 'tracer_3d.dat' that contains coordinates of the points I want to be trace-advected. It is a 3 columns long list, containing 3 float numbers on each row; as simple as that.
>      
>       I don't know where to put that 'simple text file' in order for Aspect to recognize it. 
> 
>       I tried on the same directory where I have the .prm, and it didn't work. The error was that Aspect could not locate it under 'data/particle/generator/ascii/tracer.dat>.'
> 
>     then I put it right there, in that directory 'data/particle/generator/ascii/, (of course I changed the name of the preexisting test/example file avoiding to kill it); and it failed:
> 
>    Could not open file </root/SEISMO/usr-local-src/aspect/aspect-1.5.0/data/particle/generator/ascii/tracer.dat>
>  
>    The manual 1.5 does not have much info on this, or I have not found it.
> 
>  I tried giving the file different names..
>      Could not open file </root/SEISMO/usr-local-src/aspect/aspect-1.5.0/data/particle/generator/ascii/tracer.dat>.
> 
>  Where should I put the file? what name should I give it?
> 
> cheers^3,
> Felipe
> 
> 
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20180506/799186ed/attachment.html>


More information about the Aspect-devel mailing list