CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

pimpleFoam -dict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2022, 07:33
Default pimpleFoam -dict
  #1
Member
 
Join Date: Mar 2018
Posts: 33
Rep Power: 8
ghastbug is on a distinguished road
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?
ghastbug is offline   Reply With Quote

Old   March 30, 2022, 11:57
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 736
Rep Power: 14
Tobermory will become famous soon enough
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.
Tobermory is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


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