|
[Sponsors] |
August 31, 2009, 08:16 |
complex velosity in inlet
|
#1 |
New Member
|
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 |
|
August 31, 2009, 18:33 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143 |
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.
|
|
September 1, 2009, 22:46 |
|
#3 | |
Senior Member
Jack
Join Date: Mar 2009
Posts: 106
Rep Power: 16 |
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:
|
||
|
|
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 | Siemens | 1 | May 7, 2008 06:29 |
Inlet table in STAR-CD | Sachin | Siemens | 1 | March 26, 2008 10: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 05:13 |