|
[Sponsors] |
Can I define grids motion as a time functions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 28, 2001, 06:22 |
Can I define grids motion as a time functions
|
#1 |
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.') |
|
|
|
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 |