CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

Changig BC with text command

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

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

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.

Example:
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?


Thomas
thdeck 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
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 05: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 02:07.