Giter Club home page Giter Club logo

Comments (12)

hguo avatar hguo commented on August 27, 2024 1

Hi,

There is a single-timestep data in the sample_data directory. You can follow to create a file list and use the extractor_glgpu3D executable to generate results.

Here's another way which is not documented:

$ extractor_glgpu3D_simple GL3D_Xfieldramp_inter_0080_cop.dat

After the execution, you will see a text-format result GL3D_Xfieldramp_inter_0080_cop.dat.vortex in the same data directory.

from vortexfinder2.

YanlinWangWang avatar YanlinWangWang commented on August 27, 2024

Thank you for your support. I have successfully run the results.
But this brings up a new question. What is the format of the .dat file and what tools can I use to open it.
And no viewer tool is generated
Thanks again

from vortexfinder2.

hguo avatar hguo commented on August 27, 2024

Hi,

The .dat files (BDAT format) are not in any standard format but designed by our users. A reader is available at https://github.com/hguo/vortexfinder2/blob/master/src/io/GLGPU_IO_Helper.cpp#L177

There are two ways to visualize data: ParaView and a Qt4/OpenGL viewer. For ParaView, you can download the official ParaView release, enable the "VortexFinder" plugins, and load the .dat file with the BDAT format in ParaView. For the Qt/OpenGL viewer, you will need Qt4 and build with WITH_QT=ON, and run viewer1 in the command line.

That being said, I would recommend ParaView. The Qt/OpenGL viewer is mainly for my own debugging purpose and no longer maintained.

from vortexfinder2.

YanlinWangWang avatar YanlinWangWang commented on August 27, 2024

thank you for your reply
But I have a lot of problems when using sample data

I ran ./convertor GL3D_Xfieldramp_inter_0080_cop.dat txt and found output txt is empty.
./dist GL3D_Xfieldramp_inter_0080_cop.dat show me Usage: ./dist
I don't understand the meaning of these parameters.
./extractor_glgpu3D From your example, need file which contains a list of GLGPU data file.
Could you provide this data file or provide a method to generate the file
This will be very helpful for my research!
Thank you very much, this is my contact [email protected]

from vortexfinder2.

hguo avatar hguo commented on August 27, 2024

I have uploaded the list file to the sample_data directory: GL3D_Xfieldramp_inter_0080_cop.dat.list. It contains one single line of .dat filename. You can run ./bin/extractor_glgpu3D GL3D_Xfieldramp_inter_0080_cop.dat.list and find the outputs in the same working directory.

from vortexfinder2.

YanlinWangWang avatar YanlinWangWang commented on August 27, 2024

Thanks for your reply, I successfully run out.

But only one vlines file is generated. Is this correct?

I have a lot of problems when compiling the plugin.Could you please provide me with libBDATReader.dylib and libGLGPUVortexFilter.dylib files.
thank you very much

from vortexfinder2.

hguo avatar hguo commented on August 27, 2024

Yes, only one timestep is provided in the code repository.

Re. the plugins, you can download the official ParaView release at https://www.paraview.org/, enable the "VortexFinder" plugins, and load the .dat file with the BDAT format in ParaView. You do not have to compile your own plugins.

from vortexfinder2.

YanlinWangWang avatar YanlinWangWang commented on August 27, 2024

I have installed paraview but I did not find the "VortexFinder" plugin and there is no BDATReader. Can you tell me how to find them? Thank you

from vortexfinder2.

hguo avatar hguo commented on August 27, 2024
  1. Download ParaView 5.8.1 from the official website
  2. Tools --> Manage Plugins. Locate and load "VortexFinder" in Local Plugins column.
  3. Open the example data, and choose "BDAT Reader" when asked how to open the data.

from vortexfinder2.

YanlinWangWang avatar YanlinWangWang commented on August 27, 2024

According to your suggestion, I successfully opened the data file. After opening, the GLGPUVortexFilter option is grayed out.Can you give me some help?

from vortexfinder2.

hguo avatar hguo commented on August 27, 2024

Click apply after opening the data. You should be able to use the filter then. This process is similar to other filters in ParaView; see ParaView tutorials for more details.

from vortexfinder2.

YanlinWangWang avatar YanlinWangWang commented on August 27, 2024

Thanks!

from vortexfinder2.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.