Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
refining_setting_weight_percents_directly [2011/08/25 19:14]
alancoelho
refining_setting_weight_percents_directly [2013/05/02 17:19]
alancoelho
Line 1: Line 1:
 ====== Refining/​Setting Weight Percents directly ====== ====== Refining/​Setting Weight Percents directly ======
 +==== Version 5 ====
 +
 +The macro Known_Weight_Percent can be used to either set a weight percent or to refine a weight percent. For example:
 +
 +   ​str...
 +      ' scale parameter must not be defined for this phase
 +      Known_Weight_Percent(10) ' set weight percent to 10
 +
 +To refine the weight percent then the following could be used:
 +
 +   ​str...
 +      prm wt1 10 min 0 max 100
 +      Known_Weight_Percent(wt1)
 +
 +At least one phase needs to have its scale parameter defined, Known_Weight_Percent is then optional for the rest of the phases.  ​
 +
 +==== Version 4.1 ====
 +
 Symbols used here are defined in the Technical Reference entry for [cell_mass !E] [cell_volume !E] [weight_percent !E]  ​ Symbols used here are defined in the Technical Reference entry for [cell_mass !E] [cell_volume !E] [weight_percent !E]  ​
  
Line 142: Line 160:
  
  --- //​[[alan.coelho@bigpond.com|Alan Coelho]] 2011/08/25 19:09//  --- //​[[alan.coelho@bigpond.com|Alan Coelho]] 2011/08/25 19:09//
 +
 +Weights can be restrained using:
 +
 +<code topas>'​---------------------------
 +'​Example of restraining weight percent to a known value
 +penalties_weighting_K1 .2
 +restraint = (Cubic_Zirconia_wt_percent - 36); : 0
 +'​---------------------------</​code>​

Personal Tools