CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

how to save the hardcopy in every time step

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2010, 10:48
Default how to save the hardcopy in every time step
  #1
Member
 
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16
yubaibai88 is on a distinguished road
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!
yubaibai88 is offline   Reply With Quote

Old   May 26, 2010, 20:37
Default
  #2
Member
 
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16
yubaibai88 is on a distinguished road
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!
yubaibai88 is offline   Reply With Quote

Old   May 27, 2010, 01:34
Default
  #3
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
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
-mAx- is offline   Reply With Quote

Old   May 27, 2010, 04:53
Default
  #4
Member
 
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16
yubaibai88 is on a distinguished road
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!
yubaibai88 is offline   Reply With Quote

Old   May 27, 2010, 05:06
Default
  #5
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
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
-mAx- is offline   Reply With Quote

Old   May 27, 2010, 05:07
Smile small correction
  #6
New Member
 
C Palani Kumar
Join Date: Nov 2009
Posts: 4
Rep Power: 16
gurupalani is on a distinguished road
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..

gurupalani is offline   Reply With Quote

Old   May 27, 2010, 05:27
Default
  #7
Member
 
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16
yubaibai88 is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
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.
I typing "grid" in the text interface,then check.fluent check my grid.but it says "invalid command" after typing define.shown in picture 1,what can I do.
then,could you tell me how to check my command?
Attached Images
File Type: jpg 1.JPG (40.8 KB, 51 views)
yubaibai88 is offline   Reply With Quote

Old   May 27, 2010, 05:41
Default
  #8
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
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
-mAx- is offline   Reply With Quote

Old   May 27, 2010, 06:15
Default
  #9
Member
 
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16
yubaibai88 is on a distinguished road
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.
yubaibai88 is offline   Reply With Quote

Old   May 27, 2010, 06:54
Default
  #10
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
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
-mAx- is offline   Reply With Quote

Old   May 27, 2010, 07:22
Default
  #11
Member
 
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16
yubaibai88 is on a distinguished road
Quote:
Originally Posted by -mAx- View Post
what you mentionned is just for the display.
you need, to write as hard-copy:
> dis h-c name_your_picture_%t.jpg
I run the process,the windows show nothing.shown in picture
and my command is shown
I think the command is not right.
any idea?
Attached Images
File Type: jpg 1.JPG (18.0 KB, 23 views)
File Type: jpg 2.JPG (44.9 KB, 32 views)
yubaibai88 is offline   Reply With Quote

Old   May 27, 2010, 07:58
Default
  #12
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
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
-mAx- is offline   Reply With Quote

Old   May 27, 2010, 09:28
Default
  #13
Member
 
李逾
Join Date: Mar 2010
Posts: 65
Rep Power: 16
yubaibai88 is on a distinguished road
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?
yubaibai88 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 17:57.