-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some comments about current surface coupling approach #204
Comments
The About the construction of FE Spaces:
I think we have to discuss these topics face to face since they are quite advanced with a lot of small details... |
rtrian = Triangulation(trian,list_of_cells)
# equivalent to
rtrian = RestrictedTriangulation(trian,list_of_cells)
rmodel = DiscreteModel(model,list_of_cells)
# equivalent to
rmodel = RestrictedDiscreteModel(model,list_of_cells)
# From GMesh
fmodel = DiscreteModel(model,"fluid")
smodel = DiscreteModel(model,"solid")
imodel = InterfaceModel(fmodel,smodel)
itrian = InterfaceTriangulation(model, labels,"fluid","solid")
itrian = InterfaceTriangulation(model,fluid_cells,solid_cells)
itrian = InterfaceTriangulation(fmodel,smodel)
ftrian = Triangulation(fmodel) |
Improving surface coupling API. Fixes issue #204
Fixed via PR #209 |
Hi @fverdugo
I think that the constructor of the
InterfaceTriangulation
Gridap.jl/test/GridapTests/SurfaceCouplingTests.jl
Line 70 in 57c08cd
should take as arguments two sets of cells. We can keep this one, but we need another one in which we take two sets of sub-cells. Or even better, two triangulation restrictions. The thing is that, when we will have three domains
Ω1
,Ω2
andΩ3
, we want to be able to defineΓ12
,Γ13
orΓ23
.I would even think further, what about the edges between
Ω1
,Ω2
andΩ3
, let us sayΓ123
. I think this algorithm is just extract geometrical entities given some labels, right? It can be very general...On the other hand, do we need in
Gridap.jl/test/GridapTests/SurfaceCouplingTests.jl
Lines 96 to 102 in 57c08cd
triangulation
andrestricted_at
? It is weird. I would create a constructor with only one restricted triangulation.On the other hand, for the restricted FE spaces, you use a
triangulation
Gridap.jl/test/GridapTests/SurfaceCouplingTests.jl
Lines 96 to 102 in 57c08cd
whereas for the standard ones a
model
Gridap.jl/test/GridapTests/SurfaceCouplingTests.jl
Lines 76 to 82 in 57c08cd
This is also very odd. That is the reason why I originally proposed a
ModelRestriction
. I think we should also fix this problem. In fact, I thought that the reason why we need a model are the boundary conditions (labels, etc). Can we enforce labels in the extended FE spaces you have defined? In this particular case, the pressure has no boundary conditions, but what about other cases?And finally, we also want to be able to read restrictions from e.g.
GMesh
, don't we?Apart from these minor things, great job!
The text was updated successfully, but these errors were encountered: