[firedrake] Solve a Variational problem in a part of the domain
Colin Cotter
colin.cotter at imperial.ac.uk
Mon Aug 17 13:35:30 BST 2015
Well, can you sketch out how you would solve this system, then we can see
how to build it.
all the best
--cjc
On 17 August 2015 at 13:33, Anna Kalogirou <a.kalogirou at leeds.ac.uk> wrote:
> Yes, obviously I wouldn't be able to write
>
> assemble(u*dx)
>
> for the trial function u, but I just wanted to show you what I have.
>
> Is it too difficult to design such a non-conventional solver?
>
> Thanks,
>
> Anna.
>
>
>
> On 17/08/15 13:04, Colin Cotter wrote:
>
> Hi Anna,
> Not as written, no. I think that we would need to design a bespoke
> solver for that.
>
> all the best
> --cjc
>
> On 17 August 2015 at 12:18, Anna Kalogirou <a.kalogirou at leeds.ac.uk>
> wrote:
>
>> Hi all,
>>
>> I have to solve a problem with the bilinear form similar to the following:
>>
>> a = ( v*u + dt*inner(grad(u),grad(v)) )*dx + ( v*dt*assemble(u*dx) )*dx
>>
>> The last term is essentially the product of the integral of u and the
>> integral of test function v.
>> Is it even possible to solve this in Firedrake?
>>
>> Best,
>>
>> Anna.
>>
>>
>> On 14/08/15 15:43, Lawrence Mitchell wrote:
>>
>> On 14 Aug 2015, at 11:55, Anna Kalogirou <a.kalogirou at leeds.ac.uk> <a.kalogirou at leeds.ac.uk> wrote:
>>
>> Hi,
>>
>> I was planning to define the heavyside function as a DG0 function.
>>
>> Any ideas about solving equation (1b), which contains a time-update for both a function and a scalar?
>>
>> I haven't been fully following along, but it looks like the formulation in (1f) introduces, effectively, a global coupling. Is that right? Assuming you didn't have any implementation constraints, how would you go about solving this?
>>
>> Lawrence
>>
>>
>>
>> _______________________________________________
>> firedrake mailing listfiredrake at imperial.ac.ukhttps://mailman.ic.ac.uk/mailman/listinfo/firedrake
>>
>>
>> --
>>
>> Dr Anna Kalogirou
>> Research Fellow
>> School of Mathematics
>> University of Leeds
>>
>> http://www1.maths.leeds.ac.uk/~matak/
>>
>>
>
>
> --
> http://www.imperial.ac.uk/people/colin.cotter
>
> www.cambridge.org/9781107663916
>
>
>
>
> _______________________________________________
> firedrake mailing listfiredrake at imperial.ac.ukhttps://mailman.ic.ac.uk/mailman/listinfo/firedrake
>
>
> --
>
> Dr Anna Kalogirou
> Research Fellow
> School of Mathematics
> University of Leeds
>
> http://www1.maths.leeds.ac.uk/~matak/
>
>
--
http://www.imperial.ac.uk/people/colin.cotter
www.cambridge.org/9781107663916
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the firedrake
mailing list