[ANSYS, Inc. Logo] return to home search
next up previous contents index

B.3 Multiphase DEFINE Macros

The following definitions for multiphase DEFINE macros (see Section  2.4) are taken from the udf.h header file.

#define DEFINE_CAVITATION_RATE(name, c, t, p, rhoV, rhoL, vofV, p_v, \
  cigma, f_gas, m_dot) \
  void name(cell_t c, Thread *t, real *p, real *rhoV, real *rhoL, \
            real *vofV, real *p_v, real *cigma, real *f_gas, real *m_dot)

#define DEFINE_EXCHANGE_PROPERTY(name, c, mixture_thread, \
  second_column_phase_index, first_column_phase_index) \
  real name(cell_t c, Thread *mixture_thread, \
            int second_column_phase_index, int first_column_phase_index)

#define DEFINE_HET_RXN_RATE(name, c, t, hr, mw, yi, rr, rr_t) \
  void name(cell_t c, Thread *t, \
	    Hetero_Reaction *hr, real mw[MAX_PHASES][MAX_SPE_EQNS],  \
            real yi[MAX_PHASES][MAX_SPE_EQNS], real *rr, real *rr_t)

#define DEFINE_MASS_TRANSFER(name, c, mixture_thread, from_phase_index, \
  from_species_index, to_phase_index, to_species_index) \
  real name(cell_t c, Thread *mixture_thread, int from_phase_index, \
  int from_species_index, int to_phase_index, int to_species_index)


#define DEFINE_VECTOR_EXCHANGE_PROPERTY(name, c, mixture_thread, \
  second_column_phase_index, first_column_phase_index, vector_result) \
  void name(cell_t c, Thread *mixture_thread, \
            int second_column_phase_index, \
            int first_column_phase_index, real *vector_result)


next up previous contents index Previous: B.2 Model-Specific DEFINE Macro
Up: B. DEFINE Macro Definitions
Next: B.4 Dynamic Mesh Model
Release 12.0 © ANSYS, Inc. 2009-01-14