[root]/CCA/Components/OnTheFlyAnalysis
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 105 (100.0%) | 4182 (100.0%) | 39.8 |
harman | 88 (83.8%) | 4142 (99.0%) | 47.0 |
jsutherland | 17 (16.2%) | 40 (1.0%) | 2.3 |
This one has been a long time coming.
Rip out the standard namespace opening that has been polluting header files throughout the framework. This crept into all sorts of places.
DO NOT open namespaces in header files. Ever.
39 lines of code changed in 16 files:
putting lastWriteTimeLabel into DW
0 lines of code changed in 2 files:
Use unique strings to identify label names for lastWriteTime. If you don't
then there will be problems if multiple modules are used.
3 lines of code changed in 5 files:
doAnalysis()
If the variable lastWriteTime is not in the dw then set it to 0.
The user may want to restart an uda that did not have the Module turned on.
This logic allows that.
Added missing logic to avoid calculation if time is outside of start & stop times.
73 lines of code changed in 11 files:
Fixed a multi-patch bug that resulted from using exclusive logic when we needed inclusive logic.
204 lines of code changed in 2 files:
Adjust the iterator to include the x+,y+,z+ faces in the extra cells when
outputing SFC(*) variables.
63 lines of code changed in 2 files:
The user can now output SFC(X,Y,Z)Variables, doubles and Vectors.
cavityFlow_dx.ups
- added example usage.
58 lines of code changed in 2 files:
planeExtract.cc
- doAnalysis()
Output da separate file for each patch
combinePlaneData
- script for gluing together plane data for each variable, timestep, and level.
This "shortcut" approach may be slow for large planes
53 lines of code changed in 1 file:
Added abilities for writing CCVariable<double,int,Vector,Stencil7> variables
**only works in serial**
264 lines of code changed in 2 files:
Added new on-the-fly analysis module, plane extract.
This is designed to save instantaneous data for comparing with PIV data.
It only dumps out the directory structure, data is not being written, more to come....
Usage:
<DataAnalysis>
<Module name="planeExtract">
<material>Atmosphere</material>
<samplingFrequency> 1e10 </samplingFrequency>
<timeStart> 0.001 </timeStart>
<timeStop> 100 </timeStop>
<Variables>
<analyze label="press_CC" matl="0"/>
<analyze label="rho_CC"/>
<analyze label="temp_CC"/>
<analyze label="delP_Dilatate"/>
</Variables>
<planes>
<plane name="X_plane">
<startingPt> [0.0, 0.5, 0] </startingPt>
<endingPt> [1.0, 0.5, 0] </endingPt>
</plane>
<plane name="Y_plane">
<startingPt> [0.5, 0.0, 0] </startingPt>
<endingPt> [0.5, 1.0, 0] </endingPt>
</plane>
</planes>
</Module>
</DataAnalysis>
977 lines of code changed in 6 files:
Fix a bug in particleExtract.
1 lines of code changed in 1 file:
- using printSchedule and printTask()
- changed logic in doMPMOnLevel()
- on scheduleInitialize on the finest level.
17 lines of code changed in 1 file:
Added ability to output on multiple levels.
The user can specify
<analyze label="g.velocity" matl="0" level = "-1"/>
<analyze label="press_CC" matl="0" level = "0"/>
where -1 equals finest level. The default is to compute the min/max on all levels and all matls.
I'm now using a std::vector<struct >instead of several std::vectors to keep track of the
variable label, matl and level.
185 lines of code changed in 2 files:
flush the file pointer. Some machines need a good kick in the pants
before they'll write the data.
2 lines of code changed in 1 file:
added more diagnostic output when SCI_DEBUG is turned on.
0 lines of code changed in 2 files:
BRUTE FORCE HACK.
Instead of storing the file pointers in the DataWarehouse just open the
file and then close it when you're done writing to it. This will be slow but
it will get us moving for now.
28 lines of code changed in 1 file:
Added fflush statements. Stampede needs to be flushed. If you don't then nothing is ever written.
4 lines of code changed in 2 files:
Added "#" to output file header so octave and gnuplot will ignore it.
2 lines of code changed in 2 files:
Use unique FileInfo varLabel names. This prevents clashes when multiple
modules are used.
4 lines of code changed in 2 files:
Turned off debugging output.
added fflush() commented out.
7 lines of code changed in 1 file:
Passing restart_problem_spec into the OnTheFly Analysis modules.
1stLawThermo: now parsing the restart_problem_spec on a
restart for the MPM material properties
43 lines of code changed in 19 files:
It now works on a single level.
167 lines of code changed in 2 files:
more work on it. Next is to save & retrieve data from DW.
177 lines of code changed in 2 files:
Added a new on-the-fly analysis module that will compute the min/max
of variable. This is in very rough shape.
782 lines of code changed in 4 files:
Now using average value, between two cells for enthalpy entering/leaving the control volume.
95 lines of code changed in 1 file:
added Kinetic energy contributions to the flux in/out of the system.
22 lines of code changed in 2 files:
- Removed a hack.
- The mpm specific heat is parsed from the input file and stored in a global map.
- Added a list of assumptions to the header of the output file.
25 lines of code changed in 2 files:
using a SFCVars iterator option
- multiply cv * gamma in the flux calculation
- removed delT multiplication.
9 lines of code changed in 1 file:
added hack to fix the compile issue. To fix the linking error is non-trivial.
3 lines of code changed in 1 file:
90% done. Now testing.
228 lines of code changed in 2 files:
It's partially working. Still need to incorporate the MPM energy contributions
and user defined planes for computing the in/out fluxes.
442 lines of code changed in 2 files:
More work on 1st law analysis module. It needs to be filled in.
205 lines of code changed in 3 files: