|
[Sponsors] |
February 9, 2024, 16:03 |
openfoam.com vs openfoam.org question
|
#1 |
Senior Member
Alan w
Join Date: Feb 2021
Posts: 288
Rep Power: 6 |
For many (or most) of you, this is a stupid question, but I'll ask it anyway.
I have a run script for a chtMultiRegion openfoam.com case. Here is a snippet: Code:
# changeDictionary for region in $(foamListRegions) do runApplication -s $region changeDictionary -region $region -constant -noFunctionObjects done foamListRegions command not found. Can someone translate that snippet of code to something that Openfoam 8 can read? And/or provide the lines that will duplicate its intent? Thanks in advance if you can. |
|
February 10, 2024, 15:30 |
|
#2 |
Senior Member
Alan w
Join Date: Feb 2021
Posts: 288
Rep Power: 6 |
Problem Solved!
Downloading v2312. |
|
June 19, 2024, 08:28 |
|
#3 |
New Member
Henrique Pope Guerra
Join Date: Feb 2011
Posts: 6
Rep Power: 15 |
Hello Boffin5,
I am having the same issue, it shows the message "command not found". I am currently having the same message with the command "restore0Dir". I am currently using a Windows installation provided by CFD support and I don't know if I can update to the version you mentioned. Can you help me? |
|
June 19, 2024, 09:11 |
|
#4 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
restore0Dir is not a regular command, but a shell function - you'll have to source bin/tools/RunFunctions first. |
||
June 19, 2024, 10:24 |
|
#5 | |
New Member
Henrique Pope Guerra
Join Date: Feb 2011
Posts: 6
Rep Power: 15 |
Quote:
I am doing things "by hand", I was going to use it to call a changeDictionaryDict, but I edited the 0/ files and boundary files. Let's see if it is going to work. |
||
June 19, 2024, 14:15 |
this might help
|
#6 |
Senior Member
Alan w
Join Date: Feb 2021
Posts: 288
Rep Power: 6 |
Henrique,
This link might have information that addresses your question. https://damogranlabs.com/2020/10/run...ck-cheatsheet/ When I write run scripts, I always use the "plain English" approach, in lieu of the shorthand method. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about symmetry in Autodesk Cfd 2016 | ecto | Autodesk Simulation CFD | 0 | October 20, 2015 05:16 |
small question about the functionalities of topological changes in OpenFoam | ngj | OpenFOAM Running, Solving & CFD | 2 | February 28, 2013 11:02 |
Question Re Engineering Data Source | imnull | ANSYS | 0 | March 5, 2012 14:51 |
internal field question - PitzDaily Case | atareen64 | OpenFOAM Running, Solving & CFD | 2 | January 26, 2011 16:26 |
Poisson Solver question | Suresh | Main CFD Forum | 3 | August 12, 2005 05:37 |