CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Commands Priority for runing a case (https://www.cfd-online.com/Forums/openfoam-solving/166743-commands-priority-runing-case.html)

mohsen.boojari February 16, 2016 04:18

Commands Priority for runing a case
 
Hi Everyone,

I have faced some test cases that they don't have Allrun script and consist of several different scripts like blockMeshDict, decomposeParDict, topoSetDict, snappyHexMesh and ...
I don't know which one should i run first and continue with others.
for example in a simple case I know we should use (BlockMesh-icoFoam-ParaFoam). but for professional ones what would it be?
does anyone know the priority of commands in openFoam???

thanks

jmdf February 16, 2016 05:14

Hi,

I can't list all the command in terms of priority of use although you should do something like:

1. Mesh builder (blockMesh, snappyHM,..);
2. Commands who "prepare" the mesh such as topoSet, splitMeshRegions (if needed, etc);
3. Pre-processing such as changeDictionary;
4. decomposePar - if running in parallel
5. Solver you are using;
6. reconstructPar - if running in parallel;
7. paraFoam or any other post-processing tool;

Hope it helps!

mohsen.boojari February 16, 2016 05:27

Quote:

Originally Posted by jmdf (Post 585400)
Hi,

I can't list all the command in terms of priority of use although you should do something like:

1. Mesh builder (blockMesh, snappyHM,..);
2. Commands who "prepare" the mesh such as topoSet, splitMeshRegions (if needed, etc);
3. Pre-processing such as changeDictionary;
4. decomposePar - if running in parallel
5. Solver you are using;
6. reconstructPar - if running in parallel;
7. paraFoam or any other post-processing tool;

Hope it helps!

Hi

thanks for your useful reply. it helps so much. but do you know any resources that have a command list or some more detailed explanations about this subject?

jmdf February 16, 2016 05:34

No I don't and that is a little hard to find.

Anyway when you find a command you want to use, try to understand what it does and fit it on the previous list. It's the best advice I can give you, perhaps someone else has a better way to do it! :)

mohsen.boojari February 16, 2016 05:36

yes, you're right. thanks anyway my friend


All times are GMT -4. The time now is 15:15.