Convert_to_HydroBase: A Module for Converting GiRaFFE variables into HydroBase variables, for Analysis

Original author: Zachariah B. Etienne.

Date: 2015-10-12 12:00:00 -0600 (Mon, 12 Oct 2015)

Abstract

GiRaFFEand HydroBasevariables are incompatible; The former uses 3-velocity defined as vi = uiu0, and the latter uses the Valencia formalism definition of vi.

Define the Valencia formalism’s definition of vi to be Wi”, and GiRaFFE’s definition ”vi Then

Wi = (vi + βi)(α), (1)

which comes from Eq 11 in the GiRaFFE code announcement paper:
http://arxiv.org/pdf/1501.07276.pdf.

Similarly,

vi = (α)Wi βi (2)

In addition, GiRaFFE needs the A-fields to be defined on staggered grids, and HydroBase does not yet support this option. The staggerings are defined in Table 1 of the GiRaFFE code announcement paper:
http://arxiv.org/pdf/1501.07276.pdf (page 15).

The long-term goal should be to adjust HydroBase and GiRaFFE so that this thorn is no longer necessary.

1 Parameters




convert_giraffe_to_hydrobase_every
Scope: private  INT



Description: How often to convert GiRaFFE primitive variables to HydroBase (Valencia formulation) primitive variables? Needed for some ET-based diagnostics. NOT needed for pure GiRaFFE runs.



Range   Default: (none)
0:*
zero (disable) or positive (every N iterations)






timelevels
Scope: shared from HYDROBASE INT



2 Interfaces

General

Implements:

giraffe_to_hydrobase

Inherits:

grid

hydrobase

admbase

giraffe

Uses header:

GiRaFFE_headers.h

3 Schedule

This section lists all the variables which are assigned storage by thorn WVUThorns/GiRaFFE_to_HydroBase. Storage can either last for the duration of the run (Always means that if this thorn is activated storage will be assigned, Conditional means that if this thorn is activated storage will be assigned for the duration of the run if some condition is met), or can be turned on for the duration of a schedule function.

Storage

NONE

Scheduled Functions

CCTK_INITIAL

  convert_giraffe_to_hydrobase

  convert giraffe-native variables to hydrobase

 

 After: giraffe_id_converter
 Language:c
 Type: function

CCTK_ANALYSIS

  convert_giraffe_to_hydrobase

  convert giraffe-native variables to hydrobase

 

 After: ml_bssn_evolcalcgroup
 Before: compute_bi_b2_poyn_fluxet
   particle_traceret
   volumeintegralgroup
   convert_to_mhd_3velocity
 Language:c
 Options: global-early
   loop-local
 Type: function