[Nek5000-users] line integral: 1d average
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Mon Jul 22 15:12:46 CDT 2013
Hi Justin
Thanks for your reply. Yes I have equal grid spacing in the z-dir. I
guess you are referring to planar_average_s and planar_average_r,.... so
I would appreciate it if you could share your modified version with me;
that would save me some time.
Thanks
Hesam
On 13-07-22 03:54 PM, nek5000-users at lists.mcs.anl.gov wrote:
> Hi Hesam,
>
> The turbChannel example does a planar average, reducing the 3d data to
> a 1d profile. In the past, I wanted the same thing as you, and so
> slightly modified that code. I can find it for you if you'd like.
>
> Is your domain homogeneous in the z-direction?
>
> Justin
>
> On Mon, Jul 22, 2013 at 12:45 PM, <nek5000-users at lists.mcs.anl.gov> wrote:
>> Hello Neks
>>
>> It is clear to me how to compute the volume and area integrals in Nek by
>> reading the previous posts. However I could not find the proper
>> implementation steps for line integral for doing 1d averages (i.e.
>> extracting a 2d profile from a 3d field). In particular I would like to find
>> the average along z-axis (yielding ua = <u>_z, where ua( lx1, ly1,
>> lelx*lely) if I am not mistaken).
>>
>> I would appreciate if you could help me on that and guide me to the right
>> direction.
>>
>> Regards,
>> Hesam
>>
>> _______________________________________________
>> Nek5000-users mailing list
>> Nek5000-users at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
More information about the Nek5000-users
mailing list