Changes between Version 1 and Version 2 of MultiPhysics


Ignore:
Timestamp:
01/15/13 08:31:46 (12 years ago)
Author:
Jonathan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • MultiPhysics

    v1 v2  
    22
    33AstroBEAR supports hydrodynamics and AMR by default.  Other physical processes such as magnetic fields and source terms require extra overhead, so they must be enabled by the user.
     4
     5==== Tracers ====
     6Using tracers is fairly straightforward in AstroBEAR.  In your !ProblemModuleInit routine you can create additional tracers by calling
     7{{{
     8 CALL AddTracer(iTracer, 'TracerName')
     9}}}
     10where {{{iTracer}}} is an integer that corresponds to the slot in {{{Info%q}}} and !TracerName is an optional string description of the tracer that will show up in visit etc...
     11===== Tracers in Objects =====
     12Most objects such as [ClumpObjects Clumps], [DiskObjects Disks], etc... support tracer fields and will properly initialize the data associated with those.  All you have to do is initialize them as follows:
     13{{{
     14 CALL CreateClump(Clump)
     15 CALL AddTracer(Clump%iTracer, 'MyClumpTracer')
     16 CALL UpdateClump(Clump)
     17}}}
    418
    519==== MHD ====