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

sub function CEL definition

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 15, 2009, 00:13
Default sub function CEL definition
  #1
harry
Guest
 
Posts: n/a
Hi all,

I'm trying to define a rotational domain motion with an unfixed angular velocity, which is a kind of sub function of time. Like, for 0s~10s, W=100t (rad/s), for 10s~20s, W=2000 (rad/s), for 20s~30s, W=2000-200(t-20) (rad/s)

How should I define this angular velocity in terms of CEL?

Thanks for your help in advance.

Regards

Harry
  Reply With Quote

Old   March 15, 2009, 22:08
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,286
Rep Power: 82
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
hi Harry,

You can do this as either a CEL expression using the step function or a 1-d interpolation function.

Glenn Horrocks
ghorrocks is offline   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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


All times are GMT -4. The time now is 13:52.