CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Changig BC with text command

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

LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2010, 09:53
Default Changig BC with text command
New Member
Thomas Deck
Join Date: Dec 2010
Posts: 1
Rep Power: 0
thdeck is on a distinguished road

I want to write a simple(!) file for setting up automatically a new case. write-bc and read-bc can lead to mistakes, so am beginning to use journal files with text commands.

def models viscous ke-realizable yes

Unfortunately this doesn't work well with the boundary conditions. A typical command would be:
def bound wall wall-3 ,,, no yes 0.4 ,,,,,

But the number of "," "yes", "no", etc. and their position depends on the models you use and the settings you made before.

I am looking for a possibility to change only one setting within a set of boundary conditions, something like:
set "internal emissivity" 0.8

I already tried to read a smaller part of a bc file, example:
(bc (w-3 wall mixture) ((in-emiss (constant . 0.4))))

This would change only one value, but reading this with "read-bc" doesn't work, although I created it with "write-bc".

I know scheme commands that start with "(rpsetvar", but I don't know whether it is possible to set boundary conditions in that way.

Has anyone a simple solution for my problem?

thdeck is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command to render text output from each mesh block pgopalak FLOW-3D 3 October 2, 2009 18:32
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 04:41
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
Text command sam FLUENT 2 April 2, 2003 05:24

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