|
[Sponsors] |
createBaffles boundary conditions with internalField |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 10, 2019, 11:45 |
createBaffles boundary conditions with internalField
|
#1 |
New Member
Eduardo Cruz
Join Date: Oct 2018
Posts: 13
Rep Power: 8 |
Hi everyone,
I'm running some simulations that use the createBaffles utility. The thing is I am running them multiple times with different values. So ideally I'd like to do something like this in the createBafflesDict Code:
patchFields { omega { type omegaWallFunction; value $internalField; } ... } Code:
--> FOAM FATAL IO ERROR: Illegal dictionary entry or environment variable name "internalField" Valid dictionary entries are 1(type) Regards, ECruz |
|
July 11, 2019, 04:29 |
|
#2 | |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Hello Eduardo,
AFAIK with createBaffles you can specify the generic type of boundary (wall, patch, etc..) but not directly define the boundary conditions as you tried to do in your example. But you can use changeDictionary utility, with changeDictionaryDict to update your boundary conditions. That being said, I am not sure to totally understand what you mean when you say: Quote:
Yann |
||
July 12, 2019, 14:31 |
|
#3 | ||
New Member
Eduardo Cruz
Join Date: Oct 2018
Posts: 13
Rep Power: 8 |
Quote:
Quote:
ECruz |
|||
July 15, 2019, 13:15 |
|
#4 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Then you can use changeDictionary to update your boundary conditions and internal field initialization with new values.
But you'll have to set those values in the changeDictionaryDict anyway. You can use shell scripting to automatically update files, whether it is directly editing the files or doing it though changeDictionary. |
|
Tags |
boundary condition, createbaffles, internalfield |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD analaysis of Pelton turbine | amodpanthee | CFX | 31 | April 19, 2018 19:02 |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 06:15 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 05:39 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |