Does FieldConverts interppointdatatofld module do 3D?
Dear All, i am trying to convert a 3D .pts file to a .fld file using FieldConverts "interppointdatatofld" module. Is that possible? What would i need to specify for the interpcoord option then? I also found a typo in FieldConvert. This is the MR: http://gitlab.nektar.info/nektar/merge_requests/389 Cheers, Kilian PS: I am currently running: ~/code/nektar/utilities/PostProcessing/FieldConvert/Tests # FieldConvert -v -e -m interppointdatatofld:interpcoord=3 chan3D.xml chan3D_pts.pts chan3D_pts.fld with the file chan3D_pts.pts containing: <?xml version="1.0" encoding="utf-8"?> <NEKTAR> <POINTS DIM="3" FIELDS="p"> -1.0 -1.0 -1.0 1.0E5 -1.0 -1.0 1.0 1.1E5 -1.0 1.0 1.0 1.2E5 -1.0 1.0 -1.0 1.3E5 1.0 -1.0 -1.0 1.4E5 1.0 -1.0 1.0 1.5E5 1.0 1.0 1.0 1.6E5 1.0 1.0 -1.0 1.7E5 </POINTS> </NEKTAR> but that doesnt seem to work. -- Kilian Lackhove, M.Sc. Fachgebiet für Energie- und Kraftwerkstechnik L1|08 114 Technische Universität Darmstadt Jovanka-Bontschits-Straße 2 D-64287 Darmstadt Germany Tel.: +49 6151 16 - 5186 Fax: +49 6151 16 - 6555 e-mail: lackhove@ekt.tu-darmstadt.de
Hi Killian, I set up this module so that I could make a 1D .fld file for setting up a boundary condition for a 2D simulation I had not yet considered doing it in 2D or 3D. Looking at the module it would seem we need a more general interpolation routine in m_fieldPts. Essentially the routine is quite straightforward 1) Get physical point 2) Interpolate the .pts data to this point 3) Do a local forward transform. Stages (1) and (3) should be generic and not need any modification. It is step (2) that will be missing. Hope all is going well. Cheers, Spencer. On 23 Sep 2014, at 17:20, Kilian Lackhove <lackhove@ekt.tu-darmstadt.de<mailto:lackhove@ekt.tu-darmstadt.de>> wrote: Dear All, i am trying to convert a 3D .pts file to a .fld file using FieldConverts "interppointdatatofld" module. Is that possible? What would i need to specify for the interpcoord option then? I also found a typo in FieldConvert. This is the MR: http://gitlab.nektar.info/nektar/merge_requests/389 Cheers, Kilian PS: I am currently running: ~/code/nektar/utilities/PostProcessing/FieldConvert/Tests # FieldConvert -v -e -m interppointdatatofld:interpcoord=3 chan3D.xml chan3D_pts.pts chan3D_pts.fld with the file chan3D_pts.pts containing: <?xml version="1.0" encoding="utf-8"?> <NEKTAR> <POINTS DIM="3" FIELDS="p"> -1.0 -1.0 -1.0 1.0E5 -1.0 -1.0 1.0 1.1E5 -1.0 1.0 1.0 1.2E5 -1.0 1.0 -1.0 1.3E5 1.0 -1.0 -1.0 1.4E5 1.0 -1.0 1.0 1.5E5 1.0 1.0 1.0 1.6E5 1.0 1.0 -1.0 1.7E5 </POINTS> </NEKTAR> but that doesnt seem to work. -- Kilian Lackhove, M.Sc. Fachgebiet für Energie- und Kraftwerkstechnik L1|08 114 Technische Universität Darmstadt Jovanka-Bontschits-Straße 2 D-64287 Darmstadt Germany Tel.: +49 6151 16 - 5186 Fax: +49 6151 16 - 6555 e-mail: lackhove@ekt.tu-darmstadt.de _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users Spencer Sherwin McLaren Racing/Royal Academy of Engineering Research Chair, Professor of Computational Fluid Mechanics, Department of Aeronautics, Imperial College London South Kensington Campus London SW7 2AZ s.sherwin@imperial.ac.uk<mailto:s.sherwin@imperial.ac.uk> +44 (0) 20 759 45052
participants (2)
- 
                
                Kilian Lackhove
- 
                
                Sherwin, Spencer J