[GiDlist] writing to binary with separate mesh and results f

Moderator: GiD Team

Post Reply
Marco Giometto | EPFL

[GiDlist] writing to binary with separate mesh and results f

Post by Marco Giometto | EPFL »

Hi All,

I'm working on a Cartesian grid, solving transient problems (fluid
mechanics) and outputting my results in binary format at each time step.
Simulations we're running are usually around 512^3 nodes so I cannot
output the whole grid for memory issues, what I do is I write results on
a coarser grid (128^3) and on selected slices 2D where I keep the full
resolution (512^2).

At the moment I'm writing a binary file at each time step with
mesh+results using the GidPost library, I was wondering if it's
possible, when writing in binary mode with GiD and referring to my
specific case, to have e.g. *2 separate mesh files* that I create at the
beginning of the simulation (one for the coarse grid one for the 2D
slices) *and then 2 separate results files* that I update during the
simulation.
The reason I'm asking this is that I would like to avoid having to write
the mesh informations at each time step in the binary files, in order to
speed-up the output phase.

Thank you in advance and kind regards,
Marco Giometto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20130607/c94a1115/attachment.htm
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

[GiDlist] writing to binary with separate mesh and results f

Post by escolano »

Since the gidpost library version 2.0 (current is 2.1) there is a new set of functions "GiD_fxxx" that allow specify the file to write, in case of have multiple files of mesh or results
(In previous GiDPost versions the result and mesh files are implicit channels and then there was only a single .res and .mesh)

Download this version ftp://www.gidhome.com/pub/Tools/gidpost-2.1.zip and update your code to use the new "GiD_fxxx" functions.

Enrique Escolano
----- Original Message -----
From: Marco Giometto | EPFL
To: gidlist at listas.cimne.upc.edu
Sent: Friday, June 07, 2013 1:43 PM
Subject: [GiDlist] writing to binary with separate mesh and results files


Hi All,

I'm working on a Cartesian grid, solving transient problems (fluid mechanics) and outputting my results in binary format at each time step. Simulations we're running are usually around 512^3 nodes so I cannot output the whole grid for memory issues, what I do is I write results on a coarser grid (128^3) and on selected slices 2D where I keep the full resolution (512^2).

At the moment I'm writing a binary file at each time step with mesh+results using the GidPost library, I was wondering if it's possible, when writing in binary mode with GiD and referring to my specific case, to have e.g. 2 separate mesh files that I create at the beginning of the simulation (one for the coarse grid one for the 2D slices) and then 2 separate results files that I update during the simulation.
The reason I'm asking this is that I would like to avoid having to write the mesh informations at each time step in the binary files, in order to speed-up the output phase.

Thank you in advance and kind regards,
Marco Giometto



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


_______________________________________________
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/20130607/062a8b0c/attachment.htm
Vu Minh-Ngoc

[GiDlist] Consultez mon profil LinkedIn

Post by Vu Minh-Ngoc »

LinkedIn
------------



J'aimerais vous inviter à rejoindre mon réseau professionnel en ligne, sur le site LinkedIn.

Vu

Vu Minh-Ngoc
Laboratoire Navier chez Ecole nationale des Ponts et Chaussées
Région de Paris , France

Veuillez confirmer que vous connaissez Vu Minh-Ngoc :
https://www.linkedin.com/e/-7cdpj2-hibf4s44-5g/isd/14428221243/MnbWwN1z/?hs=false&tok=3-4fcq3wkbXRM1

--
Vous recevez des invitations à vous connecter par e-mail. Cliquez ici si vous ne souhaitez plus recevoir ces e-mails :
http://www.linkedin.com/e/-7cdpj2-hibf4s44-5g/AWtoTp68x88-cd7cGRoOW4h8I_oMfPmcGTtmGiuuyPF/goo/gidlist%40listas%2Ecimne%2Eupc%2Eedu/20061/I4801143917_1/?hs=false&tok=0X8WdS6oobXRM1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20130624/e34793b2/attachment.htm
Post Reply