[aspect-devel] The x, y coordinate in depth_average.cc?

Nan Zhang Nan.Zhang at Colorado.EDU
Mon Dec 21 19:21:09 PST 2015


Hi Timo,

I did a test in shell_simple_2d.prm with:
*********************************
subsection Depth average
    set Time between graphical output = 1e6
    set Output format                 = txt
  end
...
*********************************

While, I got error like:
**************************************
...
Line <81> of file <input string>:
    The entry value
        txt
    for the entry named
        Output format
    does not match the given pattern
        [Selection
none|dx|ucd|gnuplot|povray|eps|gmv|tecplot|tecplot_binary|vtk|vtu|hdf5|svg|deal.II
intermediate ]

----------------------------------------------------
Exception on processing:

--------------------------------------------------------
An error occurred in line <353> of file
</group/director1026/znan/sw_packages/aspect_trilinos/aspect-1.3/source/main.cc>
in function
...

**************************************

I checked the user manual. The format does not include txt.



I want to go back to the x,y coordinate columns. The first couple lines in
the depth_average.gnuplot:
***********************************
...
#
# <x> <y> <temperature> <adiabatic_temperature> <velocity_magnitude>
<sinking_velocity> <Vs> <Vp> <viscosity>
0 -159126 1422.18 0 3.09299e-20 3.1557e-09 -1 -1 1e+22
285500 -159126 1422.18 0 3.09299e-20 3.1557e-09 -1 -1 1e+22

0 0 1422.18 0 3.09299e-20 3.1557e-09 -1 -1 1e+22
285500 0 1422.18 0 3.09299e-20 3.1557e-09 -1 -1 1e+22
...
***********************************
If the x,y is the comment inside the .gnuplot file, what are the numbers "0
-159126 ...".

My purpose was just to get a depth_average file for fast plotting.


On Mon, Dec 21, 2015 at 11:12 PM, Timo Heister <heister at clemson.edu> wrote:

> Nan,
>
> it is written as x,y in the comment inside the .gnuplot file, but this
> is because we use the deal.II functionality to output the data to
> different file formats. The first column is the depth while the second
> column is the time.
>
> > Who could tell me where is the x,y array, in entries.push_back
> (data_point);?
>
> entries[i] is the depth average at timestep i (or rather the i-th time
> where we do output) and entries[i].values[j][k] is the value of field
> j at depth index k.
>
> Are you trying to parse the data? If yes you might want to look into
> "Output format = txt".
>
> On Mon, Dec 21, 2015 at 9:56 AM, Nan Zhang <Nan.Zhang at colorado.edu> wrote:
> > Hi all,
> >
> > I am trying to change the output format a little bit for
> > depth_average.gnuplot file. I see the first two columns in
> > depth_average.gnuplot are x,y. But, when I dug into depth_average.cc, I
> > could not find the x,y coordinate array.
> >
> > Who could tell me where is the x,y array, in entries.push_back
> > (data_point);?
> >
> > Bests,
> > Nan
> >
> >
> >
> > _______________________________________________
> > Aspect-devel mailing list
> > Aspect-devel at geodynamics.org
> > http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
>
>
>
> --
> Timo Heister
> http://www.math.clemson.edu/~heister/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20151222/8966b4a5/attachment.html>


More information about the Aspect-devel mailing list