The FARGO_THORIN code developer's guide
|
Functions that handle the transport substep of a hydrodynamical time step. More...
#include "fargo.h"
Go to the source code of this file.
Variables | |
real | OmegaFrame |
static real | VMed [MAX1D] |
static int | Nshift [MAX1D] |
static real * | TempShift |
static real * | dq |
static PolarGrid * | RadMomP |
static PolarGrid * | RadMomM |
static PolarGrid * | ThetaMomP |
static PolarGrid * | ThetaMomM |
static PolarGrid * | ExtLabel |
static PolarGrid * | VthetaRes |
static PolarGrid * | Work |
static PolarGrid * | QRStar |
static PolarGrid * | Elongations |
int | TimeStep |
boolean | OpenInner |
boolean | FastTransport |
real | LostMass = 0.0 |
Functions that handle the transport substep of a hydrodynamical time step.
The FARGO algorithm is implemented here. The transport is performed in a manner similar to what is done for the ZEUS code (Stone & Norman, 1992), except for the momenta transport (we define a left and right momentum for each zone, which we declare zone centered; we then transport then normally, and deduce the new velocity in each zone by a proper averaging).
Definition in file TransportEuler.c.
void AdvectSHIFT | ( | PolarGrid * | array | ) |
Definition at line 113 of file TransportEuler.c.
References polargrid::Field, Nshift, and TempShift.
Referenced by OneWindTheta(), and OneWindThetaPebbles().
Definition at line 177 of file TransportEuler.c.
References polargrid::Nrad.
Referenced by Transport().
Definition at line 318 of file TransportEuler.c.
References polargrid::Field, polargrid::Nrad, OmegaFrame, and Rmed.
Referenced by Transport(), and TransportPebbles().
Definition at line 70 of file TransportEuler.c.
References FastTransport, polargrid::Field, InvRmed, polargrid::Nrad, Nshift, PI, Rmed, VMed, and YES.
Referenced by OneWindTheta(), and OneWindThetaPebbles().
Definition at line 197 of file TransportEuler.c.
References polargrid::Nrad.
Referenced by Transport().
Definition at line 232 of file TransportEuler.c.
References dq, InvDiffRmed, polargrid::Nrad, and Rmed.
Referenced by OneWindRad(), OneWindRadPebbles(), and VanLeerRadial().
Definition at line 275 of file TransportEuler.c.
References dq, polargrid::Nrad, PI, and Rmed.
Referenced by QuantitiesAdvection(), QuantitiesAdvectionPebbles(), and VanLeerTheta().
Definition at line 350 of file TransportEuler.c.
References polargrid::Field, polargrid::Nrad, OmegaFrame, and Rmed.
Referenced by Transport(), and TransportPebbles().
void InitTransport | ( | ) |
Definition at line 217 of file TransportEuler.c.
References CreatePolarGrid(), dq, NRAD, NSEC, and TempShift.
Referenced by InitEuler().
Definition at line 49 of file TransportEuler.c.
References ActualiseGas(), AdvecteLabel, ComputeStarRad(), EnergyEq, LostMass, RhoInt, RhoStar, VanLeerRadial(), and YES.
Referenced by Transport().
An alternative to OneWindRad() function for the 2nd fluid.
Definition at line 461 of file TransportEuler.c.
References ActualiseGas(), ComputeStarRad(), RhoInt, RhoStar, and VanLeerRadial().
Referenced by TransportPebbles().
Definition at line 138 of file TransportEuler.c.
References AdvecteLabel, AdvectSHIFT(), ComputeResiduals(), EnergyEq, FastTransport, QuantitiesAdvection(), and YES.
Referenced by Transport().
An alternative to OneWindTheta() function for the 2nd fluid.
Definition at line 476 of file TransportEuler.c.
References AdvectSHIFT(), ComputeResiduals(), FastTransport, QuantitiesAdvectionPebbles(), and YES.
Referenced by TransportPebbles().
Definition at line 159 of file TransportEuler.c.
References ActualiseGas(), AdvecteLabel, ComputeStarTheta(), EnergyEq, RhoInt, RhoStar, VanLeerTheta(), and YES.
Referenced by OneWindTheta().
An alternative to QuantitiesAdvection() function for the 2nd fluid.
Definition at line 494 of file TransportEuler.c.
References ActualiseGas(), ComputeStarTheta(), RhoInt, RhoStar, and VanLeerTheta().
Referenced by OneWindThetaPebbles().
void Transport | ( | PolarGrid * | Rho, |
PolarGrid * | Vrad, | ||
PolarGrid * | Vtheta, | ||
PolarGrid * | Energy, | ||
PolarGrid * | Label, | ||
real | dt | ||
) |
Definition at line 34 of file TransportEuler.c.
References AdvecteLabel, ComputeExtQty(), ComputeLRMomenta(), ComputeSpeQty(), ComputeVelocities(), OneWindRad(), OneWindTheta(), and YES.
An alternative to Transport() function for the 2nd fluid.
Definition at line 449 of file TransportEuler.c.
References ComputeLRMomenta(), ComputeVelocities(), OneWindRadPebbles(), and OneWindThetaPebbles().
Definition at line 384 of file TransportEuler.c.
References ComputeStarRad(), DivisePolarGrid(), polargrid::Field, InvSurf, OpenInner, PI, RhoInt, RhoStar, Rinf, Rsup, and YES.
Referenced by OneWindRad(), and OneWindRadPebbles().
Definition at line 417 of file TransportEuler.c.
References ComputeStarTheta(), DivisePolarGrid(), polargrid::Field, RhoInt, RhoStar, Rinf, Rsup, and Surf.
Referenced by QuantitiesAdvection(), and QuantitiesAdvectionPebbles().
|
static |
Definition at line 25 of file TransportEuler.c.
Referenced by ComputeStarRad(), ComputeStarTheta(), and InitTransport().
|
static |
Definition at line 27 of file TransportEuler.c.
|
static |
Definition at line 26 of file TransportEuler.c.
boolean FastTransport |
Definition at line 29 of file Interpret.c.
Referenced by ComputeResiduals(), OneWindTheta(), OneWindThetaPebbles(), and ReadVariables().
real LostMass = 0.0 |
Definition at line 32 of file TransportEuler.c.
Referenced by OneWindRad(), WriteBigPlanetFile(), and WritePlanetFile().
|
static |
Definition at line 22 of file TransportEuler.c.
Referenced by AdvectSHIFT(), and ComputeResiduals().
real OmegaFrame |
Definition at line 20 of file global.h.
Referenced by AccreteOntoPlanets(), AccretePebblesOntoPlanets(), AlgoGas(), BckpFieldsForBC(), ComputeLRMomenta(), ComputeVelocities(), DampingBoundary(), DampPebbles(), EtaPressureSupport(), FillVtheta(), GasMomentum(), GasTotalEnergy(), ImposeKeplerianEdges(), InitGasVelocity(), InitPebblesViaFlux(), main(), SourceTermsPebbles(), and SubStep1().
boolean OpenInner |
Definition at line 14 of file main.c.
Referenced by VanLeerRadial().
|
static |
Definition at line 27 of file TransportEuler.c.
|
static |
Definition at line 26 of file TransportEuler.c.
|
static |
Definition at line 26 of file TransportEuler.c.
|
static |
Definition at line 23 of file TransportEuler.c.
Referenced by AdvectSHIFT(), and InitTransport().
|
static |
Definition at line 26 of file TransportEuler.c.
|
static |
Definition at line 26 of file TransportEuler.c.
int TimeStep |
Definition at line 23 of file global.h.
Referenced by AdvanceSystemFromDisk(), and main().
Definition at line 21 of file TransportEuler.c.
Referenced by ComputeResiduals().
|
static |
Definition at line 26 of file TransportEuler.c.
|
static |
Definition at line 27 of file TransportEuler.c.