CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   x-velocity from text command (https://www.cfd-online.com/Forums/fluent/31328-x-velocity-text-command.html)

Samir April 21, 2003 09:59

x-velocity from text command
 
Hi all, How can I specify velocity components (x-velocity, y-velocity ...) from a profile file in velocity-inlet BC, using text command.

Many Thanks

Alex Munoz April 21, 2003 13:38

Re: x-velocity from text command
 
Hi

1) read case and data file 2) read profile

file>read-profile>

boundary-profile name[] "type your file name" 3) define the boundary conditions

define>boundary-conditions>velocity-inlet>

zone-idname [inlet]

velocity specification method:components[yes]

reference frame absolute [yes]

coordinate system cartesian X,Y,Z[yes]

Use profile for x-velocity [yes]

profile name []"type your file name"

data name [] "x-velocity"

Use profile for y-velocity [yes]

profile name []"type your file name"

data name [] "y-velocity"

Use profile for z-velocity [yes]

profile name []"type your file name"

data name [] "z-velocity"

Turbulent specification method K and Epsilon [yes]

Use profile for TKE [yes]

profile name []"type your file name"

data name [] "turb-kinetic-energy" and soon

Hopefully you can follow my instruction

Best regards Alex Munoz


Samir April 22, 2003 05:42

Re: x-velocity from text command
 
Thanks Alex,

Actually, I'm using a scheme file, so everything is ok down to (in your message)

profile name [] "type your file name"

data name [] "x-velocity"

I have used this command

(profile-name "myprofilename")

there was no error-message, but Fluent seems to ignore this instruction, so should I define a command to set velocity components?

Alex Munoz April 22, 2003 12:43

Re: x-velocity from text command
 
Hi

Have you try to read your profile throught the GUI?

It seems to me that something it is not right!!!

The profile name is the filename located in the directory from where you are launching Fluent. It mush have all the caracters that you write, for instante, my file name is "pkehv" without any extension, if you write a name with extension you have to write "pkehv.tex"

Anyway do it first throught the GUI and check if it can read it!! Also under define>profile> you can delete, list and read profiles

Regards

Alex Munoz

Samir April 24, 2003 13:20

Re: x-velocity from text command
 
Hi,

it's Ok with a journal file, I first started with the GUI. Now, I'm trying to do the same thing every time step, but I don't know what's the procedure for achieving this work (UDF, Scheme file, ...). so, any suggestions are welcome

Regards

Samir

Alex Munoz April 25, 2003 14:21

Re: x-velocity from text command
 
Hi

I have not working with scheme file. However, i suggest that you run this throught the bath mode or also calles background.

Best regards

Alex Munoz


All times are GMT -4. The time now is 11:48.