On Mon, 27 Feb 2012, Hans Hornung wrote:
> One of my graduate students is doing some interesting work on acoustic
> ray tracing in hypersonic flows. In particular, the region near the
> stagnation point of a blunt body is of interest. So I did some
> computations using Amrita. What he needs is X, Y, U, V and speed of
> sound in the coarse and refined grids. Since the command flowout
> stores this information and much more, there must be a way of
> extracting all of what he needs from one of the files .dstr or .solv.
The attached script, run_get_flowfield, shows how to grab
the information you're after. It does this by compiling and running
a small FORTRAN fragment to loop over all the cells in AMR_SOL's
current solution field. Thus there is no need to access the .dstr and
.solv files, directly. You will still need to connect the dots,
as it were, but the attached will at least get ypu started.
James
Hans
--
You received this message because you are subscribed to the Google Groups "amrita-ebook" group.
To post to this group, send email to amrita...@googlegroups.com.
To unsubscribe from this group, send email to amrita-ebook...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/amrita-ebook?hl=en.