Loic
(Balazi)
February 17, 2022, 1:52pm
1
Hello All,
I build a 2D mesh on the SALOME Plateform (a grid in the plane OXY). Then, I import this mesh in FreeFEM like this
meshS TH=readmeshS("coarse_grid.mesh");
However, it seems that I cannot do
fespace P0P0(TH,[P0, P0])
on this mesh (no matter the FE space in the bracket). I have a Segmentation Error.
Before, I was doing this with a 2D mesh of type mesh (no meshS)
and it was working well. I don’t understand why.
Could someone help me with this problem ?
Otherwise, how could I change meshS type to mesh Type ?
Thank you in advance,
Best regards,
Loïc,
Loic
(Balazi)
February 18, 2022, 9:52am
2
For more precisions,
This FE space VH=fespace(P0)
works well, but this FE space VH=fespace([P0])
does not work.
It makes me think at the problem:
Hello,
I came across a segmentation fault when trying to get a matrix from varf when using a 3d surface mesh. The following code gives the error, using the torus given as example in the doc. I have tried with both FreeFem++4.5 and the recent 4.6.
Any ideas on how to solve this ?
Thank you.
load"msh3"
real R = 3, r=1; …
but I am on version 4.9.
Loïc,
I have try this
load "msh3"
meshS TH=square3(3,3);
//However, it seems that I cannot do
fespace P0P0(TH,[P0, P0]);
It seems Ok
Loic
(Balazi)
February 20, 2022, 4:45pm
4
Hello @frederichecht ,
Thank you for your reply,
This does not work with my version of FreeFEM (I am on version 4.9). I don’t understand why. It works also with @prj .
Do you have an idea about why this does not work on my machine ?
Thank you in advance,
Best regards,
Loïc,
Loic
(Balazi)
February 21, 2022, 8:25am
6
Hello @frederichecht ,
Thank you for your message, here my mesh :
coarse_grid.mesh (266 Bytes)
I have even tried this:
load "msh3"
meshS TH=square3(3,3);
//However, it seems that I cannot do
fespace P0P0(TH,[P0, P0]);
But it does not work too.
I run FreeFEM++ on UBUNTU 20.
Best regards,
Loïc,
I will try on this computer.
Loic
(Balazi)
February 21, 2022, 10:26am
8
Thank you @frederichecht ,
Let me know about the result,
Best regards,
Loïc,
I think the bug come form and correct in
commit baf1996585e5dbc09b591e2dcf62b9e5e8e88a31
Author: Frederic Hecht frederic.hecht@upmc.fr
Date: Wed Mar 24 14:52:06 2021 +0100
correct problem of initialisatio of static after usage on ubuntu os,
remove the static of G (barycenter) use in PkLagrange.hpp had to find ...
So no way with version 4.9
Loic
(Balazi)
February 21, 2022, 6:03pm
10
Thank you for your reply @frederichecht .
So I have to compile the FreeFEM version v.10 ?
@prj already advise me to compile on dev branch.
Best regards,
Loïc,
Loic
(Balazi)
February 23, 2022, 4:07pm
11
Works well with FreeFEM version v10.
Loïc,