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

User Function defination

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 8, 2011, 01:18
Lightbulb User Function defination
  #1
New Member
 
Yash Mehta
Join Date: Oct 2011
Posts: 2
Rep Power: 0
aeroeng11 is on a distinguished road
Hello all,
I am trying to enter an inflow condition in my CFD simulation. it is a periodic pulse function :q = (\overline{q} *t /\tau)*exp((1/2)*(1 - t^2/\tau^2))
how would I enter that as a user function in CFX pre?

t is the time
\tau is a constant
\overline{q} is the mean volume flow rate

please assist
Thanks
aeroeng11 is offline   Reply With Quote

Old   October 8, 2011, 05:00
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,824
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
This is straightforward to do as a CEL expression. Have a look at the tutorials for setting up CEL expressions.
ghorrocks is offline   Reply With Quote

Old   October 8, 2011, 12:11
Talking CEL help
  #3
New Member
 
Yash Mehta
Join Date: Oct 2011
Posts: 2
Rep Power: 0
aeroeng11 is on a distinguished road
Thanks for the reply. It wa a bit of a task but I figured it. It works now.
aeroeng11 is offline   Reply With Quote

Reply

Tags
cel functions, cfx pre, user defined expressions

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
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
User Defined Function for convection coefficient ereiss FLUENT 1 July 8, 2004 16:10
User define flux function kethireddy FLUENT 0 July 5, 2004 04:53


All times are GMT -4. The time now is 16:26.