Re: [Nektar-users] How to write FLD file in uncompressed format.
Thank you David and Mike, Do you have an example for a small xml mesh file which has both face curvature block as well as edge curvature block that you can share? Thanks in advance, Cheers, Ashok. On Mon, Mar 26, 2018 at 3:37 AM David Moxey <D.Moxey@exeter.ac.uk> wrote:
Hi Ashok,
1) This description is pretty nontrivial, but in brief: data are organised into a contiguous block by element IDs (as dictated in the ELEMENT tag) which describes the coefficient space of the basis that's defined in the ELEMENT tag. It's then zlib-compressed and written as a base64 string into the XML file.
Honestly, based on the above, I wouldn't recommend to anyone writing their own FLD writer, so I have two suggestions:
- either extract the FieldIO classes from Nektar++ that handle this or link against LibUtilities to write this for you (may not be ideal); - a better option may be writing a FieldConvert module to handle this for you. An example of how we do this for Nek5000 (Lagrange-basis SEM code) is in library/FieldUtils/InputModules/InputNek5000.cpp
2) If no interior nodes are specified then they are blended automatically into the interior of the element through the basis functions, which essentially do a Gordon-Hall blending from what I remember. If you want to define the interior points explicitly, you can define a face curvature block as well as an edge curvature block.
Cheers,
Dave
On 26 Mar 2018, at 08:20, ashok jallepalli <ash.nani@gmail.com> wrote:
Hi, I am trying work with an external group to import high-order dG data written by their custom software into Nektar. As a part of the data transfer, they pose the following questions:
1) How is the data organized in the FLD file? (Is it possible to print the data in the FLD file uncompressed format to help engineer backward.)?
2) The documentation only explains what to do with an edge, but I’m not sure how that holds up for curved triangles. There are extra nodes on the interior of curved triangles, and where those go in the file.
Cheers, Ashok. _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
participants (1)
- 
                
                ashok jallepalli