Changes between Version 25 and Version 26 of u/madams/3DCDMVisualizationInstructions


Ignore:
Timestamp:
10/12/14 17:00:40 (10 years ago)
Author:
madams
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/madams/3DCDMVisualizationInstructions

    v25 v26  
    127127
    128128== Using a Script ==
    129 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...
     129The 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 (see '''Step 1'''). 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 (P_mass). Currently we're looking into the possibility of projecting .curve files in VisIt for a 3D construction. If you're visualizing one face of a bov file (2D data), please see this page on [https://astrobear.pas.rochester.edu/trac/wiki/u/madams/2DSinkCurves 2D Sink Curves].
    130130
    131 0. Run the script (i.e. {{{sh okc_to_curve.sh}}} or {{{bash okc_to_curve.sh}}}, on a super computer that uses slurm one could even use {{{sbatch 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.
     1311. Run the script (i.e. {{{sh okc_to_curve.sh}}} or {{{bash okc_to_curve.sh}}}, on a super computer that uses slurm one could even use {{{sbatch 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.
     132
     1332. 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).
     134
     1353. Currently, if one attempts to visualize curves in a 3D spatial dimension we run into the following:
    132136
    133137
     138=== Potential VisIt Errors ===
    134139
     140Having once drawn your imported .curve files you'll encounter the following error:
    135141
    136 === Summary ===
     142{{{
     143The plot spatial dimensions do not match, 2D vs 3D. Plots need to be in windows with plots of the same spatial dimension.
     144}}}
    137145
    138 UNDER CONSTRUCTION
     146Using similar method to P_mass yields:
     147
     148{{{
     149Curve:  viewer: Surface requires 2D plot data.
     150}}}
     151
     152Initial thoughts are to use the extrude operator under geometry, however it still yields comparable errors. Using curve files may not be the best way to visualize sink particles in 3D space in VisIt. For now it seems using P_mass, and making a 2D visualization with curves are most optimal.
    139153
    140154