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

Can I define grids motion as a time functions

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 28, 2001, 06:22
Default Can I define grids motion as a time functions
  #1
Darcy
Guest
 
Posts: n/a
Dear all

The complete title is 'Can I define grids motion as a time functions in a command file?'

In CFX-4, I think it not a easy job to use USRGRD for the definition of grids motion. I saw the desk calculator mode in command file today.I wondered if it can help me define grids motion to be a time function immediately in command file. To give my comcept, I give the commmand file codes below:

>>GRID MOTION PARAMETERS

#CALC

ALPHA = OMEGAT ** 2.0 / (4.0 * 3.41592);

OMEGA = ALPHA * TIME;

#ENDCALC

/* THE VARIABLE 'TIME' IS TIME VALUE OF TRANSIENT FLOW FIELD */

BLOCK NAMES 'BLOCK-NUMBER-1','BLOCK-NUMBER-2'

POSITION OF MATION AXIS 3 * 0.0

DIRCETION VECTOR OF MOTION AXIS -1.0 0.0 0.0

ROTATION SPEED #OMEGA

>>END

I make grids 'BLOCK-NUMBER-1' and 'BLOCK-NUMBER-2' rotate about the axis defined by (0,0,0) and (-1,0,0). The rotation speed is a linear time function. The rotation speed is 0 at t = 0 and OMEGAT when t = T. What's more the rotation acceleration is constant.

Is it all right? If it's not, pls. tell me what is not correct. Thx.

P.s. Is there someone tell me how to use CALL DEF('.spch.') and CALL DEF('.indc.')
  Reply With Quote

 


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
Multiple floating objects CKH OpenFOAM Running, Solving & CFD 14 February 20, 2019 09:08
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
AMG versus ICCG msrinath80 OpenFOAM Running, Solving & CFD 2 November 7, 2006 15:15
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23


All times are GMT -4. The time now is 18:12.