Search found 6 matches
- 03 Aug 2018, 16:59
- Forum: Bug reports
- Topic: weird names in entities.sif after ElmerGrid 8 2 unv -autoclean
- Replies: 6
- Views: 4692
Re: weird names in entities.sif after ElmerGrid 8 2 unv -autoclean
I'll crosscheck what happens if I just remove a few characters. The names are maybe just above 30 signs long or is it 29 plus null? I remember that strings in C had some end sign null and if you write over those nulls then it would be somewhat logical to get such long strings. Looks like it is os. B...
- 03 Aug 2018, 16:35
- Forum: Bug reports
- Topic: weird names in entities.sif after ElmerGrid 8 2 unv -autoclean
- Replies: 6
- Views: 4692
Re: weird names in entities.sif after ElmerGrid 8 2 unv -autoclean
Maybe it relates to https://github.com/ElmerCSC/elmerfem/blob/devel/elmergrid/src/femtypes.h at line 223 224, with maximum varname length 30 at line 12 223 char bodyname[MAXBODIES][MAXNAMESIZE]; 224 char boundaryname[MAXBCS][MAXNAMESIZE]; 12 #define MAXNAMESIZE 30 /* maximum size of the variablename...
- 03 Aug 2018, 16:21
- Forum: Bug reports
- Topic: weird names in entities.sif after ElmerGrid 8 2 unv -autoclean
- Replies: 6
- Views: 4692
Re: weird names in entities.sif after ElmerGrid 8 2 unv -autoclean
import code seems to start at 4416 in femfilein.c and as far as I can see the resulting names are in entityname (4450/51) and it is displayed correctly there and here is the line copying the string into data 4446 strcpy(data->bodyname[nogroup],entityname); data is femtype 4060 int LoadUniversalMesh(...
- 03 Aug 2018, 15:58
- Forum: Bug reports
- Topic: weird names in entities.sif after ElmerGrid 8 2 unv -autoclean
- Replies: 6
- Views: 4692
Re: weird names in entities.sif after ElmerGrid 8 2 unv -autoclean
c or fortran Code is I think fine with me, I could somewhat read it I think. C I know fortran not so well. but when I checked if there is anything obvious where to search then it was not possible to know where I should start (which file) I will try but any hint would be good. Yet I dont know if I co...
- 03 Aug 2018, 15:49
- Forum: Bug reports
- Topic: weird names in entities.sif after ElmerGrid 8 2 unv -autoclean
- Replies: 6
- Views: 4692
Re: weird names in entities.sif after ElmerGrid 8 2 unv -autoclean
Hi, thx. I just realised from the console output that the names given there are correct, whilst the written names are wrong. Not sure, I think I am not really allowed to send the mesh file since it would be publicly available. Is there any other way to deal with this confidentially? I dont know if y...
- 03 Aug 2018, 14:11
- Forum: Bug reports
- Topic: weird names in entities.sif after ElmerGrid 8 2 unv -autoclean
- Replies: 6
- Views: 4692
weird names in entities.sif after ElmerGrid 8 2 unv -autoclean
Hi, this is an issue for which is not clear, is it due to salome (8.3.0) or due to Elmergrid (Elmer solver is Version: 8.3 (Rev: c30fff2, Compiled: 2017-05-22)). I had this issue now twice and using short desription names for bodies or boundaries seems to help. Anyway, the strings generated in entit...