Search found 1673 matches

by escolano
Mon May 16, 2022 3:16 pm
Forum: Mesh
Topic: Unstructured mesh like gmsh
Replies: 2
Views: 12

Re: Unstructured mesh like gmsh

I don't understand well your questions 1-What mean for you to divide the unstructured grid ? You can split a selection of triangles or tetrahedra, and each edge affected by the selection is divided in two, adding a node in the mid-edge. Mesh->Edit mesh->Split elements 2-You can load in GiD a mesh wr...
by escolano
Mon May 16, 2022 2:24 pm
Forum: Customization
Topic: How to Create a GiD Problem Type
Replies: 17
Views: 424

Re: How to Create a GiD Problem Type

You can use the 'Mesh->Mesh quality' tool, selecting as quality criteria 'Minimum edge' mesh_edge_sizes_distribution_accumulated.png Can see a frequency graph or and accumulated frequency graph (default) Clicking the graph they are selected the elements under this x-value The data to populate this g...
by escolano
Thu May 05, 2022 8:07 pm
Forum: Postprocess
Topic: Shell elements of different order through thickness
Replies: 2
Views: 36

Re: Shell elements of different order through thickness

GiD elements in pre or post cannot have different polynomial degrees in different edges or directions, they are all linear (corner nodes), or all quadratic (mid-edge nodes also), and optionally quadratic9 with a extra center-face node also. For postprocess purposes you can define a .post.msh file wi...
by escolano
Tue Apr 12, 2022 3:43 pm
Forum: Customization
Topic: How to Create a GiD Problem Type
Replies: 17
Views: 424

Re: How to Create a GiD Problem Type

The current Tcl layers procedures are not providing the internal integer id (or using them to specify a layer). This id is considered some kind of internal data. Instead it is used the layer name. It is not possible to modify this id (renumber the layers) At .bas programming level *layernum , *elems...
by escolano
Wed Apr 06, 2022 1:46 pm
Forum: Other
Topic: Gid crashes when warning "Model not correct, some data is lost" occurs
Replies: 3
Views: 133

Re: Gid crashes when warning "Model not correct, some data is lost" occurs

I don't suggest that the bug is at the problemtype side, but that maybe depends on the kind of syntax and GiD functions that is using.
by escolano
Mon Apr 04, 2022 7:55 pm
Forum: Other
Topic: Gid crashes when warning "Model not correct, some data is lost" occurs
Replies: 3
Views: 133

Re: Gid crashes when warning "Model not correct, some data is lost" occurs

You are right, this message is related with some corruption of the .lin file, that store the values of the conditions applied to the geometry and mesh. If this file become corrupted it is at least possible to not lost the geometry, mesh, groups, etc. If the file is corrupted by some reason it is imp...
by escolano
Mon Apr 04, 2022 7:38 pm
Forum: Customization
Topic: How to Create a GiD Problem Type
Replies: 17
Views: 424

Re: How to Create a GiD Problem Type

I guess that you are defining in the .cnd some condition 'over layers' similar to this: CONDITION: xxx CONDTYPE: over layers CONDMESHTYPE: 'over nodes' QUESTION: PNAX VALUE: 0.0 QUESTION: PNAY VALUE: 0.0 END CONDITION and want that each one of your bodies (platen1, platen2, rock) will be represented...
by escolano
Fri Apr 01, 2022 12:09 pm
Forum: Customization
Topic: How to Create a GiD Problem Type
Replies: 17
Views: 424

Re: How to Create a GiD Problem Type

Sorry, I didn't understood what do you want to obtain in the second question. It is not possible to define two conditions, and then do two loops on nodes for both conditions? *set cond a *loop nodes *onlyincond *nodesnum *cond *end nodes *set cond b *loop nodes *onlyincond *nodesnum *cond *end nodes...
by escolano
Fri Apr 01, 2022 11:50 am
Forum: Customization
Topic: How to Create a GiD Problem Type
Replies: 17
Views: 424

Re: How to Create a GiD Problem Type

About the first question
the command *\ prevent the endline
you can do something like this (I didn't tested my code, could have small bugs):

Code: Select all

*Set var column=0
*loop elems
*Set var column=operation(column(int)+1)
-1*\
*if(column==20)
*Set var column=0

*endif
*end elems
by escolano
Wed Mar 30, 2022 7:25 pm
Forum: Customization
Topic: How to Create a GiD Problem Type
Replies: 17
Views: 424

Re: How to Create a GiD Problem Type

I am not sure that it is a good idea to do this unusual trick to sum a displacement of a condition to the nodes. In any case, this is an error: *Set Cond Point-Initial-Data *nodes *if(cond(5,int)==1) the value of cond(5) cannot be asked outside the *loop nodes *OnlyIncond because is not a global val...