[Gmsh] combine two different msh-file in one window
?????? ???????
anzakhar at gmail.com
Wed Dec 1 10:59:43 CET 2010
Hi Christophe
Thanks, It works but not all cases.
My results are stored along with the mesh and I do File->Open for each file.
It work fine but only for compared time steps of results:
If time step of one part are greater than other part (18/18 and 14/18
respectively), output picture makes wrong:
Area with greater time steps makes invisible L
End steps of calculations are correspond of stationary mode and I want to
see this values in one picture.
Andrey
-----Original Message-----
From: Christophe Geuzaine [mailto:cgeuzaine at ulg.ac.be]
Sent: Wednesday, December 01, 2010 11:14 AM
To: ?????? ???????
Cc: gmsh at geuz.org
Subject: Re: [Gmsh] combine two different msh-file in one window
Hi Andrey,
If your results are obtained on the same mesh, just "File->Open" the
mesh, then "File->Merge" the two post-processing datasets. (Or, if you
saved the datasets along the mesh in a single .msh file, just "File->Open").
If your results are obtained on two separate meshes, just "File->Open"
the first mesh, "File->Merge" the first dataset; then "File->Open" the
second mesh, followed by "File->Merge" with the second dataset.
(If the results are stored along with the mesh, just "File->Open" each one.)
File->Open creates a new model; File->Merge merges data into the current
model.
By default, Gmsh only shows the current model. To show more use e.g.
Tools->Visibility->Tree Browser.
Christophe
On 01/12/10 08:55, ?????? ??????? wrote:
> Hi, Mikhail.
>
> Thanks for your answer.
>
> I think that GMSH function "Merge" or something like could help me.
>
> I don't want to interpolate results between time steps with GMSH. I want
> to visualize results for two different part of one computational area
> which correspond stationary mode.
>
> I calculate gas flow in one part, than use this output values as input
> values for calculate other part of area. After calculating all part of
> areas I want to visualize values in one picture.
>
> Andrey
>
> *From:*gmsh-bounces at ace20.montefiore.ulg.ac.be
> [mailto:gmsh-bounces at ace20.montefiore.ulg.ac.be] *On Behalf Of *Mikhail
> Titov
> *Sent:* Tuesday, November 30, 2010 3:42 AM
> *To:* gmsh at geuz.org
> *Subject:* Re: [Gmsh] combine two different msh-file in one window
>
> Andrey:
>
> Why would you like to visualize results in a single GMSH window? You can
> visualize each result independently using the same value range to get
> the same color scales and then stack images together.
>
> I doubt that you can interpolate results between time steps with GMSH.
> I'd adjust solver's time stepping such that you get an output at least
> every second/minute/hour/whatever or just at certain check points for
> both objects so your solver won't step over.
>
> If you really want to see both objects in a single GMSH window, I'd use
> something like perl to combine both mesh files section by section. Once
> you know number of nodes and elements in the first file, you can apply
> necessary offsets to those from the second file.
>
> Alternatively, you may consider adjusting your solver and dealing with
> both volume. You can still distinguish internally between them by using
> numerous tags for elements.
>
> Mikhail
>
> *From:*gmsh-bounces at ace20.montefiore.ulg.ac.be
> [mailto:gmsh-bounces at ace20.montefiore.ulg.ac.be] *On Behalf Of *??????
> ???????
> *Sent:* Friday, November 26, 2010 5:57 AM
> *To:* gmsh at geuz.org
> *Cc:* baumkorik at yandex.ru
> *Subject:* [Gmsh] combine two different msh-file in one window
>
> Dear GMSH community.
>
> Help me, please.
>
> May I combine and view two different *.msh-files with my post-processing
> results in one GMSH-window?
>
> This *.msh-files contains mesh, which correspond 2 different contacting
> volumes of one large geometrical area.
>
> Post-processing result in this *.msh-files contains different
> time-step's results (but end time is equal) and different range of value
> of output parameter.
>
> If yes, May I use only GMSH-interface commands or I must to write some
> script ?
>
> Thanks for your reply.
>
> Zakharov Andrey
>
> PhD student
>
> BMSTU
>
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20101201/7922f5e5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 34795 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20101201/7922f5e5/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 31031 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20101201/7922f5e5/attachment-0001.jpg>