Version 1 (modified by 10 years ago) ( diff ) | ,
---|
Using a Script
The script used (okc_to_curve.sh) can be found in the attachments below, along with the original sink file for frame 0 and its three projections. To run the script, copy it into your run directory with the .okc files and execute it. Immediately new curve files should be produced. With this method we simply plot the sinks as a curve file instead of as a pseudocolor variable inherent in the chombo (pmass). Currently this section is…
- Run the script (i.e.
sh okc_to_curve.sh
orbash okc_to_curve.sh
, on a super computer that uses slurm one could even usesbatch okc_to_curve.sh
and it will run instantaneously.) Now you'll have files for each sink_*.okc that are of the form sink_*.okc.xy.curve, .okc.yz.curve, and .okc.zx.curve. We will be visualizing these three curve files that are produced by the script.
- Import your .curve files through Add + > Curve > curve. Note the new database correlation created in Figure . If you want to order them similarly to mass1, mass2 and mass3 — then proceed with yz (x-axis, i.e. mass1), zx (y-axis, i.e. mass2), and xy (z-axis, i.e. mass3).
Potential VisIt Errors
Having once drawn your imported .curve files you'll encounter the following error:
The plot spatial dimensions do not match, 2D vs 3D. Plots need to be in windows with plots of the same spatial dimension.
Using similar method to P_mass yields.
Curve: viewer: Surface requires 2D plot data.
Summary
UNDER CONSTRUCTION
Attachments (9)
-
okc_to_curve.sh
(270 bytes
) - added by 10 years ago.
okc_to_curve script; run this in your out directory
-
sinks_00000.okc
(994 bytes
) - added by 10 years ago.
an example of a sink file already in your out directory corresponding to frame 0
-
sinks_00000.okc.xy.curve
(46 bytes
) - added by 10 years ago.
curve projection onto z
-
sinks_00000.okc.yz.curve
(46 bytes
) - added by 10 years ago.
curve projection onto x
-
sinks_00000.okc.zx.curve
(46 bytes
) - added by 10 years ago.
curve projection onto y
- 1.png (990.0 KB ) - added by 10 years ago.
- 2.png (944.5 KB ) - added by 10 years ago.
- 3.png (41.9 KB ) - added by 10 years ago.
- 4.png (882.7 KB ) - added by 10 years ago.
Note:
See TracWiki
for help on using the wiki.