Hi Alessandro,

Could you tell me which version are you using, or you can try it using the latest master branch.

To generate a csv file, you just need to change the file name "1cylQ3D_msh2_2059.dat" to "1cylQ3D_msh2_2059.csv", or "file2.dat" to "file2.csv".

By the way, I just tested your commands on the latest master branch. It seems nothing goes wrong.
Commands
mpirun -np 4  ../FieldConvert-g -m interppoints:fromxml=ChanFlow_3DH1D_Parallel_mode1.xml:fromfld=ChanFlow_3DH1D_Parallel_mode1.fld:box=10,10,10,0,1,0,1,0,1 data.dat
and
mpirun -np 1  ../FieldConvert-g -m interppoints:fromxml=ChanFlow_3DH1D_Parallel_mode1.xml:fromfld=ChanFlow_3DH1D_Parallel_mode1.fld:topts=point.csv data.dat
generate ASCII files in tecplot format, like
============================
Variables = x, y, z, u, v, w, p

Zone, I=10, J=10, K=10, F=POINT
           0            0            0            0            0            0            2
    0.111111            0            0            0            0            0      1.77778
    0.222222            0            0            0            0            0      1.55556
    0.333333            0            0            0            0            0      1.33333
============================= or
Variables = x, y, z, u, v, w, p

Zone, I=3, F=POINT
           0            0            0            0            0            0            2
           0          0.5            0         0.25            0            0            2
         0.5          0.5          0.1         0.25  -3.1661e-17            0            1
=============================

Cheers
Ankang

From: nektar-users-bounces@imperial.ac.uk <nektar-users-bounces@imperial.ac.uk> on behalf of Alessandro Alberto de Lima <aalima@usp.br>
Sent: 21 September 2021 19:37
To: nektar-users <nektar-users@imperial.ac.uk>
Subject: [Nektar-users] FieldConvert
 

This email from aalima@usp.br originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list to disable email stamping for this address.

 

Hi,
I'm trying to convert a field to some specific points.
I tried to use:

mpirun -np 32 FieldConvert-rg -m interppoints:fromxml=1cylQ3D_msh2.xml:fromfld=1cylQ3D_msh2.fld:box=400,200,300,-1.0,3.0,-1.0,1.0,0.001,3.0 1cylQ3D_msh2_2059.dat

and i get a "Segmentation fault" as result.
Then I tried as a simple test:

 FieldConvert -m interppoints:fromxml=1cylQ3D_msh2.xml:fromfld=1cylQ3D_msh2.fld:topts=file.csv file2.dat

The file.csv:
# x, y, z
5.0,-2.0,1.0
7.5,2.0,1.0
8.0,5.0,1.0

And had the same "Segmentation fault" as result.
Before all of that, i was converting my fields to paraview and then converting to csv files.
I'm spanding to much time. There is a method to generate a csv field direct from nektar?

Thank you for your support.
Alessandro