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

rotating scene anmation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 9, 2007, 12:33
Default rotating scene anmation
  #1
Naghman Khan
Guest
 
Posts: n/a
Hello,

Firstly does anyone know how to use the Camera under Views.. I was trying to manipulate this but to no effect. And what can it be used for please?

Secondly I have a rotating body, is there any way of showing this rotation in a scene animation?

I mean I can't change the Views by rotating it a few degrees at a time, so is there any other way?

Thanks you experts...
  Reply With Quote

Old   August 9, 2007, 12:55
Default Re: rotating scene anmation
  #2
bashu
Guest
 
Posts: n/a
You can write a journal file with these two command lines repating 360 times. The first line will rotate the view by 1 degree and the second line will capture the view. The saved images then can be animated outside fluent. Make sure the file name in the second line is different for different views.

dis view cam or-cam 1 0

dis hc "mov001.tif"

  Reply With Quote

Old   August 9, 2007, 15:57
Default Re: rotating scene anmation
  #3
Naghman Khan
Guest
 
Posts: n/a
Bashu,

Wow, that's awesome, thanks very much.

When I do this do I need to write these two lines 360 times with different names for the file name in the second line?

Also what will this actually give in term of views? Will it simply rotate around my model i.e. like a panoramic view? Or will it really show the fluid moving as well so I can see the effect of the rotation on the fluid in real time (almost)?

Thanks again

  Reply With Quote

Old   August 10, 2007, 03:15
Default Re: rotating scene anmation
  #4
Dr. Flow Squad
Guest
 
Posts: n/a
You can create an animation from the files following this guide: http://tinyurl.com/3ablhk -Dr. Flow Squad http://tinyurl.com/2gkjh8

  Reply With Quote

Old   August 10, 2007, 05:55
Default Re: rotating scene anmation
  #5
Naghman Khan
Guest
 
Posts: n/a
Hey,

I've tried the commands you gave above, although they are rotating and creating a tif file each time, this tif file cannot be viewed. I have tried opening these files on several programs just to check including, photoshop, MS paint, fax and photo viewer, photodraw, corel paint shop pro etc..

But they all say it's not a valid file for some reason. Do you know what is happening?

Thanks
  Reply With Quote

Old   August 10, 2007, 07:37
Default Re: rotating scene anmation
  #6
bashu
Guest
 
Posts: n/a
In file -->hardcopy, the default is postScript. You need to set it to tif or jpeg and use Dr. Flow's method to see the animation. This method is good to see the plot from different views.

You can create the journal file using a do loop and yes you have to change the name of the harcopy file each time.

The camera command can be used to zoom in and out also and you can explore it using the Text comand lines.

If you want to see the rotation the best I can think of is probably to animate the pathlines for a steady flow.
  Reply With Quote

Old   August 10, 2007, 07:42
Default Re: rotating scene anmation
  #7
Naghman Khan
Guest
 
Posts: n/a
Thanks again Bashu, you are very helpful.

Animate pathlines for a steady flow, where can I get more info on how to do this please?

Thanks
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rotating Impeller Naith FloEFD, FloWorks & FloTHERM 22 November 5, 2012 09:53
Vertical Axis Wind Turbine Rotating Domain Problems TWaung CFX 4 May 1, 2012 03:14
question about governing equation in CFX using rotating/non rotating reference frame rystokes CFX 0 January 12, 2010 07:14
transient simulation of a rotating rectangle icesniffer CFX 1 August 8, 2009 07:25
IcoDyMFoam how to define more than one rotating regions naoko_oyama OpenFOAM Running, Solving & CFD 0 November 14, 2008 09:25


All times are GMT -4. The time now is 10:29.