[Nek5000-users] How to obtain spectral coefficients and basis

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Tue Dec 8 10:26:43 CST 2015


Hello,

If I've understood you propely, you can see all the collocation points and
weights in the file coef.f (subroutine genwz).

Andrew

2015-12-07 4:23 GMT+01:00 <nek5000-users at lists.mcs.anl.gov>:

> Hello,
>
> I'm trying to represent the solution, either velocity or temperature, in
> terms of spectral basis, i.e.
>
> $u=\Sigma a_i \phi_i $ with $\phi_i$ as the basis and $a_i$ as the
> coefficients.
>
> I have two questions:
>
> 1) (a naive one!) Which basis is being used in Nek5000? I assume it is
> Chebyshev polynomials. Is that true? If not, what is the basis?
>
> 2) How can I retrieve the coefficients $a_i$? Also, is there a way to
> access such coefficients during the solution, say by writing them to a file?
>
> I really appreciate the responses. As a side note, I'd like to use DNS
> data for model reduction.
>
> Many thanks,
> Saleh
> _______________________________________________
> 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/20151208/a0925547/attachment.html>


More information about the Nek5000-users mailing list