The typedefs and prototypes for ternary Cahn-Hilliard species transport.
#define CHTERNARY_HELP "Ternary Cahn-Hilliard species transport is provided by the chternary module.\nTo use it, add option:\n -with-chternary\nand control it with the properties:\n -mobility_22 mobility \n -mobility_23 mobility \n -mobility_32 mobility \n -mobility_33 mobility \n -K_22 K \n -K_23 K \n -K_32 K \n -K_33 K \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 -cht_particles\nOr one can specify a two-layer system in the y-direction using:\n -cht_layers \nChoose two-layer initial condition. \n -cht_layer_thickness <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 -cht_random_center_C2 <center> center of random distribution of C2 (required)\n -cht_random_center_C3 <center> center of random distribution of C3 (required)\n -cht_random_fluct <fluct> half-width of uniform distribution [0.005]\n\n"
| struct | |
| { | |
| PetscScalar mobility22; | |
| PetscScalar mobility23; | |
| PetscScalar mobility32; | |
| PetscScalar mobility33; | |
| PetscScalar K22; | |
| PetscScalar K23; | |
| PetscScalar K32; | |
| PetscScalar K33; | |
| PetscScalar m1; | |
| PetscScalar m2; | |
| PetscScalar m3; | |
| PetscScalar ForceTerm; | |
| int C2var; | |
| int C3var; | |
| int Mu2var; | |
| int Mu3var; | |
| int psivar; | |
| PetscTruth polymer_PVDF; | |
| PetscTruth metal; | |
| } |