<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://osupdocs.forestry.oregonstate.edu/index.php?action=history&amp;feed=atom&amp;title=Diffusion_Calculations</id>
	<title>Diffusion Calculations - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://osupdocs.forestry.oregonstate.edu/index.php?action=history&amp;feed=atom&amp;title=Diffusion_Calculations"/>
	<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;action=history"/>
	<updated>2026-05-10T03:04:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=26146&amp;oldid=prev</id>
		<title>Nairnj at 17:24, 29 March 2026</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=26146&amp;oldid=prev"/>
		<updated>2026-03-29T17:24:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:24, 29 March 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[NairnMPM]] can do diffusion calculations coupled with stresses and strains through concentration-induced expansion.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[NairnMPM]] can do diffusion calculations&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;ref name=&amp;quot;transport&amp;quot;/&amp;gt; &lt;/ins&gt;coupled with stresses and strains through concentration-induced expansion.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__TOC__&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__TOC__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Diffusion Modeling ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Diffusion Modeling ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=26145&amp;oldid=prev</id>
		<title>Nairnj: /* Diffusion Boundary Conditions */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=26145&amp;oldid=prev"/>
		<updated>2026-03-29T17:23:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Diffusion Boundary Conditions&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:23, 29 March 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l90&quot;&gt;Line 90:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 90:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* You can set initial particle concentration when [[MPM Input Files#Creating the Material Points|creating material points]]. Note, however, that initial concentrations different than the &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt; will cause strains to immediately evolve toward the changed state. The net effect will be an instantaneous &amp;quot;impact&amp;quot; that might cause undesirable dynamic effects. Using a [[PropertyRamp Custom Task]] is preferred method to set initial concentrations.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* You can set initial particle concentration when [[MPM Input Files#Creating the Material Points|creating material points]]. Note, however, that initial concentrations different than the &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt; will cause strains to immediately evolve toward the changed state. The net effect will be an instantaneous &amp;quot;impact&amp;quot; that might cause undesirable dynamic effects. Using a [[PropertyRamp Custom Task]] is preferred method to set initial concentrations.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Rigid Material|Rigid particles]] can provide moving concentration boundary conditions.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Rigid Material|Rigid particles]] can provide moving concentration boundary conditions.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== References ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;references&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;ref name=&quot;transport&quot;&gt;J. A. Nairn, &quot;Coupling Transport Equations to Mechanics in the Material Point Method Using an Approximate Full Capacity Matrix Inverse,&quot; ''Computer Methods in Applied Mechanics and Engineering'', '''420''', 116757 (2024). ([https://www.cof.orst.edu/cof/wse/faculty/Nairn/papers/TransportPaper.pdf See PDF])&amp;lt;/ref&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/references&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=10364&amp;oldid=prev</id>
		<title>Nairnj: /* Diffusion Modeling */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=10364&amp;oldid=prev"/>
		<updated>2024-05-01T20:41:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Diffusion Modeling&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:41, 1 May 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Because &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; is dimensionless, it can be defined using any consistent units for &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt;. When modeling composite materials, &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; is a material property. Thermodynamic equilibrium in composites is when all phases reach the same chemical potential. The goal of diffusion modeling therefore is to pick &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; for each material such that all materials have the same &amp;lt;math&amp;gt;\mu^{(ref)}&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Because &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; is dimensionless, it can be defined using any consistent units for &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt;. When modeling composite materials, &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; is a material property. Thermodynamic equilibrium in composites is when all phases reach the same chemical potential. The goal of diffusion modeling therefore is to pick &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; for each material such that all materials have the same &amp;lt;math&amp;gt;\mu^{(ref)}&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Once &amp;lt;math&amp;gt;c=c_{ref}&amp;lt;/math&amp;gt; is picked for each material, all internal calculations are done using &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt;. Furthermore, concentration boundary conditions are expected to be in terms of dimensionless &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; instead of terms raw concentration.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Once &amp;lt;math&amp;gt;c=c_{ref}&amp;lt;/math&amp;gt; is picked for each material, all internal calculations are done using &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt;. Furthermore, concentration boundary conditions are expected to be in terms of dimensionless &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; instead of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in &lt;/ins&gt;terms raw concentration.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Reference and Saturation Concentration ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Reference and Saturation Concentration ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9599&amp;oldid=prev</id>
		<title>Nairnj: /* Activating Diffusion */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9599&amp;oldid=prev"/>
		<updated>2023-08-23T23:26:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Activating Diffusion&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:26, 23 August 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l63&quot;&gt;Line 63:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that diffusion models fluid transport through materials by transport methods nearly identical to those used to model [[Poroelasticity Calculations|poroelasticity]]. Because they share same methods, a simulation can activate diffusion (with above commands) or poroelasticity (with comparable [[Poroelasticity Calculations|Poroelasticity commands]]), but cannot activate them both. Any simulation, however, can combine diffusion or poroelasticity with [[Thermal Calculations|thermal calculations and conduction]]. Note that when choosing [[MPM Input Files#Archiving Results|archiving options]], the terms &amp;quot;concentration&amp;quot; and &amp;quot;porepressure&amp;quot; are synonyms or either can be used and the archiving will store concentration terms for diffusion calculations or pore pressure terms for [[Poroelasticity Calculations|poroelasticity calculations]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that diffusion models fluid transport through materials by transport methods nearly identical to those used to model [[Poroelasticity Calculations|poroelasticity]]. Because they share same methods, a simulation can activate diffusion (with above commands) or poroelasticity (with comparable [[Poroelasticity Calculations|Poroelasticity commands]]), but cannot activate them both. Any simulation, however, can combine diffusion or poroelasticity with [[Thermal Calculations|thermal calculations and conduction]]. Note that when choosing [[MPM Input Files#Archiving Results|archiving options]], the terms &amp;quot;concentration&amp;quot; and &amp;quot;porepressure&amp;quot; are synonyms or either can be used and the archiving will store concentration terms for diffusion calculations or pore pressure terms for [[Poroelasticity Calculations|poroelasticity calculations]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Note that diffusion calculations are often improved by using [[PeriodicXPIC Custom Task#Using FMPM(k) For Transport Properties|FMPM(k) methods]].&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Diffusion Material Properties ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Diffusion Material Properties ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9523&amp;oldid=prev</id>
		<title>Nairnj: /* Activating Diffusion */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9523&amp;oldid=prev"/>
		<updated>2023-06-22T20:28:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Activating Diffusion&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:28, 22 June 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l58&quot;&gt;Line 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(YesOrNo)&amp;lt;/tt&amp;gt; must be &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot; to activate or not activate diffusion calculations. It can also be &amp;quot;solvent&amp;quot; to indicate diffusion of a liquid into another material. In &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files, the presence of a &amp;lt;tt&amp;gt;&amp;lt;Diffusion&amp;gt;&amp;lt;/tt&amp;gt; command activates diffusion (it can add a style='1' attribute).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(YesOrNo)&amp;lt;/tt&amp;gt; must be &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot; to activate or not activate diffusion calculations. It can also be &amp;quot;solvent&amp;quot; to indicate diffusion of a liquid into another material. In &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files, the presence of a &amp;lt;tt&amp;gt;&amp;lt;Diffusion&amp;gt;&amp;lt;/tt&amp;gt; command activates diffusion (it can add a style='1' attribute).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; is used to set a concentration potential for the stress-free concentration potential or to enter &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt;. The default &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; is 0. All material points will be initialized to &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; of &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; unless explicitly set to a different potential. Note that for historic reasons, &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files sets &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt; with a &amp;quot;reference&amp;quot; attribute. The use of that name should not be confused with &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; for each material, which is set with the &amp;lt;tt&amp;gt;csat&amp;lt;/tt&amp;gt; [[Common Material Properties#Basic Properties|material property]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; is used to set a concentration potential for the stress-free concentration potential or to enter &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt;. The default &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; is 0. All material points will be initialized to &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; of &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; unless explicitly set to a different potential. Note that for historic reasons, &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files sets &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt; with a &amp;quot;reference&amp;quot; attribute. The use of that name should not be confused with &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; for each material, which is set with the &amp;lt;tt&amp;gt;csat&amp;lt;/tt&amp;gt; [[Common Material Properties#Basic Properties|material property]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(nolimit)&amp;lt;/tt&amp;gt; is used to select the diffusion model. If entered as &amp;quot;limit&amp;quot;, the calculations interpret &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; in each material to be defining a saturation constant and to limit &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; to the interval [0,1]. To change to a model where &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; has another meaning and &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; can be any non-negative value, enter the text &amp;quot;nolimit&amp;quot; (or &amp;quot;1&amp;quot;). In &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files, the &amp;quot;nolimit&amp;quot; attribute must be an &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;integer &lt;/del&gt;and any &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;value &lt;/del&gt;greater than zero &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;changes to allow any non-negative &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt;&lt;/del&gt;. The default (when omitted) is the &amp;quot;limit&amp;quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;approach&lt;/del&gt;. The code output will &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;list &lt;/del&gt;&amp;quot;0 &amp;lt;= c/csat &amp;lt;= 1&amp;quot; for &amp;quot;limit&amp;quot; mode and &amp;quot;c/csat &amp;gt;= 0&amp;quot; for &amp;quot;nolimit&amp;quot; mode.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(nolimit)&amp;lt;/tt&amp;gt; is used to select the diffusion model. If entered as &amp;quot;limit&amp;quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(or &amp;quot;0&amp;quot;)&lt;/ins&gt;, the calculations interpret &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; in each material to be defining a saturation constant and to limit &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; to the interval [0,1]. To change to a model where &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; has another meaning and &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; can be any non-negative value, enter the text &amp;quot;nolimit&amp;quot; (or &amp;quot;1&amp;quot;). In &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files, the &amp;quot;nolimit&amp;quot; attribute must be an &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;quot;0&amp;quot; for &amp;quot;limit&amp;quot; mode or &lt;/ins&gt;and any &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;integer &lt;/ins&gt;greater than zero &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;for &amp;quot;nolimit&amp;quot; mode&lt;/ins&gt;. The default (when omitted) is the &amp;quot;limit&amp;quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mode&lt;/ins&gt;. The code output will &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;say &lt;/ins&gt;&amp;quot;0 &amp;lt;= c/csat &amp;lt;= 1&amp;quot; for &amp;quot;limit&amp;quot; mode and &amp;quot;c/csat &amp;gt;= 0&amp;quot; for &amp;quot;nolimit&amp;quot; mode.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By default, diffusion uses update methods analogous to FLIP methods used in mechanics. This update, however, sometimes results in concentration oscillations on particles within one cell. Diffusion simulations with oscillations can be improved by using [[PeriodicXPIC Custom Task#Using FMPM(k) For Transport Properties|periodic FMPM(k)]] for diffusion updates.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By default, diffusion uses update methods analogous to FLIP methods used in mechanics. This update, however, sometimes results in concentration oscillations on particles within one cell. Diffusion simulations with oscillations can be improved by using [[PeriodicXPIC Custom Task#Using FMPM(k) For Transport Properties|periodic FMPM(k)]] for diffusion updates.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9522&amp;oldid=prev</id>
		<title>Nairnj: /* Activating Diffusion */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9522&amp;oldid=prev"/>
		<updated>2023-06-22T20:25:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Activating Diffusion&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:25, 22 June 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l58&quot;&gt;Line 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(YesOrNo)&amp;lt;/tt&amp;gt; must be &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot; to activate or not activate diffusion calculations. It can also be &amp;quot;solvent&amp;quot; to indicate diffusion of a liquid into another material. In &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files, the presence of a &amp;lt;tt&amp;gt;&amp;lt;Diffusion&amp;gt;&amp;lt;/tt&amp;gt; command activates diffusion (it can add a style='1' attribute).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(YesOrNo)&amp;lt;/tt&amp;gt; must be &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot; to activate or not activate diffusion calculations. It can also be &amp;quot;solvent&amp;quot; to indicate diffusion of a liquid into another material. In &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files, the presence of a &amp;lt;tt&amp;gt;&amp;lt;Diffusion&amp;gt;&amp;lt;/tt&amp;gt; command activates diffusion (it can add a style='1' attribute).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; is used to set a concentration potential for the stress-free concentration potential or to enter &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt;. The default &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; is 0. All material points will be initialized to &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; of &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; unless explicitly set to a different potential. Note that for historic reasons, &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files sets &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt; with a &amp;quot;reference&amp;quot; attribute. The use of that name should not be confused with &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; for each material, which is set with the &amp;lt;tt&amp;gt;csat&amp;lt;/tt&amp;gt; [[Common Material Properties#Basic Properties|material property]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; is used to set a concentration potential for the stress-free concentration potential or to enter &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt;. The default &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; is 0. All material points will be initialized to &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; of &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; unless explicitly set to a different potential. Note that for historic reasons, &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files sets &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt; with a &amp;quot;reference&amp;quot; attribute. The use of that name should not be confused with &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; for each material, which is set with the &amp;lt;tt&amp;gt;csat&amp;lt;/tt&amp;gt; [[Common Material Properties#Basic Properties|material property]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(nolimit)&amp;lt;/tt&amp;gt; is used to select the diffusion model. If entered as &amp;quot;limit&amp;quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(or &amp;quot;0&amp;quot;)&lt;/del&gt;, the calculations interpret &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; in each material to be defining a saturation constant and to limit &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; to the interval [0,1]. To change to a model where &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; has another meaning and &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; can be any non-negative value, enter the text &amp;quot;nolimit&amp;quot; (or &amp;quot;1&amp;quot;). In &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files, the &amp;quot;nolimit&amp;quot; attribute must be an integer and any value greater than zero changes &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;on &lt;/del&gt;allow any non-negative &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt;. The default &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;setting has varied with code versions, which means parameter should be set &lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or double check output file to verify correct calculation mode&lt;/del&gt;). &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Old versions that did not have the option always used the &lt;/del&gt;&amp;quot;limit&amp;quot; mode.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(nolimit)&amp;lt;/tt&amp;gt; is used to select the diffusion model. If entered as &amp;quot;limit&amp;quot;, the calculations interpret &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; in each material to be defining a saturation constant and to limit &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; to the interval [0,1]. To change to a model where &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; has another meaning and &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; can be any non-negative value, enter the text &amp;quot;nolimit&amp;quot; (or &amp;quot;1&amp;quot;). In &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files, the &amp;quot;nolimit&amp;quot; attribute must be an integer and any value greater than zero changes &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to &lt;/ins&gt;allow any non-negative &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt;. The default (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;when omitted&lt;/ins&gt;) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is the &amp;quot;limit&amp;quot; approach&lt;/ins&gt;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The code output will list &amp;quot;0 &amp;lt;= c/csat &amp;lt;= 1&amp;quot; for &lt;/ins&gt;&amp;quot;limit&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;quot; mode and &amp;quot;c/csat &amp;gt;= 0&amp;quot; for &amp;quot;nolimit&lt;/ins&gt;&amp;quot; mode.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By default, diffusion uses update methods analogous to FLIP methods used in mechanics. This update, however, sometimes results in concentration oscillations on particles within one cell. Diffusion simulations with oscillations can be improved by using [[PeriodicXPIC Custom Task#Using FMPM(k) For Transport Properties|periodic FMPM(k)]] for diffusion updates.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By default, diffusion uses update methods analogous to FLIP methods used in mechanics. This update, however, sometimes results in concentration oscillations on particles within one cell. Diffusion simulations with oscillations can be improved by using [[PeriodicXPIC Custom Task#Using FMPM(k) For Transport Properties|periodic FMPM(k)]] for diffusion updates.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9521&amp;oldid=prev</id>
		<title>Nairnj: /* Activating Diffusion */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9521&amp;oldid=prev"/>
		<updated>2023-06-22T20:13:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Activating Diffusion&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:13, 22 June 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l58&quot;&gt;Line 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(YesOrNo)&amp;lt;/tt&amp;gt; must be &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot; to activate or not activate diffusion calculations. It can also be &amp;quot;solvent&amp;quot; to indicate diffusion of a liquid into another material. In &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files, the presence of a &amp;lt;tt&amp;gt;&amp;lt;Diffusion&amp;gt;&amp;lt;/tt&amp;gt; command activates diffusion (it can add a style='1' attribute).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(YesOrNo)&amp;lt;/tt&amp;gt; must be &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot; to activate or not activate diffusion calculations. It can also be &amp;quot;solvent&amp;quot; to indicate diffusion of a liquid into another material. In &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files, the presence of a &amp;lt;tt&amp;gt;&amp;lt;Diffusion&amp;gt;&amp;lt;/tt&amp;gt; command activates diffusion (it can add a style='1' attribute).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; is used to set a concentration potential for the stress-free concentration potential or to enter &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt;. The default &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; is 0. All material points will be initialized to &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; of &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; unless explicitly set to a different potential. Note that for historic reasons, &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files sets &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt; with a &amp;quot;reference&amp;quot; attribute. The use of that name should not be confused with &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; for each material, which is set with the &amp;lt;tt&amp;gt;csat&amp;lt;/tt&amp;gt; [[Common Material Properties#Basic Properties|material property]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; is used to set a concentration potential for the stress-free concentration potential or to enter &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt;. The default &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; is 0. All material points will be initialized to &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; of &amp;lt;tt&amp;gt;(conc0)&amp;lt;/tt&amp;gt; unless explicitly set to a different potential. Note that for historic reasons, &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files sets &amp;lt;math&amp;gt;\bar{c}_0&amp;lt;/math&amp;gt; with a &amp;quot;reference&amp;quot; attribute. The use of that name should not be confused with &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; for each material, which is set with the &amp;lt;tt&amp;gt;csat&amp;lt;/tt&amp;gt; [[Common Material Properties#Basic Properties|material property]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(nolimit)&amp;lt;/tt&amp;gt; is used to select the diffusion model. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The default &lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;when this option is omitted&lt;/del&gt;) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is to &lt;/del&gt;interpret &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; in each material to be defining a saturation constant and to limit &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; to the interval [0,1]. To change to a model where &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; has another meaning and &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; can be any non-negative value, enter the text &amp;quot;nolimit&amp;quot; or &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;any number greater than &lt;/del&gt;1. In &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files, the &amp;quot;nolimit&amp;quot; attribute must be an integer and any value greater than zero changes on allow any non-negative &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;(nolimit)&amp;lt;/tt&amp;gt; is used to select the diffusion model. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If entered as &amp;quot;limit&amp;quot; &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &amp;quot;0&amp;quot;&lt;/ins&gt;)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, the calculations &lt;/ins&gt;interpret &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; in each material to be defining a saturation constant and to limit &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; to the interval [0,1]. To change to a model where &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; has another meaning and &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; can be any non-negative value, enter the text &amp;quot;nolimit&amp;quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(&lt;/ins&gt;or &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;quot;&lt;/ins&gt;1&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;quot;)&lt;/ins&gt;. In &amp;lt;tt&amp;gt;XML&amp;lt;/tt&amp;gt; input files, the &amp;quot;nolimit&amp;quot; attribute must be an integer and any value greater than zero changes on allow any non-negative &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. The default setting has varied with code versions, which means parameter should be set (or double check output file to verify correct calculation mode). Old versions that did not have the option always used the &amp;quot;limit&amp;quot; mode&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By default, diffusion uses update methods analogous to FLIP methods used in mechanics. This update, however, sometimes results in concentration oscillations on particles within one cell. Diffusion simulations with oscillations can be improved by using [[PeriodicXPIC Custom Task#Using FMPM(k) For Transport Properties|periodic FMPM(k)]] for diffusion updates.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By default, diffusion uses update methods analogous to FLIP methods used in mechanics. This update, however, sometimes results in concentration oscillations on particles within one cell. Diffusion simulations with oscillations can be improved by using [[PeriodicXPIC Custom Task#Using FMPM(k) For Transport Properties|periodic FMPM(k)]] for diffusion updates.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9520&amp;oldid=prev</id>
		<title>Nairnj: /* Diffusion Modeling */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9520&amp;oldid=prev"/>
		<updated>2023-06-12T18:21:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Diffusion Modeling&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:21, 12 June 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Because &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; is dimensionless, it can be defined using any consistent units for &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt;. When modeling composite materials, &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; is a material property. Thermodynamic equilibrium in composites is when all phases reach the same chemical potential. The goal of diffusion modeling therefore is to pick &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; for each material such that all materials have the same &amp;lt;math&amp;gt;\mu^{(ref)}&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Because &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; is dimensionless, it can be defined using any consistent units for &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt;. When modeling composite materials, &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; is a material property. Thermodynamic equilibrium in composites is when all phases reach the same chemical potential. The goal of diffusion modeling therefore is to pick &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; for each material such that all materials have the same &amp;lt;math&amp;gt;\mu^{(ref)}&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;One &lt;/del&gt;&amp;lt;math&amp;gt;c=c_{ref}&amp;lt;/math&amp;gt; is picked for each material, all internal calculations are done using &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt;. Furthermore, concentration boundary conditions are expected to be in terms of dimensionless &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; instead of terms raw concentration.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Once &lt;/ins&gt;&amp;lt;math&amp;gt;c=c_{ref}&amp;lt;/math&amp;gt; is picked for each material, all internal calculations are done using &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt;. Furthermore, concentration boundary conditions are expected to be in terms of dimensionless &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; instead of terms raw concentration.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Reference and Saturation Concentration ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Reference and Saturation Concentration ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9519&amp;oldid=prev</id>
		<title>Nairnj: /* Reference and Saturation Concentration */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9519&amp;oldid=prev"/>
		<updated>2023-05-04T22:49:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Reference and Saturation Concentration&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:49, 4 May 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l26&quot;&gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The initial implementation of diffusion in [[NairnMPM]] was to model diffusion of solvents into solids including expansion due to solvent (''e.g.'', swelling of wood due to moisture content). Most results for such solvent effects are based on mass fraction solvent content and expansion coefficients are measured as swelling strain per weight fracture solvent. As a result, [[NairnMPM]] assumes &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; are both mass fraction solvent and the reference state is set to the saturation limit for solvent content or &amp;lt;math&amp;gt;c_{sat}&amp;lt;/math&amp;gt; (which is specified for each material type in [[Common Material Properties#Basic Properties|basic material properties]]). By this model, concentration can never exceed saturation concentration meaning that the &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; is restricted to the interval [0,1] and equilibrium conditions correspond to all particles being at the same &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; (''i.e.'', at the same fracture of their saturation concentration).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The initial implementation of diffusion in [[NairnMPM]] was to model diffusion of solvents into solids including expansion due to solvent (''e.g.'', swelling of wood due to moisture content). Most results for such solvent effects are based on mass fraction solvent content and expansion coefficients are measured as swelling strain per weight fracture solvent. As a result, [[NairnMPM]] assumes &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; are both mass fraction solvent and the reference state is set to the saturation limit for solvent content or &amp;lt;math&amp;gt;c_{sat}&amp;lt;/math&amp;gt; (which is specified for each material type in [[Common Material Properties#Basic Properties|basic material properties]]). By this model, concentration can never exceed saturation concentration meaning that the &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; is restricted to the interval [0,1] and equilibrium conditions correspond to all particles being at the same &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; (''i.e.'', at the same fracture of their saturation concentration).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The saturation model is the default method for diffusion calculations but it can be changed by redefining &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; with any other units. For example, one could model concentration in moles per unit volume (molar concentration). This model still uses &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; but that potential can now exceed 1 or can have any non-negative value. For this approach to work in composites, &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; can be any state but each material must &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pick &lt;/del&gt;&amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; such that all materials have the same chemical potential at their reference concentrations. Note that despite this change in meaning of &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt;, it is still entered using the &amp;lt;tt&amp;gt;csat&amp;lt;/tt&amp;gt; [[Common Material Properties#Basic Properties|material property]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The saturation model is the default method for diffusion calculations but it can be changed by redefining &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; with any other units. For example, one could model concentration in moles per unit volume (molar concentration). This model still uses &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; but that potential can now exceed 1 or can have any non-negative value. For this approach to work in composites, &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; can be any state but each material must &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;define &lt;/ins&gt;&amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; such that all materials have the same chemical potential at their reference concentrations. Note that despite this change in meaning of &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt;, it is still entered using the &amp;lt;tt&amp;gt;csat&amp;lt;/tt&amp;gt; [[Common Material Properties#Basic Properties|material property]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Stress-Free Concentration ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Stress-Free Concentration ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
	<entry>
		<id>http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9518&amp;oldid=prev</id>
		<title>Nairnj: /* Reference and Saturation Concentration */</title>
		<link rel="alternate" type="text/html" href="http://osupdocs.forestry.oregonstate.edu/index.php?title=Diffusion_Calculations&amp;diff=9518&amp;oldid=prev"/>
		<updated>2023-05-04T22:47:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Reference and Saturation Concentration&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:47, 4 May 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Reference and Saturation Concentration ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Reference and Saturation Concentration ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The initial implementation of diffusion in [[NairnMPM]] was to model diffusion of solvents into solids including expansion due to solvent (''e.g.'', swelling of wood due to moisture &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;constant&lt;/del&gt;). Most results for such solvent effects are based on mass fraction solvent content and expansion coefficients are measured as swelling strain per weight fracture solvent. As a result, [[NairnMPM]] assumes &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; are both mass fraction solvent and the reference state is set to the saturation limit for solvent content or &amp;lt;math&amp;gt;c_{sat}&amp;lt;/math&amp;gt; (which is specified for each material type in [[Common Material Properties#Basic Properties|basic material properties]]). By this model, concentration can never exceed saturation concentration meaning that the &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; is restricted to the interval [0,1] and equilibrium conditions correspond to all particles being at the same &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; (''i.e.'', at the same fracture of their saturation concentration).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The initial implementation of diffusion in [[NairnMPM]] was to model diffusion of solvents into solids including expansion due to solvent (''e.g.'', swelling of wood due to moisture &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;content&lt;/ins&gt;). Most results for such solvent effects are based on mass fraction solvent content and expansion coefficients are measured as swelling strain per weight fracture solvent. As a result, [[NairnMPM]] assumes &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; are both mass fraction solvent and the reference state is set to the saturation limit for solvent content or &amp;lt;math&amp;gt;c_{sat}&amp;lt;/math&amp;gt; (which is specified for each material type in [[Common Material Properties#Basic Properties|basic material properties]]). By this model, concentration can never exceed saturation concentration meaning that the &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; is restricted to the interval [0,1] and equilibrium conditions correspond to all particles being at the same &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; (''i.e.'', at the same fracture of their saturation concentration).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The saturation model is the default method for diffusion calculations but it can be changed by redefining &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; with any other units. For example, one could model concentration in moles per unit volume (molar concentration). This model still uses &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; but that potential can now exceed 1 or can have any non-negative value. For this approach to work in composites, &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; can be any state but each material must pick &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; such that all materials have the same chemical potential at their reference concentrations. Note that despite this change in meaning of &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt;, it is still entered using the &amp;lt;tt&amp;gt;csat&amp;lt;/tt&amp;gt; [[Common Material Properties#Basic Properties|material property]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The saturation model is the default method for diffusion calculations but it can be changed by redefining &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; with any other units. For example, one could model concentration in moles per unit volume (molar concentration). This model still uses &amp;lt;math&amp;gt;\bar{c}&amp;lt;/math&amp;gt; but that potential can now exceed 1 or can have any non-negative value. For this approach to work in composites, &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; can be any state but each material must pick &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt; such that all materials have the same chemical potential at their reference concentrations. Note that despite this change in meaning of &amp;lt;math&amp;gt;c_{ref}&amp;lt;/math&amp;gt;, it is still entered using the &amp;lt;tt&amp;gt;csat&amp;lt;/tt&amp;gt; [[Common Material Properties#Basic Properties|material property]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nairnj</name></author>
	</entry>
</feed>