← Back to team overview

dolfin team mailing list archive

Re: Stokes on complex geometries

 

On Tue, 2006-05-23 at 14:46 +0000, Alexander Jarosch wrote:
> Hi,
> 
> did anyone play around with the stokes solver on more complex 
> geometries? 

The demo in src/demo/pde/convection-diffusion solves the Stokes problem
around a dolphin using a Taylor-Hood element and the result looks OK.

Garth


> I only seem to get something senseful using a stabalized 
> stokes like:
> 
> scalar = FiniteElement("Lagrange", "triangle", 1)
> vector = FiniteElement("Vector Lagrange", "triangle", 2)
> system = vector + scalar
> 
> (v, q) = TestFunctions(system)
> (u, p) = TrialFunctions(system)
> 
> f = Function(vector)
> h = Function(scalar)
> nu = Function(scalar)
> 
> beta  = 0.2
> delta = beta*h*h
> 
> a = (nu*dot(grad(v), grad(u)) - div(v)*p + q*div(u) + delta*dot(grad(q), 
> grad(p)))*dx
> L = dot(v + mult(delta, grad(q)), f)*dx
> 
> which is fine, but when I compare the solution to another FEM package, 
> they do not quite match. Was there already some benchmarking done?
> 
> cheers,
> 
> Alex





Follow ups

References