createBaffles boundary conditions with internalField
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 Code:
--> FOAM FATAL IO ERROR: Regards, ECruz |
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 |
Quote:
Quote:
ECruz |
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. |
All times are GMT -4. The time now is 18:05. |