Version 2.3.5 dump2vtk command gets no particle
I get the latest version by apt installing, and after the results getted, when I using dump2vtk command, I got no particle information in the vtu file.
I checked the frame_vtk.cpp file, the code of reading header file in function "vector<string> get_filenames" is as follows:
"
if(version==0){
headerfile >> dummy >> dummy >> dummy;
headerfile >> dummystring >> dummy;
} else if ((version=
headerfile >> dummystring >> dummy;
headerfile >> dummy >> dummy >> dummy;
headerfile >> dummystring >> geo_version;
} else {
cerr << "unknown checkpoint version " << version << endl;
}
"
but there is no geo_version in the header file. So, the command cannot read the result file properly.
However, I mannually set a number in the position, so the command will read the result file, but the number of particles is wrong, it is always 2.
the command I used is "dump2vtk -i xxx -o vtk_xxx_ -rot -t 0 100 1000"
I found that if I ignored the "-rot", I will get the vtu file containing particles information correctly, However there are some problems in the paraview viewing, which I do not sure if it is my wrong process.
I do not known if I describe the problems properly, If it is, please check the problems, thank you.
Best Regards.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Dion Weatherley
- Solved:
- Last query:
- Last reply: