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

Discontinuous functions in CEL

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 5, 2006, 13:26
Default Discontinuous functions in CEL
  #1
Doug
Guest
 
Posts: n/a
Hi.

I was wondering if it is possible to write discontinous functions in CFX-10.0 and if so how?

I have a function:

u=ax if x<c u=bx if x>=d

What would it look like in CEL ?

Many thanks for an help given.
  Reply With Quote

Old   June 5, 2006, 13:30
Default oops ....
  #2
Doug
Guest
 
Posts: n/a
for some reason my function got messed up... must not like greater than or less than equal signs...

Anyhoo, its a discontinuous velocity inlet profile as a function of x.

  Reply With Quote

Old   June 5, 2006, 15:42
Default Re: oops ....
  #3
Phil
Guest
 
Posts: n/a
Use the step function.
  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
Spatial Derivative Using CEL Functions dae4god CFX 4 July 26, 2011 08:49
Need help to use Hermite basis functions Vasilis Main CFD Forum 8 October 29, 2009 14:26
Wall functions tutlhino OpenFOAM Pre-Processing 0 July 2, 2007 05:04
User-Defined Functions Boisson FLUENT 2 January 18, 2002 23:09
N-S equations:divergence free functions? D. Puigjaner Main CFD Forum 1 July 27, 2000 12:43


All times are GMT -4. The time now is 11:44.