FieldConvert fails to read Nek5000 output files
******************* This email 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 https://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address. ******************* Hi nektar-users, I am trying to obtain tecplot readable formats from some Nek5000 outputs I already have; using the FieldConvert utility available in Nektar++ (It also supports the reading of data files from Nek5000 as claimed in the user guide). The command given to convert the nek5000 outputs to Nektar++ outputs is as follows; FieldConvert input.fld output.fld However, the output format (ASCII) of nek5000 is actually .fld followed by some numbers indicating the timesteps. The output for each timestep is written separately. FieldConvert fails to identify this format and listed the supported formats as .fld or .fld5000 while the second one is given specifically to read the Nek5000 outputs. I am not sure whether this is an old format of nek5000; anyway I did not find any information about this format online. I would like to kno if anyone tried this or have an idea whether FieldConvert still supports Nek5000 output files or not. Any help will be deeply appreciated. Thank you in advance. *Warm regards,* *Ajeesh Mohan T,* *Doctoral Research Scholar,* *IIT Bombay, Mumbai, India.*
Hi Ajeesh, If you want tecplot .dat file, please use FieldConvert session.xml input.fld output.dat If you want paraview .vtu file, please use FieldConvert session.xml input.fld output.vtu Cheers, Jacques ________________________________ From: nektar-users-bounces@imperial.ac.uk <nektar-users-bounces@imperial.ac.uk> on behalf of Ajeesh Mohan T <tajeeshmohan@gmail.com> Sent: Wednesday, February 14, 2024 7:44 AM To: nektar-users@imperial.ac.uk <nektar-users@imperial.ac.uk> Subject: [Nektar-users] FieldConvert fails to read Nek5000 output files Some people who received this message don't often get email from tajeeshmohan@gmail.com. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> This email from tajeeshmohan@gmail.com 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<https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address. Hi nektar-users, I am trying to obtain tecplot readable formats from some Nek5000 outputs I already have; using the FieldConvert utility available in Nektar++ (It also supports the reading of data files from Nek5000 as claimed in the user guide). The command given to convert the nek5000 outputs to Nektar++ outputs is as follows; FieldConvert input.fld output.fld However, the output format (ASCII) of nek5000 is actually .fld followed by some numbers indicating the timesteps. The output for each timestep is written separately. FieldConvert fails to identify this format and listed the supported formats as .fld or .fld5000 while the second one is given specifically to read the Nek5000 outputs. I am not sure whether this is an old format of nek5000; anyway I did not find any information about this format online. I would like to kno if anyone tried this or have an idea whether FieldConvert still supports Nek5000 output files or not. Any help will be deeply appreciated. Thank you in advance. Warm regards, Ajeesh Mohan T, Doctoral Research Scholar, IIT Bombay, Mumbai, India.
Hi Jacques, First of all, thank you very much for your quick response and willingness to help. I was trying to verify whether the FieldConvert can read the Nek5000 file using the command, FieldConvert input.fld output.fld before using the actual command you mentioned. This command is intended to convert the Nek5000 field files to nektar++ format, and hence is sufficient to verify whether the FieldConvert can handle Nek5000 formats as claimed. However, the FieldConvert fails to detect the file format as explained in my first email. Now, as you suggested, I tried the actual command to get the files in tecplot compatible format. For that, I need the mesh files in xml format. Since the NekMesh utility accepts .rea files, the following command has been executed successfully. NekMesh test.rea test.xml Then I tried to generate dat file using the command you mentioned, but it failed showing the same error message; No such module: Input: fld01 Clearly, it fails to understand the file format. And it suggests .fld5000 format to read Nek5000 field files. This file format is not used by Nek5000 and I could not find any information reagarding that online. It would be verymuch helpful if you can provide any insight about this issue. I have attached the screen shot of error message for your reference. Thank you once again for your support. *Warm regards,* *Ajeesh Mohan T,* *Doctoral Research Scholar,* *IIT Bombay, Mumbai, India.* [image: FieldConvert_test.png] On Wed, Feb 14, 2024 at 11:08 PM Jacques Xing <jacques.xing@kcl.ac.uk> wrote:
Hi Ajeesh,
If you want tecplot .dat file, please use
FieldConvert session.xml input.fld output.dat
If you want paraview .vtu file, please use
FieldConvert session.xml input.fld output.vtu
Cheers, Jacques ------------------------------ *From:* nektar-users-bounces@imperial.ac.uk < nektar-users-bounces@imperial.ac.uk> on behalf of Ajeesh Mohan T < tajeeshmohan@gmail.com> *Sent:* Wednesday, February 14, 2024 7:44 AM *To:* nektar-users@imperial.ac.uk <nektar-users@imperial.ac.uk> *Subject:* [Nektar-users] FieldConvert fails to read Nek5000 output files
Some people who received this message don't often get email from tajeeshmohan@gmail.com. Learn why this is important <https://aka.ms/LearnAboutSenderIdentification>
This email from tajeeshmohan@gmail.com 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 <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address.
Hi nektar-users,
I am trying to obtain tecplot readable formats from some Nek5000 outputs I already have; using the FieldConvert utility available in Nektar++ (It also supports the reading of data files from Nek5000 as claimed in the user guide).
The command given to convert the nek5000 outputs to Nektar++ outputs is as follows;
FieldConvert input.fld output.fld
However, the output format (ASCII) of nek5000 is actually .fld followed by some numbers indicating the timesteps. The output for each timestep is written separately.
FieldConvert fails to identify this format and listed the supported formats as .fld or .fld5000 while the second one is given specifically to read the Nek5000 outputs.
I am not sure whether this is an old format of nek5000; anyway I did not find any information about this format online.
I would like to kno if anyone tried this or have an idea whether FieldConvert still supports Nek5000 output files or not.
Any help will be deeply appreciated.
Thank you in advance.
*Warm regards,*
*Ajeesh Mohan T,*
*Doctoral Research Scholar, *
*IIT Bombay, Mumbai, India. *
Hi Ajeesh, Sorry to have misunderstood your first question. You should be able to specify the file format by using a colon (:) when the file extension is different from the expected one FieldConvert input.fld01:fld5000 output.fld For the rest, I don't have prior experience with processing Nek5000 files. Best, Jacques ________________________________ From: Ajeesh Mohan T <tajeeshmohan@gmail.com> Sent: Thursday, February 15, 2024 7:18 AM To: Jacques Xing <jacques.xing@kcl.ac.uk> Cc: nektar-users@imperial.ac.uk <nektar-users@imperial.ac.uk> Subject: Re: [Nektar-users] FieldConvert fails to read Nek5000 output files You don't often get email from tajeeshmohan@gmail.com. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> Hi Jacques, First of all, thank you very much for your quick response and willingness to help. I was trying to verify whether the FieldConvert can read the Nek5000 file using the command, FieldConvert input.fld output.fld before using the actual command you mentioned. This command is intended to convert the Nek5000 field files to nektar++ format, and hence is sufficient to verify whether the FieldConvert can handle Nek5000 formats as claimed. However, the FieldConvert fails to detect the file format as explained in my first email. Now, as you suggested, I tried the actual command to get the files in tecplot compatible format. For that, I need the mesh files in xml format. Since the NekMesh utility accepts .rea files, the following command has been executed successfully. NekMesh test.rea test.xml Then I tried to generate dat file using the command you mentioned, but it failed showing the same error message; No such module: Input: fld01 Clearly, it fails to understand the file format. And it suggests .fld5000 format to read Nek5000 field files. This file format is not used by Nek5000 and I could not find any information reagarding that online. It would be verymuch helpful if you can provide any insight about this issue. I have attached the screen shot of error message for your reference. Thank you once again for your support. Warm regards, Ajeesh Mohan T, Doctoral Research Scholar, IIT Bombay, Mumbai, India. [FieldConvert_test.png] On Wed, Feb 14, 2024 at 11:08 PM Jacques Xing <jacques.xing@kcl.ac.uk<mailto:jacques.xing@kcl.ac.uk>> wrote: Hi Ajeesh, If you want tecplot .dat file, please use FieldConvert session.xml input.fld output.dat If you want paraview .vtu file, please use FieldConvert session.xml input.fld output.vtu Cheers, Jacques ________________________________ From: nektar-users-bounces@imperial.ac.uk<mailto:nektar-users-bounces@imperial.ac.uk> <nektar-users-bounces@imperial.ac.uk<mailto:nektar-users-bounces@imperial.ac.uk>> on behalf of Ajeesh Mohan T <tajeeshmohan@gmail.com<mailto:tajeeshmohan@gmail.com>> Sent: Wednesday, February 14, 2024 7:44 AM To: nektar-users@imperial.ac.uk<mailto:nektar-users@imperial.ac.uk> <nektar-users@imperial.ac.uk<mailto:nektar-users@imperial.ac.uk>> Subject: [Nektar-users] FieldConvert fails to read Nek5000 output files Some people who received this message don't often get email from tajeeshmohan@gmail.com<mailto:tajeeshmohan@gmail.com>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> This email from tajeeshmohan@gmail.com<mailto:tajeeshmohan@gmail.com> 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<https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address. Hi nektar-users, I am trying to obtain tecplot readable formats from some Nek5000 outputs I already have; using the FieldConvert utility available in Nektar++ (It also supports the reading of data files from Nek5000 as claimed in the user guide). The command given to convert the nek5000 outputs to Nektar++ outputs is as follows; FieldConvert input.fld output.fld However, the output format (ASCII) of nek5000 is actually .fld followed by some numbers indicating the timesteps. The output for each timestep is written separately. FieldConvert fails to identify this format and listed the supported formats as .fld or .fld5000 while the second one is given specifically to read the Nek5000 outputs. I am not sure whether this is an old format of nek5000; anyway I did not find any information about this format online. I would like to kno if anyone tried this or have an idea whether FieldConvert still supports Nek5000 output files or not. Any help will be deeply appreciated. Thank you in advance. Warm regards, Ajeesh Mohan T, Doctoral Research Scholar, IIT Bombay, Mumbai, India.
Hi Jacques, Thank you very much for your reply. I tried the command you suggested; unfortunately, the issue is still unresolved (screenshot is attached). If you are getting any insight from this, or if you can suggest any other solution; it will be very much helpful. Thank you once again for your help. *Warm regards,* *Ajeesh Mohan T,* *Doctoral Research Scholar,* *IIT Bombay, Mumbai, India.* [image: FC_2.png] On Thu, Feb 15, 2024 at 9:51 PM Jacques Xing <jacques.xing@kcl.ac.uk> wrote:
Hi Ajeesh,
Sorry to have misunderstood your first question. You should be able to specify the file format by using a colon (:) when the file extension is different from the expected one
FieldConvert input.fld01:fld5000 output.fld
For the rest, I don't have prior experience with processing Nek5000 files.
Best, Jacques ------------------------------ *From:* Ajeesh Mohan T <tajeeshmohan@gmail.com> *Sent:* Thursday, February 15, 2024 7:18 AM *To:* Jacques Xing <jacques.xing@kcl.ac.uk> *Cc:* nektar-users@imperial.ac.uk <nektar-users@imperial.ac.uk> *Subject:* Re: [Nektar-users] FieldConvert fails to read Nek5000 output files
You don't often get email from tajeeshmohan@gmail.com. Learn why this is important <https://aka.ms/LearnAboutSenderIdentification> Hi Jacques,
First of all, thank you very much for your quick response and willingness to help.
I was trying to verify whether the FieldConvert can read the Nek5000 file using the command,
FieldConvert input.fld output.fld
before using the actual command you mentioned. This command is intended to convert the Nek5000 field files to nektar++ format, and hence is sufficient to verify whether the FieldConvert can handle Nek5000 formats as claimed.
However, the FieldConvert fails to detect the file format as explained in my first email.
Now, as you suggested, I tried the actual command to get the files in tecplot compatible format.
For that, I need the mesh files in xml format. Since the NekMesh utility accepts .rea files, the following command has been executed successfully.
NekMesh test.rea test.xml
Then I tried to generate dat file using the command you mentioned, but it failed showing the same error message;
No such module: Input: fld01
Clearly, it fails to understand the file format. And it suggests .fld5000 format to read Nek5000 field files. This file format is not used by Nek5000 and I could not find any information reagarding that online.
It would be verymuch helpful if you can provide any insight about this issue. I have attached the screen shot of error message for your reference.
Thank you once again for your support.
*Warm regards,*
*Ajeesh Mohan T,*
*Doctoral Research Scholar, *
*IIT Bombay, Mumbai, India. *
[image: FieldConvert_test.png]
On Wed, Feb 14, 2024 at 11:08 PM Jacques Xing <jacques.xing@kcl.ac.uk> wrote:
Hi Ajeesh,
If you want tecplot .dat file, please use
FieldConvert session.xml input.fld output.dat
If you want paraview .vtu file, please use
FieldConvert session.xml input.fld output.vtu
Cheers, Jacques ------------------------------ *From:* nektar-users-bounces@imperial.ac.uk < nektar-users-bounces@imperial.ac.uk> on behalf of Ajeesh Mohan T < tajeeshmohan@gmail.com> *Sent:* Wednesday, February 14, 2024 7:44 AM *To:* nektar-users@imperial.ac.uk <nektar-users@imperial.ac.uk> *Subject:* [Nektar-users] FieldConvert fails to read Nek5000 output files
Some people who received this message don't often get email from tajeeshmohan@gmail.com. Learn why this is important <https://aka.ms/LearnAboutSenderIdentification>
This email from tajeeshmohan@gmail.com 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 <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address.
Hi nektar-users,
I am trying to obtain tecplot readable formats from some Nek5000 outputs I already have; using the FieldConvert utility available in Nektar++ (It also supports the reading of data files from Nek5000 as claimed in the user guide).
The command given to convert the nek5000 outputs to Nektar++ outputs is as follows;
FieldConvert input.fld output.fld
However, the output format (ASCII) of nek5000 is actually .fld followed by some numbers indicating the timesteps. The output for each timestep is written separately.
FieldConvert fails to identify this format and listed the supported formats as .fld or .fld5000 while the second one is given specifically to read the Nek5000 outputs.
I am not sure whether this is an old format of nek5000; anyway I did not find any information about this format online.
I would like to kno if anyone tried this or have an idea whether FieldConvert still supports Nek5000 output files or not.
Any help will be deeply appreciated.
Thank you in advance.
*Warm regards,*
*Ajeesh Mohan T,*
*Doctoral Research Scholar, *
*IIT Bombay, Mumbai, India. *
Hi Ajeesh, The only thing that I can say from the error message "Unable to read file" is that there is a proper function call to the Nek5000 processing module in "library/FieldUtils/InputModules/InputNek5000.cpp" but for some reason, the file format is not recognized properly. A "#std" is expected at the beginning of the binary file. So, my assumption is either the Nek5000 output format changed, or that you must use some specific option parameters when using Nek5000, or that an additional level of conversion is needed from Nek5000. Best, Jacques ________________________________ From: Ajeesh Mohan T <tajeeshmohan@gmail.com> Sent: Friday, February 16, 2024 6:18 AM To: Jacques Xing <jacques.xing@kcl.ac.uk> Cc: nektar-users@imperial.ac.uk <nektar-users@imperial.ac.uk> Subject: Re: [Nektar-users] FieldConvert fails to read Nek5000 output files You don't often get email from tajeeshmohan@gmail.com. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> Hi Jacques, Thank you very much for your reply. I tried the command you suggested; unfortunately, the issue is still unresolved (screenshot is attached). If you are getting any insight from this, or if you can suggest any other solution; it will be very much helpful. Thank you once again for your help. Warm regards, Ajeesh Mohan T, Doctoral Research Scholar, IIT Bombay, Mumbai, India. [FC_2.png] On Thu, Feb 15, 2024 at 9:51 PM Jacques Xing <jacques.xing@kcl.ac.uk<mailto:jacques.xing@kcl.ac.uk>> wrote: Hi Ajeesh, Sorry to have misunderstood your first question. You should be able to specify the file format by using a colon (:) when the file extension is different from the expected one FieldConvert input.fld01:fld5000 output.fld For the rest, I don't have prior experience with processing Nek5000 files. Best, Jacques ________________________________ From: Ajeesh Mohan T <tajeeshmohan@gmail.com<mailto:tajeeshmohan@gmail.com>> Sent: Thursday, February 15, 2024 7:18 AM To: Jacques Xing <jacques.xing@kcl.ac.uk<mailto:jacques.xing@kcl.ac.uk>> Cc: nektar-users@imperial.ac.uk<mailto:nektar-users@imperial.ac.uk> <nektar-users@imperial.ac.uk<mailto:nektar-users@imperial.ac.uk>> Subject: Re: [Nektar-users] FieldConvert fails to read Nek5000 output files You don't often get email from tajeeshmohan@gmail.com<mailto:tajeeshmohan@gmail.com>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> Hi Jacques, First of all, thank you very much for your quick response and willingness to help. I was trying to verify whether the FieldConvert can read the Nek5000 file using the command, FieldConvert input.fld output.fld before using the actual command you mentioned. This command is intended to convert the Nek5000 field files to nektar++ format, and hence is sufficient to verify whether the FieldConvert can handle Nek5000 formats as claimed. However, the FieldConvert fails to detect the file format as explained in my first email. Now, as you suggested, I tried the actual command to get the files in tecplot compatible format. For that, I need the mesh files in xml format. Since the NekMesh utility accepts .rea files, the following command has been executed successfully. NekMesh test.rea test.xml Then I tried to generate dat file using the command you mentioned, but it failed showing the same error message; No such module: Input: fld01 Clearly, it fails to understand the file format. And it suggests .fld5000 format to read Nek5000 field files. This file format is not used by Nek5000 and I could not find any information reagarding that online. It would be verymuch helpful if you can provide any insight about this issue. I have attached the screen shot of error message for your reference. Thank you once again for your support. Warm regards, Ajeesh Mohan T, Doctoral Research Scholar, IIT Bombay, Mumbai, India. [FieldConvert_test.png] On Wed, Feb 14, 2024 at 11:08 PM Jacques Xing <jacques.xing@kcl.ac.uk<mailto:jacques.xing@kcl.ac.uk>> wrote: Hi Ajeesh, If you want tecplot .dat file, please use FieldConvert session.xml input.fld output.dat If you want paraview .vtu file, please use FieldConvert session.xml input.fld output.vtu Cheers, Jacques ________________________________ From: nektar-users-bounces@imperial.ac.uk<mailto:nektar-users-bounces@imperial.ac.uk> <nektar-users-bounces@imperial.ac.uk<mailto:nektar-users-bounces@imperial.ac.uk>> on behalf of Ajeesh Mohan T <tajeeshmohan@gmail.com<mailto:tajeeshmohan@gmail.com>> Sent: Wednesday, February 14, 2024 7:44 AM To: nektar-users@imperial.ac.uk<mailto:nektar-users@imperial.ac.uk> <nektar-users@imperial.ac.uk<mailto:nektar-users@imperial.ac.uk>> Subject: [Nektar-users] FieldConvert fails to read Nek5000 output files Some people who received this message don't often get email from tajeeshmohan@gmail.com<mailto:tajeeshmohan@gmail.com>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> This email from tajeeshmohan@gmail.com<mailto:tajeeshmohan@gmail.com> 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<https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address. Hi nektar-users, I am trying to obtain tecplot readable formats from some Nek5000 outputs I already have; using the FieldConvert utility available in Nektar++ (It also supports the reading of data files from Nek5000 as claimed in the user guide). The command given to convert the nek5000 outputs to Nektar++ outputs is as follows; FieldConvert input.fld output.fld However, the output format (ASCII) of nek5000 is actually .fld followed by some numbers indicating the timesteps. The output for each timestep is written separately. FieldConvert fails to identify this format and listed the supported formats as .fld or .fld5000 while the second one is given specifically to read the Nek5000 outputs. I am not sure whether this is an old format of nek5000; anyway I did not find any information about this format online. I would like to kno if anyone tried this or have an idea whether FieldConvert still supports Nek5000 output files or not. Any help will be deeply appreciated. Thank you in advance. Warm regards, Ajeesh Mohan T, Doctoral Research Scholar, IIT Bombay, Mumbai, India.
participants (2)
- 
                
                Ajeesh Mohan T
- 
                
                Jacques Xing