Functions

prob/noh.c File Reference

Spherical Noh implosion problem, from Liska & Wendroff, section 4.5 (figure 4.7). More...

Go to the source code of this file.

Functions

void noh3d_oib (GridS *pGrid)
 Sets boundary condition on right X1 boundary (oib) for noh3d test.
void noh3d_ojb (GridS *pGrid)
 Sets boundary condition on right X2 boundary (ojb) for noh3d test.
void noh3d_okb (GridS *pGrid)
 Sets boundary condition on right X3 boundary (okb) for noh3d test.
void problem (DomainS *pD)
 Problem initial conditions, edited for each problem.
void problem_write_restart (MeshS *pM, FILE *fp)
 Problem specific subroutine for use with writing restart files, Edited for each problem.
void problem_read_restart (MeshS *pM, FILE *fp)
 Problem specific subroutine for use with reading restart files, Edited for each problem.
ConsFun_t get_usr_expr (const char *expr)
 Sets pointer to expression for special output data.
VOutFun_t get_usr_out_fun (const char *name)
 Returns a user defined output function pointer.
void Userwork_in_loop (MeshS *pM)
 Problem work executed during each step in the main Athena loop, see main.c.
void Userwork_after_loop (MeshS *pM)
 Problem work executed after the main Athena loop, see main.c Edited for each problem.

Detailed Description

Spherical Noh implosion problem, from Liska & Wendroff, section 4.5 (figure 4.7).

PURPOSE: Spherical Noh implosion problem, from Liska & Wendroff, section 4.5 (figure 4.7). Tests code on VERY strong shock, also sensitive to carbuncle instability.

PRIVATE FUNCTION PROTOTYPES:

REFERENCE: R. Liska & B. Wendroff, SIAM J. Sci. Comput., 25, 995 (2003)

Definition in file noh.c.


Function Documentation

ConsFun_t get_usr_expr ( const char *  expr  ) 

Sets pointer to expression for special output data.

Definition at line 107 of file noh.c.

VOutFun_t get_usr_out_fun ( const char *  name  ) 

Returns a user defined output function pointer.

Definition at line 112 of file noh.c.

void noh3d_oib ( GridS pGrid  ) 

Sets boundary condition on right X1 boundary (oib) for noh3d test.

Note quantities at this boundary are held fixed at the time-dependent upstream state

Definition at line 133 of file noh.c.

References cc_pos(), ConsS::d, d0, ConsS::E, Gamma, Gamma_1, GridS::ie, GridS::je, jl, GridS::js, ju, GridS::ke, kl, GridS::ks, ku, ConsS::M1, ConsS::M2, ConsS::M3, GridS::Nx, r, GridS::time, and GridS::U.

Referenced by problem().

Here is the call graph for this function:

Here is the caller graph for this function:

void noh3d_ojb ( GridS pGrid  ) 

Sets boundary condition on right X2 boundary (ojb) for noh3d test.

Note quantities at this boundary are held fixed at the time-dependent upstream state

Definition at line 184 of file noh.c.

References cc_pos(), ConsS::d, d0, ConsS::E, Gamma, Gamma_1, GridS::ie, il, GridS::is, iu, GridS::je, GridS::ke, kl, GridS::ks, ku, ConsS::M1, ConsS::M2, ConsS::M3, GridS::Nx, r, GridS::time, and GridS::U.

Referenced by problem().

Here is the call graph for this function:

Here is the caller graph for this function:

void noh3d_okb ( GridS pGrid  ) 

Sets boundary condition on right X3 boundary (okb) for noh3d test.

Note quantities at this boundary are held fixed at the time-dependent upstream state

Definition at line 235 of file noh.c.

References cc_pos(), ConsS::d, d0, ConsS::E, Gamma, Gamma_1, GridS::ie, il, GridS::is, iu, GridS::je, jl, GridS::js, ju, GridS::ke, ConsS::M1, ConsS::M2, ConsS::M3, r, GridS::time, and GridS::U.

Referenced by problem().

Here is the call graph for this function:

Here is the caller graph for this function:

void problem ( DomainS pD  ) 

Problem initial conditions, edited for each problem.

Definition at line 48 of file noh.c.

References bvals_mhd_fun(), cc_pos(), ConsS::d, ConsS::E, Gamma_1, DomainS::Grid, GridS::is, GridS::js, GridS::ks, ConsS::M1, ConsS::M2, ConsS::M3, noh3d_oib(), noh3d_ojb(), noh3d_okb(), GridS::Nx, r, right_x1, right_x2, right_x3, and GridS::U.

Here is the call graph for this function:

void problem_read_restart ( MeshS pM,
FILE *  fp 
)

Problem specific subroutine for use with reading restart files, Edited for each problem.

Definition at line 102 of file noh.c.

void problem_write_restart ( MeshS pM,
FILE *  fp 
)

Problem specific subroutine for use with writing restart files, Edited for each problem.

Definition at line 97 of file noh.c.

void Userwork_after_loop ( MeshS pM  ) 

Problem work executed after the main Athena loop, see main.c Edited for each problem.

Definition at line 120 of file noh.c.

void Userwork_in_loop ( MeshS pM  ) 

Problem work executed during each step in the main Athena loop, see main.c.

Edited for each problem.

Definition at line 116 of file noh.c.