Hi,
I am not sure if what is in the user-guide would work, since it seems to only handle functions (e.g. for initial conditions).
Although this is not very elegant, changing the variable names directly inside the fld files works for me.
For example, for the output of a serial simulation you could run in the command-line
sed -i -e 's/"u,v,p"/"MomentumX,MomentumY,p"/g' solution.fld
and for a parallel simulation
sed -i -e 's/"u,v,p"/"MomentumX,MomentumY,p"/g' solution.fld/*.fld
where solution.fld is the file you want to modify.
Cheers,
Douglas
On 14 Nov 2016, at 22:05, Selbach, Fabian <fabian.selbach@student.uni-siegen.de> wrote:
Hello,_______________________________________________maybe the section "remapping variable names" in the user-guide can help you to solve your problem.Best regardsFabian
Von: nektar-users-bounces@imperial.ac.uk [nektar-users-bounces@imperial.ac.uk]" im Auftrag von "ztdepyahoo@163.com [ztdepyahoo@163.com]
Gesendet: Sonntag, 13. November 2016 07:30
An: nektar-users
Betreff: [Nektar-users] hwo to change the name of variables in the output *.vtu file
Dear professor:In the vtu file, the u and v velocity must have name MomentumX and MomentumY, How to resolve this.Regards.
Nektar-users mailing list
Nektar-users@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/nektar-users