CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Linux commands to define boundary conditions at velocity-inlet & wall boundaries

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

LinkBack Thread Tools Display Modes
Old   June 23, 2013, 11:38
Default Linux commands to define boundary conditions at velocity-inlet & wall boundaries
New Member
Join Date: Nov 2012
Location: Malaysia
Posts: 4
Rep Power: 4
saayo3 is on a distinguished road
Good day, everyone,

I am using a concatenated udf to define (i). flow profiles at velocity-inlet boundary named 'inlet, & (ii). profile for Roughness Constant, Cs, on the floor boundary named 'wall-floor' of a domain.

The program is to be sent from my windows PC to a remote Linux system.

I have written the following journal file to compile & load the udf, and define & initialize conditions at the velocity-inlet & wall boundaries:

file/read-case fluent.cas
define/user-defined/compiled-functions compile
"inlet.c" "" ""
define/user-defined/compiled-functions load
define/boundary-conditions/velocity-inlet inlet no no yes yes yes yes "udf" "inlet_x_velocity::libudf" no 0 yes yes yes "udf" "k_profile::libudf" yes yes "udf" "dissip_profile::libudf"
define/boundary-conditions/wall wall-floor no no no 0.211 yes yes "udf" "Cs::libudf"
solve/iterate 5000
file/binary-files n
file/confirm-overwrite n
file/write-data fluent.dat

But I continued to get the following error message each time I tried to run the program:

"Warning: An error or interrupt occurred while reading the journal file. Some commands may not have been completed.

> Halting due to end of file on input".

Please, could someone, kindly, help me point out the error(s) and edit the journal file as appropriate.

Thanks so much, in anticipation of the kind gesture.

saayo3 is offline   Reply With Quote

Old   June 29, 2013, 12:33
Christopher Hershey
Join Date: Feb 2012
Location: East Lansing, Michigan
Posts: 41
Rep Power: 5
Hershey is on a distinguished road
I would suggest stepping through your journal file manually and seeing if the commands you are issuing in the journal file are exactly as FLUENT is asking for.

I usually encounter a problem like this when my journal file doesn't anticipate an extra "yes" or "no" input and thus my journal file keeps running until the end without giving proper instructions to FLUENT.

Your journal file is not long at all, so just start FLUENT and type in each line one at a time. If there are any discrepancies, then correct them.

My guess is that the confirm overwrite command is giving you issues if there is no file that needs to be overwritten.
Hershey is offline   Reply With Quote


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
Problem with assigned inlet velocity profile as a boundary condition Ozgur_ FLUENT 5 August 25, 2015 04:58
ribbed channel / simpleFoam / boundary conditions beeo OpenFOAM Pre-Processing 20 July 17, 2013 08:39
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 3 June 12, 2013 02:12
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 17, 2010 23:40

All times are GMT -4. The time now is 20:16.