wiki:ProcessingObjects

BackLinksMenu

Processing Objects

There are several processing objects that can be used to ana1lyze the results of simulations - or append calculated quantities to your chombo file. Each processing object needs to be created inside of the ProblemModuleInit() routine.

  • Processing will be done during runtime by default
  • Processing can be also done after the simulation has completed by setting 'lPostProcess=.true.' in global.data.
    • This allows for adding additional processing objects to your problem module, recompiling, and then generating the results.
  • Postprocessing will begin at the RestartFrame

There are also two classes of processing objects - those that store values on a cell by cell basis within the AMR mesh and are accessible from the chombo file, and those that output scalars(TotalObject), vectors(HistogramObject, SpectraObject), or fixed grid data(ProjectionObjects, PdfObjects) at each frame. Additionally many objects support ShapeObjects that define the region of data to included in the total, histogram, projection, pdf, spectra, etc…

Those that store various diagnostics within the AMR Mesh are listed below and are utilized by adding the appropriate code to your ProblemModuleInit() subroutine

USE ProcessingDeclarations
CALL AddDiagnosticVar(iField, [name])}}}
  • This will add the desired field to the chombo file.
  • If you want to provide a custom name you can pass a second argument - otherwise it will be named using the default name for the field
  • If you add this prior to PostProcessing - you will need to set lReOutput in global_declarations.f90 =.true.

Those that have there own form of IO

Last modified 6 years ago Last modified on 12/13/18 15:59:25
Note: See TracWiki for help on using the wiki.