[aspect-devel] Compositional fields with different densities and viscosities

Timo Heister heister at math.tamu.edu
Sun Jan 27 14:38:28 PST 2013


>> For
>> example, I would be interested in the Vrms and dissipation of energy of
>> only the downgoing slab (where the slab is represented by one
>> compositional field). This would greatly help with the benchmark model I
>> am working on.
>
> Yes, in a case like this I would look at how the velocity statistics
> postprocessor is written. What you want to do is clone it to compute
> what you describe. Essentially, what you'll have to do is only add to
> the integral and area whenever you find that a particular quadrature
> point satisfies the criteria by which you define whether it is part of
> the slab.

To extend on that, if your compositional field is 1 for "interesting"
and 0 for "not interesting", you can just multiply the integral by the
value of the compositional field at that quadrature point.

-- 
Timo Heister
http://www.math.tamu.edu/~heister/


More information about the Aspect-devel mailing list