-
Notifications
You must be signed in to change notification settings - Fork 15
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
Errors for FSI problem #48
Comments
For this one, we need to implement |
Indeed, @ericneiva, there were some functions that had to be implemented for
I'm not sure if this error comes from a bad implementation of the extended functions in the PR gridap/Gridap.jl#620 or for another reason in GridapEmbedded. |
Hi, @oriolcg, I am taking a look at this now, because I have reproduced the error, while trying to let |
I think you were trying to sum two array blocks in a way that it is not implemented. You can take a look at how I sum the array blocks, by inspecting the new I have implemented But it is still not enough to pass all tests... I get the same error you report above @oriolcg with
|
Thanks @ericneiva, with the new implementation in gridap/Gridap.jl#623 I don't have the second error anymore. Now I recover the error that I had some time ago:
This error appears whenever there is at least one full inactive (solid) element within the flag. Any idea on what could be the problem? |
I am not sure what is the particular cause of the problem in your case, but I have also faced this assertion error in other contexts. The following post may help you: gridap/Gridap.jl#603 (comment) |
Thanks @amartinhuertas. Then, it might be related to the fact that both sides of the interface are active when defining the |
@oriolcg can you upload the mesh file so that I can try to reproduce the problem? |
@fverdugo, the code is here: https://gist.github.com/oriolcg/66f6fb257f77b674021671056a055039 |
@oriolcg gridap/Gridap.jl#623 and gridap/Gridap.jl#624 fix the problem! |
Thanks @fverdugo! I'll keep adding things and hope there are no more issues. |
This should be fixed via the new release https://github.com/gridap/GridapEmbedded.jl/releases/tag/v0.7.0 If the error persists, reopen the issue. |
Hi @fverdugo, @ericneiva, @santiagobadia,
The error appears in line 142 of the following code: https://gist.github.com/oriolcg/636441a6d9e2420165033f50dc0f15f3#file-agfem_fsi-jl-L142. Do I need to define other aggregates? or a different aggregation strategy? |
You need different aggregates in each case. Fluid and solid fe spaces are defined over different domains. |
This incomplete snippet of a bimaterial Poisson problem might help you: geom⁺ = geom; geom⁻ = ! geom⁺
cutgeo = cut(bgmodel,union(geom⁺,geom⁻))
. . .
aggs⁺ = aggregate(strategy,cutgeo,geom⁺)
aggs⁻ = aggregate(strategy,cutgeo,geom⁻)
. . .
V⁺ = AgFEMSpace(Vstd⁺,aggs⁺)
V⁻ = AgFEMSpace(Vstd⁻,aggs⁻) |
Hi @santiagobadia, @ericneiva, @fverdugo
In this issue I'll report some of the errors that I'm facing when building a FSI driver using AgFEM.
In the following file you'll find the code that I'm executing.
https://gist.github.com/oriolcg/66f6fb257f77b674021671056a055039
It first builds the geometry of the elastic flag benchmark (simplified) and then I just set up an Stokes problem on the fluid domain. I'm linking with
Gridap#master
andGridapEmbedded#gridap_v0.16
. In this preliminar setup I already have a couple of problems:Vᵥ_ser = FESpace(model_fluid,FEᵥ_ser)#,conformity=:L2)
. If I add the conformity, I get the following error∫( (γ/h)*v⋅u - v⋅(n_ΓDf⋅∇(u)) - (n_ΓDf⋅∇(v))⋅u + (p*n_ΓDf)⋅v + (q*n_ΓDf)⋅u )dΓDf
, I get the following error:Any help will be very much appreciated
The text was updated successfully, but these errors were encountered: