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

complex velosity in inlet

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 31, 2009, 08:16
Default complex velosity in inlet
  #1
New Member
 
kate
Join Date: Jul 2009
Location: iran
Posts: 29
Rep Power: 9
katiyon is on a distinguished road
Send a message via Yahoo to katiyon Send a message via Skype™ to katiyon
i should set these values for inlet :
0<y<6 : a parabolic profile
6<y<30 : a normal speed
how can i wirte an axpression for these
katiyon is offline   Reply With Quote

Old   August 31, 2009, 18:33
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 12,401
Rep Power: 97
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
Refer to the CFX documentation, in the reference manual there is a section on the CEL Expression language. That describes the functions you will use to do it.
ghorrocks is offline   Reply With Quote

Old   September 1, 2009, 22:46
Smile
  #3
Senior Member
 
Rogerio Jack
Join Date: Mar 2009
Location: Brazil
Posts: 100
Rep Power: 8
rogbrito is an unknown quantity at this point
Send a message via Skype™ to rogbrito
Hi Mr. katiyon,

You can set up, for example, a parabolic inlet velocity profile in a geometry with a step. This could easily be set up using just CEL (no Fortran).

User CEL Routines are always called with the same arguments and will have similar structures with some common elements.

Rather than creating a Fortran routine from scratch, you can make use of the various templates provided in the /examples folder of the CFX installation directory.

There are additional examples in the /UserFortran subfolder of the /examples directory.

Copy the ucf_template.F file in the /examples folder to your working directory.

From the CFX Launcher, make sure that the directory is set to your working directory and click Tools > Command Line.

From the CFX command line issue the command:

ifortvars

followed by:

cfx5mkext ucf_velocity.F


This compiles the code and creates the needed libraries.

with kind regards,

Rogerio.


Quote:
Originally Posted by katiyon View Post
i should set these values for inlet :<br /> 0&lt;y&lt;6 : a parabolic profile <br /> 6&lt;y&lt;30 : a normal speed<br /> how can i wirte an axpression for these
<br /> <br /> [IMG]chrome://foxytunes-public/content/signatures/signature-button.png[/IMG]


Quote:
Originally Posted by katiyon View Post
i should set these values for inlet :
0<y<6 : a parabolic profile
6<y<30 : a normal speed
how can i wirte an axpression for these
rogbrito is offline   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
Inlet Velocity in CFX aeroman CFX 12 August 6, 2009 18:42
Problems with Inlet species San24 CD-adapco 1 May 7, 2008 06:29
Inlet table in STAR-CD Sachin CD-adapco 1 March 26, 2008 11:22
Diffusion component at inlet Balaji FLUENT 2 August 8, 2005 07:37
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13


All times are GMT -4. The time now is 01:27.