Changes between Version 7 and Version 8 of u/madams/2DSinkCurves


Ignore:
Timestamp:
10/13/14 10:06:05 (10 years ago)
Author:
madams
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/madams/2DSinkCurves

    v7 v8  
    77
    88'''To execute:''' 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.
     9
     10= .okc vs. .curve =
     11
     12== .okc file, frame 200 ==
     13
     14Here is the sink_00200.okc file for the 200 frame of the colliding flow case of beta 10 shear 15. It gives the number of sinks created by that frame (1), along with the parameters one can visualize in visit with this file. From there it lists the size of the box to be visualized and the position of the sink, which is at (x, y, z) = (0.1677478283852131E+02,  0.3831239447159744E+02,  0.4289703099423755E+02).
     15
     16{{{                                                                                                                       
     17    16     1    16
     18 x
     19 y
     20 z
     21 rho
     22 px
     23 py
     24 pz
     25 E
     26 Bx
     27 By
     28 Bz
     29 FlowTracer1
     30 FlowTracer2
     31 sink_Jx
     32 sink_Jy
     33 sink_Jz
     34    0.00000E+00    0.62500E+02
     35    0.00000E+00    0.75000E+02
     36    0.00000E+00    0.75000E+02
     37    0.95709E+03    0.95709E+03
     38   -0.58895E+01   -0.58895E+01
     39   -0.13320E+01   -0.13320E+01
     40    0.24222E-01    0.24222E-01
     41    0.56828E+05    0.56828E+05
     42   -0.42501E-16   -0.42501E-16
     43    0.53776E-16    0.53776E-16
     44   -0.52042E-16   -0.52042E-16
     45    0.55316E+03    0.55316E+03
     46    0.40280E+03    0.40280E+03
     47   -0.69243E+01   -0.69243E+01
     48    0.80238E+02    0.80238E+02
     49   -0.48288E+02   -0.48288E+02
     50  0.1677478283852131E+02  0.3831239447159744E+02  0.4289703099423755E+02  0.9570942871389985E+03 -0.5889543397286745E+01 -0.1332004063672573E+01  0.2422194\
     51259471584E-01  0.5682775173382842E+05 -0.4250072516143177E-16  0.5377642775528102E-16 -0.5204170427930421E-16  0.5531618475564211E+03  0.4027989874621065E+\
     5203 -0.6924307163071299E+01  0.8023758108922658E+02 -0.4828838972325478E+02
     53}}}
     54
     55== .curve files, frame 200 ==
     56
     57The script simply pulls the (x,y,z) coordinates from the .okc file and lists them in two columns. One can clearly see that these correspond to the values in the .okc file:
     58
     59'''sink_00200.okc.yz.curve''' -- projected onto the yz plane (mass1).
     60
     61{{{
     620.3831239447159744E+02 0.4289703099423755E+02
     63}}}
     64
     65'''sink_00200.okc.zx.curve''' -- projected onto the zx plane (mass2).
     66
     67{{{
     680.4289703099423755E+02 0.1677478283852131E+02
     69}}}
     70
     71
     72'''sink_00200.okc.xy.curve''' -- projected onto the xy plane (mass3).
     73
     74{{{
     750.1677478283852131E+02 0.3831239447159744E+02
     76}}}
     77
    978
    1079= Visualizing Sink Curves =
     
    34103= Summary =
    35104
    36 UNDER CONSTRUCTION
     105Execute okc_to_curve.sh script in your out directory. Visualize the data you want to project your sinks onto in VisIt. Use the curve data to visualize the corresponding sinks for the data your visualizing. Adjust the curve attributes in visit.
    37106