Changes between Version 20 and Version 21 of u/madams/3DCDMVisualizationInstructions


Ignore:
Timestamp:
10/11/14 18:02:29 (10 years ago)
Author:
madams
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/madams/3DCDMVisualizationInstructions

    v20 v21  
    5959
    6060
    61 '''In Summary:''' We imported the data sets we want to visualize and made a database correlation for them. One at a time, we elevated each set with zero height, and then transformed with rotation matrices in order to displace them onto their appropriate axis. In the end we have a product that illustrates the column density maps down the barrel (parallel to the magnetic field) of two colliding flows, along with the two perpendicular CDM cases flanking its sides.
     61=== Summary ===
     62We imported the data sets we want to visualize and made a database correlation for them. One at a time, we elevated each set with zero height, and then transformed with rotation matrices in order to displace them onto their appropriate axis. In the end we have a product that illustrates the column density maps down the barrel (parallel to the magnetic field) of two colliding flows, along with the two perpendicular CDM cases flanking its sides.
    6263
    6364= Projecting Sinks =
     
    92933. Now we do similarly for the sinks on mass2 and mass3. Their projection, elevation and transform operator attributes can be seen in '''Figures 12 and 13'''.
    9394
    94 UNDER CONSTRUCTION
     95[[Image(pmass2project.png, 25%)]] [[Image(pmass2elevate.png, 25%)]] [[Image(pmass2lineartrans.png, 25%)]]
     96
     97'''Figures 12.''' The projection, elevate and transform operator attributes we designate to project P_mass onto mass2. Note the change in linear transformation and the axis of projection.
     98
     99[[Image(pmass3project.png, 25%)]] [[Image(pmass3elevate.png, 25%)]] [[Image(pmass3lineartrans.png, 25%)]]
     100
     101'''Figures 13.''' The projection, elevate and transform operator attributes we designate to project P_mass onto mass3. Note the change in linear transformation and the axis of projection.
     102
     1034. The end product should look like '''Figure 14'''.
     104
     105[[Image(csinkfinalpmass.png, 75%)]]
     106
     107'''Figure 14.''' P_mass is successfully projected onto each .bov.
     108
     109=== Potential VisIt Errors ===
     110
     111Using both the Elevate and Transform operators yield:
     112
     113{{{
     114Pseudocolor:  viewer: Surface requires 2D plot data.
     115}}}
     116
     117Using both the Project and Transform operators yield:
     118
     119{{{
     120The plot spatial dimensions do not match, 2D vs 3D. Plots need to be in windows with plots of the same spatial dimension.
     121}}}
     122
     123Both of these are elleviated by using all three operators in the order of Project, Elevate and then Transform. Transform could also go first, however VisIt seems less buggy if you denote Project before Elevate. Next to the operators are arrows than can allow you to tell VisIt what you want it to enact first.
     124
     125=== Summary ===
     126We edited our database correlation for the imported chombo files, and added P_mass to our 3D CDM visualization. Similarly to how we created our 3D CDM box, we elevated P_mass three times with zero height, and then transformed with rotation matrices in order to displace them onto their appropriate axes. Unlike the procedure to create our 3D box, we needed to make use of the projection operator due to the particular data type P_mass uses which conflicts with our goal of making a 3D simulation. Once all operators are applied, one will be able to see the sinks on their 3D visualization.
    95127
    96128== Using a Script ==
    97 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).
     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. 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).
     130
     131=== Summary ===
    98132
    99133UNDER CONSTRUCTION