File membrane.h

RCS Header: /cvsroot/rheoplast/membrane.h,v 1.14 2005/04/18 20:17:14 hazelsct Exp

The typedefs and prototypes for Cahn-Hilliard species transport.


Included Files


Preprocessor definitions

#define MEMBRANE_H

#define MEMBRANE_HELP "Cahn-Hilliard species transport is a basic staple of phase field modeling.\nTo use it, add option:\n -with-membrane\nand control it with the properties:\n -m_nonsolvent_m degree of moplymerization of the nonsolvent \n -m_solvent_m degree of moplymerization of the solvent \n -m_polymer_m degree of moplymerization of the polymer \n -mobility_ss mobility \n -mobility_sp mobility \n -mobility_ps mobility \n -mobility_pp mobility \n -K_ss K (gradient penalty coefficient)\n -K_pp K (gradient penalty coefficient)\n -K_sp K (gradient penalty coefficient)\n -K_ps K (gradient penalty coefficient)\nThe default initial condition is a centered square. If -symmetry_x and\n-symmetry_y are specified, this is a square centered at the origin. With\nboth symmetries, an alternate initial condition with a square centered on\nthe middle of the x-axis can be used by specifying:\n -m_particles\nOr one can specify a two-layer system in the y-direction using:\n -m_layers <thickness>\nwhere thickness is the fraction in the bottom C=1 layer.\nOne can also use a random initial distribution to simulate spinodal\ndecomposition with:\n -m_random_center_phi_s <center> center of random distribution of phi_s (required)\n -m_random_center_phi_p <center> center of random distribution of phi_p (required)\n -m_random_fluct <fluct> half-width of uniform distribution [0.01]\n\n"


Typedef AppCtx

typedef void AppCtx

Typedef mparm

Structure typedef for ternary Cahn-Hilliard polymer species transport.

typedef struct {...} mparm

struct  
   {  
      PetscScalar mobility22;  
      PetscScalar mobility23;  
      PetscScalar mobility32;  
      PetscScalar mobility33;  
      PetscScalar K22;  
      PetscScalar K33;  
      PetscScalar K23;  
      PetscScalar K32;  
      PetscScalar m1;  
      PetscScalar m2;  
      PetscScalar m3;  
      PetscScalar Sc;  
      PetscScalar Fp;  
      PetscScalar a;  
      PetscScalar M0;  
      PetscScalar hd_ss;  
      PetscScalar hd_pp;  
      int phi2var;  
      int phi3var;  
      int mu2var;  
      int mu3var;  
   }