Hi Reda,

The combineAvg module is meant to be used to combine two fields only. 
If you need to combine three fields, the best approach is to process them in sequence:

FieldConvert -m combineAvg:fromfld=file1.fld session.xml file2.fld combined12.fld
FieldConvert -m combineAvg:fromfld=combined12.fld session.xml file3.fld combined13.fld

If you want to make sure that you have correctly combined the fields I would suggest checking that the metadata has been modified appropriately (particularly NumberOfFieldDumps, which must correspond to the sum of each field).

I hope this helps.

Kind regards,

Andrea Cassinelli
PhD candidate
Department of Aeronautics
Imperial College London
London SW7 2AZ
Mob.: +44 (0)7956957642


On 8 Nov 2019, at 17:33, Moto Light <redamansyhh@gmail.com> wrote:

Hi all,

For averaging two average files in Nektar++, the user guide said that we need to use the next order for averaging file1.fld and file2.fld:

FieldConvert -m combineAvg:fromfld=file1.fld file1.xml file2.fld  output_file3.fld

This command works fine using two files as an inputs files.
________________________________
How we can take average of three files, I tried to used the same command by adding the third file name after file2.fld to be like:

FieldConvert -m combineAvg:fromfld=file1.fld file1.xml file2.fld   file3.fld output_file3.fld

it works with no error and gives output file, but i tried to corrupt the name of the third file in the command line and it worked fine again, which means there is no consideration for the third file name in the command line????

Any suggestions? for taking the average of three average field files in one command line


Thanks,
Regards

Reda el Masny
PhD student in UPC.es

_______________________________________________
Nektar-users mailing list
Nektar-users@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/nektar-users