gridap / gridap/Gridap.jl

Issue using MultiFieldFESpace on interface

Open
#741 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Julia
Stars
879
Forks
119
Avg merge
6d 3h
Merged PRs (30d)
4

Description

It seems that it is not possible to integrate over a interface when a space is defined on the same interface as a part of a MultiFieldFESpace (containing the two domains that define the interface + the interface).

```
model = DiscreteModelFromFile("models/elasticFlag.json") #from tutorials

Ω = Interior(model)
Ω_s = Interior(model,tags="solid")
Ω_f = Interior(model,tags="fluid")
dΩ_s = Measure(Ω_s,2)
dΩ_f = Measure(Ω_f,2)

Γ = Interface(Ω_f,Ω_s)
dΓ = Measure(Γ,2)

reffeᵤ = ReferenceFE(lagrangian,Float64,2)

Vf = TestFESpace( Ω_f,reffeᵤ,conformity=:H1)
Vs = TestFESpace( Ω_s, reffeᵤ, conformity=:H1)
V_Γ = TestFESpace(Γ,reffeᵤ, conformity=:H1)

Uf = TrialFESpace(Vf)
Us = TrialFESpace(Vs)
U_Γ = TrialFESpace(V_Γ)

Y = MultiFieldFESpace([Vs,Vf,V_Γ])
X = MultiFieldFESpace([Us,Uf,U_Γ])

a((us,uf,p),(vs,vf,q))= ∫(p*q)dΓ
l((vs,vf,q)) = 0

op = AffineFEOperator(a,l,X,Y)
```

A suggestion was to define the FE space on Gamma.plus, but that requires to also define the measure (d\Gamma\) on Gamma.plus and therefore creates another problem if one needs to integrate with the minus field.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.