Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

adaptive_flux.c File Reference

Adaptive flux calculator as suggested by James Quirk. More...

#include <stdio.h>
#include <math.h>
#include "../../util/source/compiler.h"
#include "../../util/source/useful.h"
#include "flux_calc.h"

Functions

int adaptive_flux (struct flow_state Lft[], struct flow_state Rght[], struct flux_data_1D IF[], int first, int last)
 Compute the fluxes across an interface.


Detailed Description

Adaptive flux calculator as suggested by James Quirk.

Author:
PJ
Version:
13-Feb-01 : Finally pulled the finger out and implemented a scheme combining EFM and AUSMDV.

Function Documentation

int adaptive_flux struct flow_state  Lft[],
struct flow_state  Rght[],
struct flux_data_1D  IF[],
int  first,
int  last
 

Compute the fluxes across an interface.

This adaptive flux calculator uses uses the Equilibrium Flux Method of Macrossan & Pullin near shocks and AUSMDV away from shocks. The actual work is passed off to the original flux calculation functions.

Parameters:
Lft[] : IN : array of Left flow states (with velocities in local frame of reference)
Rght[] : IN : array of Right flow state
IF[] : IN-OUT : array of interface flux data structures
first : IN : index of first interface to compute
last : IN : index of last interface to compute


Generated on Tue Oct 25 10:24:12 2005 for CFCFD by  doxygen 1.4.4