FieldConvert as a FILTER in the Session File
******************* 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. ******************* Hello all, I am using the FieldConvert module as a FILTER in my session file. I noticed that not all of the modules are working. So far I found removefield and fieldfromstring to be not working. I paste below how I set the FILTER. For removefield it gives "Field does not exist" error, and for fieldfromstring the code exits. I think both of the problems are related to the field variables. For removefield just add removefield:fieldname="u" .On the other hand, vorticity and gradient modules work. Has somebody noticed a similar problem, or have I made a mistake while setting the filter? Thank you in advance for your help. <FILTER TYPE="FieldConvert"> <PARAM NAME="OutputFile">timeSteps/fcFiles/out.chk</PARAM> <PARAM NAME="OutputFrequency">1.0e+01</PARAM> <PARAM NAME="Modules"> vorticity gradient fieldfromstring:fieldname="dist":fieldstr="sqrt(x^2+y^2)" </PARAM> </FILTER> Kind regards, Ilteber -- İlteber R. Özdemir
Hi İlteber, You're not making a mistake - not all of the filters are available through FilterFieldConvert and to my knowledge not all of the modules are available in parallel. You'd have to go through filter to look at which are setup - but this would be perhaps good to raise as an issue on the Gitlab page as this should throw an error or at least a warning. Cheers, James. ________________________________ From: nektar-users-bounces@imperial.ac.uk <nektar-users-bounces@imperial.ac.uk> on behalf of İlteber Özdemir <rilteber@gmail.com> Sent: 04 February 2023 19:36 To: nektar-users <nektar-users@imperial.ac.uk> Subject: [Nektar-users] FieldConvert as a FILTER in the Session File This email from rilteber@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. Hello all, I am using the FieldConvert module as a FILTER in my session file. I noticed that not all of the modules are working. So far I found removefield and fieldfromstring to be not working. I paste below how I set the FILTER. For removefield it gives "Field does not exist" error, and for fieldfromstring the code exits. I think both of the problems are related to the field variables. For removefield just add removefield:fieldname="u" .On the other hand, vorticity and gradient modules work. Has somebody noticed a similar problem, or have I made a mistake while setting the filter? Thank you in advance for your help. <FILTER TYPE="FieldConvert"> <PARAM NAME="OutputFile">timeSteps/fcFiles/out.chk</PARAM> <PARAM NAME="OutputFrequency">1.0e+01</PARAM> <PARAM NAME="Modules"> vorticity gradient fieldfromstring:fieldname="dist":fieldstr="sqrt(x^2+y^2)" </PARAM> </FILTER> Kind regards, Ilteber -- İlteber R. Özdemir
participants (2)
-
İlteber Özdemir
-
Slaughter, James W