******************* 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, I was trying to use the isocontour module of FieldConvert, and first tried a very simple case. When I load the dat file to ParaView using Tecplot Viewer, I get the whole mesh and the fields with it. So, it is not a set of points of the isocontour (should be a set of lines in my case). I also checked the dat file, the first line is Variables = x, y, u, v, p. Is it possible that the module does not work for 2D? The command I am using is: FieldConvert -v -m isocontour:fieldid=0:fieldvalue=0.0:smooth:globalcondense:removesmallcontour=100 timeSteps/mesh.xml system/session.xml timeSteps/chkFiles/mesh_135.chk/ out.dat or FieldConvert -v -m isocontour:fieldid=0:fieldvalue=0.0 timeSteps/mesh.xml system/session.xml timeSteps/chkFiles/mesh_135.chk/ out.dat I check the contours from ParaView, and what I am trying to get (u=0 lines) exists. I would be happy if you can help me with this. PS: On page 121 of the user guide (5.2.0), there is a typo: "5.6.22 Isocontour extraction: iscontour module" (should be isocontour module). Kind regards, Ilteber
******************* 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 all, Is there anybody who had a similar problem with the isocontour module? Cheers, Ilteber -- İlteber R. Özdemir On Tue, 18 Oct 2022 at 22:43, İlteber Özdemir <rilteber@gmail.com> wrote:
Hi,
I was trying to use the isocontour module of FieldConvert, and first tried a very simple case. When I load the dat file to ParaView using Tecplot Viewer, I get the whole mesh and the fields with it. So, it is not a set of points of the isocontour (should be a set of lines in my case). I also checked the dat file, the first line is Variables = x, y, u, v, p. Is it possible that the module does not work for 2D? The command I am using is:
FieldConvert -v -m isocontour:fieldid=0:fieldvalue=0.0:smooth:globalcondense:removesmallcontour=100 timeSteps/mesh.xml system/session.xml timeSteps/chkFiles/mesh_135.chk/ out.dat or FieldConvert -v -m isocontour:fieldid=0:fieldvalue=0.0 timeSteps/mesh.xml system/session.xml timeSteps/chkFiles/mesh_135.chk/ out.dat
I check the contours from ParaView, and what I am trying to get (u=0 lines) exists. I would be happy if you can help me with this.
PS: On page 121 of the user guide (5.2.0), there is a typo: "5.6.22 Isocontour extraction: iscontour module" (should be isocontour module).
Kind regards, Ilteber
Hi Ilteber, Just having a look at the code in library/FieldUtils/ProcessModules/ProcessIsoContour.cpp - it doesn't look like any 2D functionality exists unfortunately. So perhaps this is the cause of your issue. How big is the file? The contour filter in ParaView should give you a similar result and will work in 2D - though not sure how smooth it would be in comparison. If you use the new high-order vtu format that I believe has been merged in recently - it should all be fairly smooth. Not sure if you're aware but you can also use the tag fieldstr="u" rather than fieldid - just a bit more explicit than using the index. Kind Regards, James. ________________________________ From: nektar-users-bounces@imperial.ac.uk <nektar-users-bounces@imperial.ac.uk> on behalf of İlteber Özdemir <rilteber@gmail.com> Sent: 18 October 2022 21:43 To: nektar-users <nektar-users@imperial.ac.uk> Subject: [Nektar-users] isocontour Module 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. Hi, I was trying to use the isocontour module of FieldConvert, and first tried a very simple case. When I load the dat file to ParaView using Tecplot Viewer, I get the whole mesh and the fields with it. So, it is not a set of points of the isocontour (should be a set of lines in my case). I also checked the dat file, the first line is Variables = x, y, u, v, p. Is it possible that the module does not work for 2D? The command I am using is: FieldConvert -v -m isocontour:fieldid=0:fieldvalue=0.0:smooth:globalcondense:removesmallcontour=100 timeSteps/mesh.xml system/session.xml timeSteps/chkFiles/mesh_135.chk/ out.dat or FieldConvert -v -m isocontour:fieldid=0:fieldvalue=0.0 timeSteps/mesh.xml system/session.xml timeSteps/chkFiles/mesh_135.chk/ out.dat I check the contours from ParaView, and what I am trying to get (u=0 lines) exists. I would be happy if you can help me with this. PS: On page 121 of the user guide (5.2.0), there is a typo: "5.6.22 Isocontour extraction: iscontour module" (should be isocontour module). Kind regards, Ilteber
participants (2)
- 
                
                İlteber Özdemir
- 
                
                Slaughter, James W