|
[Sponsors] |
March 30, 2022, 07:33 |
pimpleFoam -dict
|
#1 |
Member
Join Date: Mar 2018
Posts: 33
Rep Power: 8 |
snappyHexMesh allows usage of -dict. So if I have several snappyHexMeshDict files in my case/system, I can tell openFoam which to use.
Example: snappyHexMesh -dict system/snappyHexMeshDictIChose Is there a way to do the same with pimpleFoam? |
|
March 30, 2022, 11:57 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 736
Rep Power: 14 |
Doesn't look like you can. You can tell it to use a different case directory, with the -case flag, but that's probably not what you are after ..
I am guessing you want to have say 2 or 3 controlDicts, each with different run parameters, and then run pimpleFoam with each one? I would do that all through scripting. i.e. either have the 3 files in your system folder, names controlDict.1, controlDict.2 etc., and then use the script to copy each one to controlDict and then run. Alternatively just have one controlDict and do all the manipulations in the script, using the foamDictionary utility to update the parameters for each run. Hope that helps. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pimpleFoam runs slower than rhoPimpleFoam | Kosuke Seto | OpenFOAM Running, Solving & CFD | 3 | May 27, 2023 15:12 |
Running pimpleFoam in steady state | trailer | OpenFOAM Running, Solving & CFD | 6 | January 24, 2023 04:07 |
fail to run series of runApplication topoSet -dict | jiahui_93 | OpenFOAM Programming & Development | 1 | May 25, 2022 13:56 |
pisoFoam and pimpleFoam are unstable in foam-extend 4.0/4.1 (misunderstanding ?) | Kombinator | OpenFOAM Running, Solving & CFD | 4 | January 14, 2021 05:10 |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 09:35 |