TUFLOW General Discussion: Difference between revisions

Content deleted Content added
Line 62:
==Can TUFLOW model non-water liquids?==
Yes, this can be used by setting the following commands:
:<font color="blue"><tt>Viscosity Formulation </tt></font><font color="red"><tt>== </tt></font>Non-Newtonian<br>
:<font color="blue"><tt>Viscosity Coefficients </tt></font><font color="red"><tt>== </tt></font>k, n, muLow, muHigh, tau0
 
Where Kk is the viscosity coefficient in Pa S.s when n = 1. Where n=1, this relates to a Newtonian fluid. You can then use an appropriate value for tau0, the stress required to make the fluid move. The Non-Newtonian model uses the Herschel-Bulkley approach which can be used to model Newtonian fluids with different viscosities. See section 5.4 of the new release notes [<u>[https://downloads.tuflow.com/TUFLOW/Releases/2020-10/TUFLOW%20Release%20Notes.2020-10-AD.pdf here]2020 Release Notes]</u> for more information.
<br>The <font color="blue"><tt>viscosity coefficients </tt></font><font color="red"><tt>== </tt></font>command on its own is used to set the eddy viscosity. In this instance, you need to set the dynamic viscosity, which is a property of the fluid itself. This can be used by setting the following commands:
 
The graphs below explains the Herschel-Bulkley approach and it’s flexibility. :
<font color="blue"><tt>Viscosity Formulation </tt></font><font color="red"><tt>== </tt></font>Non-Newtonian<br>
<font color="blue"><tt>Viscosity Coefficients </tt></font><font color="red"><tt>== </tt></font>k, n, muLow, muHigh, tau0
 
Where K is the viscosity coefficient in Pa S when n = 1. Where n=1, this relates to a Newtonian fluid. You can then use an appropriate value for tau0, the stress required to make the fluid move. The Non-Newtonian model uses the Herschel-Bulkley approach which can be used to model Newtonian fluids with different viscosities. See section 5.4 of the new release notes [[https://downloads.tuflow.com/TUFLOW/Releases/2020-10/TUFLOW%20Release%20Notes.2020-10-AD.pdf here]] for more information.
 
The graphs below explains the Herschel-Bulkley approach and it’s flexibility.
 
:[[File:Newtonian_Model.png | 400px]]
Line 94 ⟶ 91:
You can test this out using the following commands.
 
:<font color="blue"><tt>Viscosity Formulation </tt></font><font color="red"><tt>== </tt></font>Non-Newtonian<br>
:<font color="blue"><tt>Viscosity Coefficients </tt></font><font color="red"><tt>== </tt></font>0.001, 1, 0.0, 1000, 0
 
This uses a n value of 1, a Ƭ0=0 and a viscosity coefficient of 0.001 Pa S which is a typical viscosity of water at 20 ℃. This should give comparable outputs to a standard TUFLOW model without the Non-Newtonian functionality.