[GiDlist] gidpost library

Moderator: GiD Team

Post Reply
Jose Antonio Fernández Merodo

[GiDlist] gidpost library

Post by Jose Antonio Fernández Merodo »

Ok, I found the function I need in gidpost.cpp: GiD_WriteCircleMat







De: Jose Antonio Fernández Merodo [mailto:jose.fernandez at igme.es]
Enviado el: miércoles, 13 de febrero de 2013 14:23
Para: 'gidlist at listas.cimne.upc.edu'
Asunto: gidpost library



Dear GiD team,

I m using the gidpost.lib (fortran) for a long time to create my flavia.msh
and flavia.res files. At this moment I m using "Circle" and "Sphere"
ElemType, do you know how I can write the information:

"Element_number Node_number Radius [optional_normal_x optional_normal_y
optional_normal_z] [optional_material_number]"?

GiD_WriteElementMat function is not valid for this purpose.

Thank you.

José Antonio



___________________________________________________________

José Antonio Fernández Merodo



INSTITUTO GEOLÓGICO Y MINERO DE ESPAÑA

Departamento de Investigación y Prospectiva Geocientífica

Área de Investigación en Peligrosidad y Riesgos Geológicos



c/ Ríos Rosas 23, 28003 Madrid, España

( +34 91349 5810

* mailto:jose.fernandez at igme.es jose.fernandez at igme.es

Web http://www.igme.es/ www.igme.es



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20130213/a915d452/attachment.htm
User avatar
escolano
Posts: 1922
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] gidpost library

Post by escolano »

Yes, the functions you ask are (C++ syntax)

int GiD_WriteSphere(int id, int nid, double r)
int GiD_WriteSphereMat(int id, int nid, double r, int mat)
int GiD_WriteCircle(int id, int nid, double r,double nx, double ny, double nz)
int GiD_WriteCircleMat(int id, int nid, double r,double nx, double ny, double nz, int mat)

Maybe the current gidpost source code of the version to be downloaded in our web page is too old, and these functions are not implemented on it.

Enrique Escolano
----- Original Message -----
From: Jose Antonio Fernández Merodo
To: gidlist at listas.cimne.upc.edu
Sent: Wednesday, February 13, 2013 4:33 PM
Subject: Re: [GiDlist] gidpost library


Ok, I found the function I need in gidpost.cpp: GiD_WriteCircleMat







De: Jose Antonio Fernández Merodo [mailto:jose.fernandez at igme.es]
Enviado el: miércoles, 13 de febrero de 2013 14:23
Para: 'gidlist at listas.cimne.upc.edu'
Asunto: gidpost library



Dear GiD team,

I m using the gidpost.lib (fortran) for a long time to create my flavia.msh and flavia.res files. At this moment I m using "Circle" and "Sphere" ElemType, do you know how I can write the information:

"Element_number Node_number Radius [optional_normal_x optional_normal_y optional_normal_z] [optional_material_number]"?

GiD_WriteElementMat function is not valid for this purpose.

Thank you.

José Antonio



___________________________________________________________

José Antonio Fernández Merodo



INSTITUTO GEOLÓGICO Y MINERO DE ESPAÑA

Departamento de Investigación y Prospectiva Geocientífica

Área de Investigación en Peligrosidad y Riesgos Geológicos



c/ Ríos Rosas 23, 28003 Madrid, España

( +34 91349 5810

* jose.fernandez at igme.es

Web www.igme.es





------------------------------------------------------------------------------


_______________________________________________
GiDlist mailing list
GiDlist at listas.cimne.upc.edu
http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20130213/6672c7c3/attachment-0001.htm
Post Reply