|
[Sponsors] |
May 26, 2010, 10:48 |
how to save the hardcopy in every time step
|
#1 |
Member
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16 |
I'm doing a 2-stroke engine simulation,before the process run,I creat a view for vector of velocity magnitude,and I want to save the view after every time step.
could anyone tell me how to do it thanks in advance! |
|
May 26, 2010, 20:37 |
|
#2 |
Member
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16 |
maybe it requires to use execute commands,but I don't know how to write the macro.could anyone tell me how to do it?or any tutorial for write macro in execute commands windows.
thanks in advance! |
|
May 27, 2010, 01:34 |
|
#3 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
go to generating the images
http://www.fluent.com/about/news/new...00v9i2/a23.htm I remembered I had problems If you have multiple display-windows. So you need to activate the one you are using for the pictures. This can be done by adding this line prior to the other in solve/execute: > dis set-w 0 where 0 is the number of the window you are using
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
May 27, 2010, 04:53 |
|
#4 |
Member
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16 |
hi max:
thank you very much for your reply. I visit the website you give me,read through it and have a idea about how to do my work. another question,the article says:"Since you will be entering text commands in this panel, it is a good idea for you to practice with the text interface first to make sure that you issue the commands correctly".for example I save a new view for velocity vector or the pathline of air entering from the inlet.how can I write the text commands?or how to practice myself? thanks in advance! |
|
May 27, 2010, 05:06 |
|
#5 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
on 6.3 it was possible to navigate in the pull down menus with the mouse.
But you could also do the same by entering names of sections in the script window (where you get transcripts from fluent). For instance by typing "grid" you are in the grid section. Then a "check", call the check this is Text User Interface (TUI). So before entering your macros in solve/execute, make sur your commands run well, by testing them.
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
May 27, 2010, 05:07 |
small correction
|
#6 |
New Member
C Palani Kumar
Join Date: Nov 2009
Posts: 4
Rep Power: 16 |
wow..that works..
except that i am using fluent v6.3 and in it, the executable command is "display contour" and not "display contours".. "contour" is what that is available in the TUI.. |
|
May 27, 2010, 05:27 |
|
#7 | |
Member
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16 |
Quote:
then,could you tell me how to check my command? |
||
May 27, 2010, 05:41 |
|
#8 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
I don't remember but I think you are trying to switch to another section.
so try typing "/define"
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
May 27, 2010, 06:15 |
|
#9 |
Member
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16 |
yeah,I do it,thank you!
by the way,if I want save the hardcopy every time step for velocity,is the command"disp vector velo-mag 0 10"right?how to write the command I need is the basic problem. |
|
May 27, 2010, 06:54 |
|
#10 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
what you mentionned is just for the display.
you need, to write as hard-copy: > dis h-c name_your_picture_%t.jpg
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
May 27, 2010, 07:22 |
|
#11 | |
Member
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16 |
Quote:
and my command is shown I think the command is not right. any idea? |
||
May 27, 2010, 07:58 |
|
#12 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
the black window you are showing is affected with number 1.
That is the trouble I had... Befor you run the macros, I would open the right window, display the geometry, zoom and adapt it as you wish for your pictures. Then don't close the window, and run the iterations (with macros) Once you will uinderstand, it will be easier (but admit it is fuzzy)
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
May 27, 2010, 09:28 |
|
#13 |
Member
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16 |
hi,it still don't work.
but I try to write the command as "disp contour velo-mag",it works maybe something is wrong with the command? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HELP! time step too small? | meangreen | Main CFD Forum | 6 | May 31, 2018 10:41 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
Hydrostatic Pressure and Gravity | miliante | OpenFOAM Running, Solving & CFD | 132 | October 7, 2012 22:50 |
Overflow problem in steady simulation | ReeKo | CFX | 11 | October 8, 2008 17:57 |
unsteady calcs in FLUENT | Sanjay Padhiar | Main CFD Forum | 1 | March 31, 1999 12:32 |