I've been working a bit lately on fluid flow problems involving materials with anisotropic viscosities. That is, deforming such a material in one direction is easier than in another direction. An example of such a material in the real world is a sequence of rock layers with varying strengths. In simple shear along the layered plane the stronger layers are able to slide past each other along the weak layers, but the rock is difficult to squish in "pure shear", because it is supported by the strong layers.
In order to model this sort of behavior I've been working on extending a geodynamic modeling code, aspect, to incorporate more complex constitutive laws. Before I get too far in to ASPECT though I'd like to to step back a bit and define the equations I plan to solve. To that end we can start with the basic governing equations of fluid dynamics.
In general fluid flow obeys the Cauchy momentum equation,
where is the fluid velocity field, is the material derivative, is the stress tensor, is the fluid density, and is the gravity vector. In geodynamics we deal with very low Reynolds number systems (i.e., momentum is negligibly small), so we set the left hand side of Cauchy's equation to zero. This leaves us with the governing equation:
We often also add the constraint that mass is conserved, , or in some cases that the flow is entirely incompressible, .
In general, we don't care so much about the stress state of the fluid, but we want to solve for the velocity. Therefore we need an equation to relate applied stress to strain rate. This type of equation is called a "constitutive law," and is dependent on the chemical and state properties of the material. The most general constitutive law can be written in index notation, , where is the dynamic pressure; is the strain rate, defined as the symmetric component of the gradient of the velocity, ; and is a fourth order tensor, related to the viscosity, which maps strain rates to stresses.
Aspect assumes that the fluid in question is isotropic, and thus reduces to only two values, bulk viscosity (which dissipates energy during compaction and dilation), and shear viscosity which dissipates energy during shear deformation. Further, it is assumed that because bulk viscosity is only important in rapid compressions and dilations, such as sound waves and shock waves, it can be ignored in slow flows like geologic applications. Therefore, in Aspect is reduced to a single scalar state variable, , called the shear viscosity. Generalization back to a full constitutive tensor turns out to be as straightforward as changing the variable type of from a floating point scalar to a symmetric, fourth-order tensor. This modification is easily supported in the finite element library on which Aspect is built. With such a modification it is possible to model any arbitrary constitutive law.
Note (2016/02/16): This draft is already over half a year old, and I've been up to a lot since I wrote it, so I think it's time to just post it and write more in a next installment. For now I'll leave off with some figures to demonstrate the effects of the constitutive law I'm using: