dynamics.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  t_dynamics

Functions

void DynaEndIter (void)
void DynaStartZone (void)
void DynaEndZone (void)
void DynaIonize (void)
double DynaPresChngFactor (void)
void DynaZero (void)
void DynaCreateArrays (void)
void ParseDynaWind (char *chCard)
void ParseDynaTime (char *chCard)
void DynaPrtZone (void)
void DynaPunch (FILE *ipPnunit, char chJob)
void DynaPunchTimeDep (FILE *ipPnunit, const char *chJob)
float DynaFlux (double depth)

Variables

EXTERN struct t_dynamics dynamics


Function Documentation

void DynaCreateArrays ( void   ) 

void DynaEndIter ( void   ) 

void DynaEndZone ( void   ) 

DynaEndZone called at end of iteration when advection is turned on

Definition at line 1253 of file dynamics.cpp.

References DEBUG_ENTRY, DEBUG_EXIT, t_radius::depth, DIAG_PRINT, DivergePresInteg, t_radius::drad, DynaFlux(), ioQQQ, radius, wind, and t_wind::windv.

Referenced by ZoneEnd().

Here is the call graph for this function:

float DynaFlux ( double  depth  ) 

void DynaIonize ( void   ) 

double DynaPresChngFactor ( void   ) 

DynaPresChngFactor, called from PressureChange to evaluate new density needed for current conditions and wind solution, returns ratio of new to old density, called when wind velocity is negative for D-critical solutions

Todo:
2 this should be setable at run time as per Robin Williams email rshock = 4e16;

Todo:
2 Switch to supersonic when bad enough failure for STRONGD -- need to improve this logic when the p(rho) data is cleaner

Definition at line 220 of file dynamics.cpp.

References ANTISHOCK, ANTISHOCK2, ASSERT, t_dynamics::chPresMode, DEBUG_ENTRY, DEBUG_EXIT, dense, t_radius::depth, DIAG_PRINT, DivergePresInteg, DynaFlux(), dynamics, t_dense::gas_phase, ioQQQ, ipHYDROGEN, t_pressure::lgContRadPresOn, t_dynamics::lgSetPresMode, t_pressure::lgSonicPointAbortOK, t_dynamics::lgStatic, MAX2, t_trace::nTrConvg, nzone, ORIGINAL, t_pressure::PresGasCurr, t_pressure::PresInteg, t_pressure::PresRamCurr, pressure, PresTotCurrent(), t_pressure::PresTotlCorrect, t_pressure::PresTotlCurr, t_pressure::PresTotlInit, radius, RT_radiative_acceleration(), SHOCK, t_dynamics::ShockDepth, t_dynamics::ShockMach, sign(), SMALLFLOAT, STRONGD, SUBSONIC, SUPERSONIC, trace, wind, t_wind::windv, and t_dense::xMassDensity.

Referenced by lgConvPres().

Here is the call graph for this function:

void DynaPrtZone ( void   ) 

void DynaPunch ( FILE *  ipPnunit,
char  chJob 
)

DynaPunch punch info related to advection

Parameters:
ipPnunit 
chJob 

Definition at line 2428 of file dynamics.cpp.

References AdvecSpecificEnthalpy, t_dynamics::Cool, t_dynamics::dCooldT, DEBUG_ENTRY, dense, t_radius::depth_mid_zone, dynamics, t_phycon::EnthalpyDensity, t_dense::gas_phase, t_dynamics::Heat, t_thermal::htot, ipHYDROGEN, phycon, radius, t_dynamics::Rate, t_dynamics::Source, thermal, and TotalInsanity().

Referenced by PunchDo().

Here is the call graph for this function:

void DynaPunchTimeDep ( FILE *  ipPnunit,
const char *  chJob 
)

DynaPunchTimeDep - punch info about time dependent solnt

Parameters:
ipPnunit 
*chJob 

Definition at line 2320 of file dynamics.cpp.

References cdIonFrac(), cdTemp(), t_colden::colden, colden, DEBUG_ENTRY, DEBUG_EXIT, dense, dynamics, findspecies(), t_dense::gas_phase, ipCOL_HTOT, ipHYDROGEN, SDIV(), time_continuum_scale, t_dynamics::time_elapsed, timestep, and TotalInsanity().

Referenced by PunchDo().

Here is the call graph for this function:

void DynaStartZone ( void   ) 

void DynaZero ( void   ) 

void ParseDynaTime ( char *  chCard  ) 

ParseDynaTime parse the time command, called from ParseCommands, in dynamics.c

Parameters:
*chCard 

Definition at line 1967 of file dynamics.cpp.

References advection_set_detault(), caps(), cdEXIT(), t_dense::chDenseLaw, DEBUG_ENTRY, DEBUG_EXIT, dense, dynamics, FFmtRead(), INPUT_LINE_LENGTH, input_readarray(), ioQQQ, t_dynamics::lgStatic, lgtime_dt_specified, lgtime_Recom, MALLOC, nMatch(), NoNumb(), NTIME, nTime_flux, time_dt, time_dt_scale_factor, time_elapsed_time, time_flux_ratio, timestep, timestep_init, timestep_stop, wind, t_wind::windv, and t_wind::windv0.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseDynaWind ( char *  chCard  ) 

ParseDynaWind parse the wind command, called from ParseCommands

Parameters:
*chCard 

Todo:
2 Need to include divergence terms in pressure balance if flux index is != 0

Todo:
2 Need to include divergence terms in pressure balance if flux index is != 0

Definition at line 2110 of file dynamics.cpp.

References advection_set_detault(), BIGDOUBLE, cdEXIT(), t_dense::chDenseLaw, t_wind::comass, DEBUG_ENTRY, DEBUG_EXIT, dense, dynamics, FFmtRead(), t_dynamics::FluxCenter, t_dynamics::FluxIndex, t_dynamics::FluxScale, INPUT_LINE_LENGTH, ioQQQ, t_pressure::lgContRadPresOn, t_dynamics::lgFluxDScale, t_wind::lgWindOK, nMatch(), NoNumb(), pressure, wind, t_wind::windv, and t_wind::windv0.

Referenced by ParseCommands().

Here is the call graph for this function:


Variable Documentation

EXTERN struct t_dynamics dynamics


Generated for cloudy by doxygen 1.5.9