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

CFX CEL HELP

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 23, 2008, 03:56
Default CFX CEL HELP
  #1
CC
Guest
 
Posts: n/a
Hi All,

I want to construct a CEL equation for velocity in CFX11.0.

Currently, I have the following working expressions: C1+2.6*sin(2*pi*t/Tp) [m*s^-1] C1 is 4.3 [m*s^-1] Tp is .345 [s]

I want to convert the speed into millilitres per second, anyone know the syntax?

Thanks
  Reply With Quote

Old   October 23, 2008, 05:48
Default Re: CFX CEL HELP
  #2
Marco Müller
Guest
 
Posts: n/a
Hi,

millilitres per second isnt the same thing like speed. For getting speed you have to divide it through the area the fluid passes... The sin-function you use does not depend on an length. (maybe this is hidden in the factor 2.6 which has to be updated after conversion)
  Reply With Quote

Old   October 23, 2008, 10:10
Default Re: CFX CEL HELP
  #3
CycLone
Guest
 
Posts: n/a
To convert this into ml/s you need to multiply the velocity times an area. Forget the expression for a moment. What are you trying to do?

-CycLone
  Reply With Quote

Old   October 23, 2008, 21:34
Default Re: CFX CEL HELP
  #4
CC
Guest
 
Posts: n/a
Hi Cyclone,

I am using this expression as a volumetric inflow for a blood flow simulation. Previously, I had mistaken the units to be m/s. It is actually 4.3 +/- 2.6 ml, I don't know how to convert that into a velocity.

Cheers! CC.
  Reply With Quote

Old   October 24, 2008, 04:54
Default Re: CFX CEL HELP
  #5
Rui
Guest
 
Posts: n/a
http://en.wikipedia.org/wiki/Volume_flow_rate

  Reply With Quote

Old   October 24, 2008, 10:20
Default Re: CFX CEL HELP
  #6
CycLone
Guest
 
Posts: n/a
Hi CC,

Volume flow rate is given as the integral of VndA (Normal velocity times area), thus if you have a volume flow rate, just divide by the area to get the velocity. Alternately you can multiply by the density to get the mass flow rate.

You can do this directly in your boundary condition. Say you boundary condition is called "inflow", then for velocity normal to the face, enter the following expression instead of a value:

4.3 [ml/s]/area()@inflow

The "area()@inflow" function will return the area of the inlet and give you the correct velocity. You can do the same thing to get an appropriate mass flow rate, in that case, put the mass flow rate in as:

4.3 [ml/s]*areaAve(Density)@inflow

If you like, you can enter an expression in the expression editor for your flow rate, which may make it easier to change from one simulation to the next (instead of revisiting the boundary condition each time). To do this create an expression named Flow Rate and then use "Flow Rate" in your boundary condition expression:

Flow Rate = 4.3 [ml/s]

boundary condition: Flow Rate/area()@inflow

You can also declare "Flow Rate" as a DesignXplorer variable, allowing you to use DX to run a sequence of runs with different flow rates automatically.

-CycLone

  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
CEL in CFX?? Vishal CFX 2 April 5, 2008 12:48
Importing 3D data as CEL into ANSYS CFX 11.0 Dave W. CFX 9 October 19, 2007 09:18
CFX arc-modeling, User Fortran, CEL.... Bloshchitsyn Vladimir CFX 2 October 15, 2007 10:29
CFX arc-modeling, User Fortran, CEL.... Bloshchitsyn Vladimir CFX 0 October 15, 2007 07:39
CFX arc-modeling, User Fortran, CEL.... Bloshchitsyn Vladimir CFX 0 October 15, 2007 07:17


All times are GMT -4. The time now is 15:43.