|
[Sponsors] |
December 9, 2010, 10:53 |
Changig BC with text command
|
#1 |
New Member
Thomas Deck
Join Date: Dec 2010
Posts: 1
Rep Power: 0 |
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 |
|
|
|
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 19:32 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03: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 05:26 |
Text command | sam | FLUENT | 2 | April 2, 2003 06:24 |