[Nek5000-users] Time derivative of Scalar field

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Sun May 14 10:09:48 CDT 2017


Hi Ketan,

I have tried your .usr file and it compiles. But I think it does not write
out the 'ddt' right? For my case it doesn't write it out in the 'output',
or in the .fld files. I was also trying the 'vxlag' in the common block in
userchk subroutine like Paul suggested but that leads to errors. Can you
let me know, is there a subroutine that does that?

Thanks,
Saikat

Saikat Mukherjee,
PhD Student,
Paul Research Group - http://www.me.vt.edu/mpaul/
Engineering Science and Mechanics,
Virginia Tech.

On Tue, Apr 25, 2017 at 2:06 PM, <nek5000-users at lists.mcs.anl.gov> wrote:

> Hi Saikat,
>
> I have attached a usr file that shows how to calculate finite difference
> based first derivative of the first passive scalar t(1,1,1,1,2) using the
> current time step and two previous time steps. The coefficients for the
> derivative are obtained using a call to fd_weights_full, and I am using a
> common block for storing the values of the scalar at two previous
> time-steps.
>
> Ketan
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20170514/e1d7ccfc/attachment.html>


More information about the Nek5000-users mailing list