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

User Function defination

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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


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
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 06:51
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 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 14:28.