wiki:OutflowObjects

Version 2 (modified by Jonathan, 10 years ago) ( diff )

BackLinksMenu()

http://astrobear.pas.rochester.edu/trac/blog/johannjc08192013

Outflow Objects

Outflow Objects can be created within the ProblemModuleInit routine in problem.f90. To create outflows you first need to add a USE statements to your problem.f90

  USE Outflows

Then in ProblemModuleInit declare a variable pointer of type OutflowDef

  TYPE(OutflowDef), POINTER :: Outflow

Then create the Outflowand set the various parameters as in the following example

    CALL CreateOutflow(Outflow)
    Outflow%velocity=20d0
    Outflow%open_angle=1.57
    Outflow%radius=2
    CALL UpdateOutflow(Outflow)

Here is a full list of the various Outflow parameters

      INTEGER :: Scale=[LINEARSCALE], LOGSCALE
      REAL(KIND=qPREC) :: minvalue=[MINOVERALL], or any real number
      REAL(KIND=qPREC) :: maxvalue=[MAXOVERALL], or any real number
      INTEGER :: nBins=[100], or any integer
      INTEGER :: WeightField=[VOLUME], MASS, or any valid FieldID

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.