[aspect-devel] Tracers visualization
Lev Karatun
lev.karatun at gmail.com
Thu Jun 16 23:36:26 PDT 2016
Hi Gerry, Harsha,
I switched to the random uniform generator and now everything works. Thank
you so much for your help!
Best regards,
Lev Karatun.
2016-06-15 20:38 GMT-04:00 Elbridge Gerry Puckett <egp at math.ucdavis.edu>:
> Hi Lev,
>
> 2. Tracers are distributed over a cube rather than over my model domain
> (which is a parallelepiped)
>
> Which, particle generator are you using, a random one or uniform_box.cc,
> or ... ?
>
> We haven't implemented a parallelepiped in the uniform box or the other
> deterministic particle generators. We can put it on our To-Do list. You
> could open an issue at
>
> https://github.com/geodynamics/aspect
>
> It would be helpful if you included a copy of your *.prm file, or at least
> the part that defines the geometry.
>
> If you're using a random particle generator, random_uniform.cc, we'd have
> to look to see if it is designed to place particles over an arbitrary model
> geometry. My guess is that the random particle generator might work for
> you for now.
>
> When you attend the ASPECT Hackathon later this month we can show you how
> to implement a plugin to uniformly distribute the particles over a
> parallelepiped and help you make a pull request to merge it with the master
> branch of ASPECT.
>
> 1. I set List of tracer properties = initial composition, but when I open
> them in ParaView and choose "initial C_0" (or C_1, or any other one) in the
> dropdown menu, all the tracers are colored the same.
>
> This is probably a ParaView issue. I haven't used
>
> List of tracer properties = initial composition,
>
> What I would do is open the particle*.vtu files (they are ASCII files and
> therefore human readable) and see if the particles have a property
> associated with them called composition and if so, do particles have
> different values based on their initial location, say, 0 and 1. It should
> be possible to color based on that property, it's just a matter of playing
> around with ParaView. I'm sure others who read
> aspect-devel at geodynamics.org will know better than I how to do this.
>
> 3. I can't make both tracers and my model visible in Paraview at the same
> time - is it the intended behaviour?
>
> I believe Harsha has helped you solve this. Problem correct?
>
> - Gerry
>
> On 6/15/2016 11:13 AM, Lev Karatun wrote:
>
> Hi,
>
> I'm trying to incorporate tracers into the model, but I'm facing several
> problems.
>
> 1. I set List of tracer properties = initial composition, but when I open
> them in ParaView and choose "initial C_0" (or C_1, or any other one) in the
> dropdown menu, all the tracers are colored the same.
> 2. Tracers are distributed over a cube rather than over my model domain
> (which is a parallelepiped)
> 3. I can't make both tracers and my model visible in Paraview at the same
> time - is it the intended behaviour?
>
> Thanks in advance!
>
> Best regards,
> Lev Karatun.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20160617/3247f5d9/attachment.html>
More information about the Aspect-devel
mailing list