[GiDlist] Fw: how to get the library

Moderator: GiD Team

Post Reply
Enrique Escolano

[GiDlist] Fw: how to get the library

Post by Enrique Escolano »

You have reason, if you try to compile testpostfor.f from Compaq Visual FORTRAN
(or another compiler from MS Developer Studio), it exists a bug in the sample:

Instead:
CALL GID_BEGINSCALARRESULT('Result','Analy.',1.0,0,0,NULL,NULL)
must use:
CALL GID_BEGINSCALARRESULT('Result','Analy.',1.0,0,NULL,NULL,NULL)

Another small change:
Instead
CALL GID_WRITECOORDINATES(idx, rx, ry, 0.0)
use
REAL*8 rz
...
rz = 0.0
CALL GID_WRITECOORDINATES(idx, rx, ry, rz)

I attach testpostfor.f with this changes, and avoiding the use of RANDOM for this sample, because is not FORTRAN standard, and
the syntax can change between compilers.

Regards
Enrique Escolano

----- Original Message -----
From: "Zhiwei Niu" nzwyc at sina.com
To: escolano at cimne.upc.es
Sent: Wednesday, April 30, 2003 4:10 PM
Subject: Re: how to get the library


escolano,hi!

Thank you help me! today i try to get the library with Microsoft C++, it is ok! but i meet the follow errors when i try to compile that example written in Fortran Language---testpostfor.f

testpostfor.obj : error LNK2001: unresolved external symbol _GID_BEGINSCALARRESULT at 44
Debug/gidpost.exe : fatal error LNK1120: 1 unresolved externals

i think i lost the subroutine GID_BEGINSCALARRESULT when i compile the library in Microsoft C++ because when i delete the line CALL GID_BEGINSCALARRESULT, it can run without any problem. Do you have any idea about this?

thanks a lot

best regards



--__--__--

Message: 4
From: "Enrique Escolano" escolano at cimne.upc.es
To: gidlist at gatxan.cimne.upc.es
Subject: Re: [GiDlist] how to get the library
Date: Mon, 28 Apr 2003 11:16:57 +0200
Reply-To: gidlist at gid.cimne.upc.es

What's your compilation problem?
You compile on Linux/Unix, Windows using MS Visual C++, ...?

You can compile gidpost.lib ?(read gidpost.html to compile)
Yon can compile the sample use testpost.c using this library, to create
testpost.exe?

This library is tested under Linux and Windows.

Enrique Escolano

----- Original Message -----
From: "Zhiwei Niu" nzwyc at sina.com
To: "gid" gidlist at gatxan.cimne.upc.es
Sent: Tuesday, April 29, 2003 3:29 AM
Subject: [GiDlist] how to get the library


everybody,hi!

with GID 7.2 and some other files which are written in C language, it is
possible to write the result file in binary format in order to compress the
size of result file. I got some gidpost files which are written in C
language from GID website. from readme.txt, i was informed that i can get a
library file by compiling those resource files and with the library file, i
can write the *.flavia.msh and *.flavia.res in binary format. but i cann't
compile those resouce file successfully. i don't know if somebody try it or
not.

i think it is very meaning to write the two result file in binary format
because with ascii format the two files are always very big sometimes,
especially you have a lot of results in your result files.

thanks a lot







-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030428/ade8f83f/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testpostfor.f
Type: application/octet-stream
Size: 1749 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030428/ade8f83f/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: readme.dat
Type: application/octet-stream
Size: 646 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030428/ade8f83f/attachment-0001.obj
Malte Neumann

[GiDlist] postprocessing with changing mesh

Post by Malte Neumann »

Hi everbody,

I would like to postprocess results on a changing mesh, i.e. the number of
nodes and elements might change (increase and decrease) during the simulation.
Is there a way to postprocess such results other than writing a new .msh
and .res for each new mesh and not being able to create animations?

Thanks for any help.

Malte


--
--------------------------------------------------------------------------
Malte Neumann
--------------------------------------------------------------------------
Institut fuer Baustatik / Institute of Structural Mechanics
Prof. Dr.-Ing. Ekkehard Ramm
Universitaet Stuttgart / University of Stuttgart

Pfaffenwaldring 7, D-70550 Stuttgart, Germany

mailto:malte.neumann at statik.uni-stuttgart.de phone: ++49-711-685-6121
http://www.uni-stuttgart.de/ibs/members/neumann/ fax: ++49-711-685-6130
--------------------------------------------------------------------------
Enrique Escolano

[GiDlist] postprocessing with changing mesh

Post by Enrique Escolano »

Currently is not supported a "time-step" variable mesh in GiD postprocess.
It is necessary to open each .msh and .res

It is possible to create a tcl procedure (and a window) to automatize, for a
colection of results, this process:
- open an animation file (avi, mpeg...),
- read a mesh and results file
- read a view previously saved in another file.
- save a image to this animation file
-close this animation file

Enrique Escolano

----- Original Message -----
From: "Malte Neumann" neumann at statik.uni-stuttgart.de
To: gidlist at gatxan.cimne.upc.es
Sent: Wednesday, April 30, 2003 12:18 PM
Subject: [GiDlist] postprocessing with changing mesh


Hi everbody,

I would like to postprocess results on a changing mesh, i.e. the number of
nodes and elements might change (increase and decrease) during the
simulation.
Is there a way to postprocess such results other than writing a new .msh
and .res for each new mesh and not being able to create animations?

Thanks for any help.

Malte


--
--------------------------------------------------------------------------
Malte Neumann
--------------------------------------------------------------------------
Institut fuer Baustatik / Institute of Structural Mechanics
Prof. Dr.-Ing. Ekkehard Ramm
Universitaet Stuttgart / University of Stuttgart

Pfaffenwaldring 7, D-70550 Stuttgart, Germany

mailto:malte.neumann at statik.uni-stuttgart.de phone: ++49-711-685-6121
http://www.uni-stuttgart.de/ibs/members/neumann/ fax: ++49-711-685-6130
--------------------------------------------------------------------------

_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

Post Reply