Need help with 3d plotting Vector Field.

AI Thread Summary
A user is seeking a graphical application with 3D plotting capabilities to visualize particles and their associated velocity vectors for a report due soon. They have successfully used VMD for plotting particle positions but are struggling to represent the velocity field in 3D. The data includes positions (x, y, z) and velocity components (vx, vy, vz). Recommendations include using Plot3D from NASA, which requires a flow file format and adjustments to input data for velocity representation. Another suggestion is FAST, also from NASA, though its suitability for the user's needs is uncertain. Additional resources mentioned include VPython for 3D graphics and Asymptote for creating 3D graphs, along with a suggestion to try Maple for plotting. The urgency of the request highlights the need for accessible and effective plotting tools.
anupamsps
Messages
2
Reaction score
0
I am in real need for a graphical application with 3d plotting capabilities.
I need to plot some particles given their space coordinate. This has been well managed using VMD. But i am clueless how to plot associated velocity vector with particles. So basicall i am looking for to plot velocity field.
I have already done similar things in 2d with xmgrace. such nice apps. but gnuplot is not good at all for 3d plotting specially the field.

My data sets are: for position plot in 3d (x, y, z)
for velocity fields in 3d (x, y, z, vx, vy, vz)
(it will look like some arrows in space)

Any help will be highly sppreciated and i am sad to say that i need suggestion urgently as my report submission date is very close.

regards.
 
Technology news on Phys.org
If you are on a linux box, you can use Plot3d which is available through the NASA Advanced Supercomputing Division (NAS) website: https://www.nas.nasa.gov/cgi-bin/software/start

You will have to apparently request it though.

If you do use it, note that it was originally developed for CFD. As such, it requires a flow file which contains 5 vectors (mass, x/y/z momentum, and energy). In order to get velocity vectors, you would need to write your velocity components as x/y/z momentum, and then make sure that density is 1.0 for all points. Energy can then be zero. The call to get the vector would then be
re/for/mgr/3d !--read a formatted multiblock 3d file
grid.file
results.file

fun 200 !--velcocity vector function
vec/sca=153 !--scale the velocity vector by velocity magnitude
[lots of options here]
pl !--plot


edit: You can also try FAST available at the same location, which isn't quite as tailored to CFD. I haven't really used it though, so I can't offer any advice.
 
Thanks, i'll definitely try ur suggestion. But any other easily available apps. Sending mail seems to me wired :(
 
That's all I got. You don't mean snail mail do you? It seemed to me that all you needed was to essentially register with the site.
 
http://vpython.org might be helpful.
There's also http://asymptote.sourceforge.net/gallery/3D%20graphs/
 
try Maple
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...
Back
Top