Difference between revisions of "Diffusion Calculations"
Line 9: | Line 9: | ||
In <tt>XML</tt> input files, diffusion is activated with the <tt>Diffusion</tt> command, which must be within the <tt><MPMHeader></tt>: | In <tt>XML</tt> input files, diffusion is activated with the <tt>Diffusion</tt> command, which must be within the <tt><MPMHeader></tt>: | ||
<Diffusion reference = '(refConc)'> | <Diffusion reference = '(refConc)'/> | ||
where | where | ||
<tt>(YesOrNo)</tt> must be "Yes" or "No" to activate or not activate diffusion calculations. In <tt>XML</tt> input files, the presence of a <tt><Diffusion></tt> command activates diffusion. | * <tt>(YesOrNo)</tt> must be "Yes" or "No" to activate or not activate diffusion calculations. In <tt>XML</tt> input files, the presence of a <tt><Diffusion></tt> command activates diffusion. The default is "No". | ||
* <tt>(refConc)</tt> is used to set a reference concentration potential (between 0 and 1) that corresponds to zero strain. All diffusion calculations are done in terms of a concentration potential from 0 to 1 where 1 is the saturation concentration of a material type. The default <tt>(refConc)</tt> is 0. | |||
== Diffusion Material Properties == | |||
Concencentration changes are coupled to stress and strains through concentration expansion coefficients defined for the materials. By default, all moisture expansion coefficients are zero which decouples diffusion and strains. By entering non-zero values, the coupling will occur. | |||
When concentration and concentration gradients are archived, however, they are converted to actual concentration in weight fraction using the material's saturation concentration setting. | When concentration and concentration gradients are archived, however, they are converted to actual concentration in weight fraction using the material's saturation concentration setting. | ||
Note that setting initial particle concentrations different than the reference concentration will cause strains to immediately evolve toward the changed state. The net effect will be an instantaneous "impact" of concentration change that might cause undesirable dynamic effects. | |||
When diffusion is activated, you can set material diffusion and solvent expansion constants, initial particle concentrations, and impose concentration or flux boundary conditions. | When diffusion is activated, you can set material diffusion and solvent expansion constants, initial particle concentrations, and impose concentration or flux boundary conditions. |
Revision as of 09:58, 4 November 2013
NairnMPM can do diffusion calculations coupled with stresses and strains through concentration expansion.
Activating Diffusion
In scripted files, diffusion is activated with the command
Diffusion (YesOrNo),<(refConc)>
In XML input files, diffusion is activated with the Diffusion command, which must be within the <MPMHeader>:
<Diffusion reference = '(refConc)'/>
where
- (YesOrNo) must be "Yes" or "No" to activate or not activate diffusion calculations. In XML input files, the presence of a <Diffusion> command activates diffusion. The default is "No".
- (refConc) is used to set a reference concentration potential (between 0 and 1) that corresponds to zero strain. All diffusion calculations are done in terms of a concentration potential from 0 to 1 where 1 is the saturation concentration of a material type. The default (refConc) is 0.
Diffusion Material Properties
Concencentration changes are coupled to stress and strains through concentration expansion coefficients defined for the materials. By default, all moisture expansion coefficients are zero which decouples diffusion and strains. By entering non-zero values, the coupling will occur.
When concentration and concentration gradients are archived, however, they are converted to actual concentration in weight fraction using the material's saturation concentration setting.
Note that setting initial particle concentrations different than the reference concentration will cause strains to immediately evolve toward the changed state. The net effect will be an instantaneous "impact" of concentration change that might cause undesirable dynamic effects.
When diffusion is activated, you can set material diffusion and solvent expansion constants, initial particle concentrations, and impose concentration or flux boundary conditions.