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

cel for pressure

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2011, 00:47
Default cel for pressure
  #1
New Member
 
nayyer
Join Date: Apr 2011
Posts: 4
Rep Power: 15
Rada is on a distinguished road
Hi all
I want to do a transient analysis in ansys-cfx and I want to have following B.C s at inlet and outlet:

At inlet of the tube: a pressure of 1333.2pa is applied during 0.003s and 0 afterwards.

At the outlet: a pressure of 0 Pa is imposed.

Now my question in that: how can I write a CEL for the dependence of pressure on the time at the inlet of tube??
I will be glad if anyone can give me some helps in this topic.
thanks alot
kind regards
Rada
Rada is offline   Reply With Quote

Old   May 24, 2011, 07:41
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Set the pressure equal to 1333.2[Pa] * step((0.003[s]-t)/1[s])

You can also do this using if functions or a 1D interpolation function.
ghorrocks is offline   Reply With Quote

Reply


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
Angle variable under CEL. Gloria Gaynor CFX 11 November 26, 2012 06:29
CEL expression vmlxb6 CFX 1 March 18, 2011 06:39
junction box routine and CEL function bornspur CFX 2 February 3, 2009 02:24
Help to create a CEL Expression Juan Maria Campos CFX 2 December 3, 2007 07:52
Rotate node via cel Elian81 CFX 2 September 25, 2007 05:31


All times are GMT -4. The time now is 09:14.