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

HOw to change the input velocity in the middle of a run in parallel processing?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2018, 06:43
Default HOw to change the input velocity in the middle of a run in parallel processing?
  #1
New Member
 
Vivekananda
Join Date: May 2017
Location: Cardiff, UK
Posts: 26
Rep Power: 8
sinhavivekananda318 is on a distinguished road
Hello all,
I am running a parallel processing having 4 processors in openFoam.I am using interFoam solver. Now I want to change the input velocity value in the middle of this run.Is there any way? Had it been a simple run, I would have changed the value in the 0 folder and it would automatically adjust. But as this is a parallel precessing this is not happening..any idea would be helpful...

Thanks
sinhavivekananda318 is offline   Reply With Quote

Old   April 18, 2018, 10:58
Default
  #2
Senior Member
 
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 11
pete20r2 is on a distinguished road
Hi Vivekananda,
The most straight forward way is to reconstruct the job, use the changeDictionary utility to operate on the lastestTime, then decompose again.
so you could execute
reconstructPar -time latestTime
changeDictonary -time latestTime
decomposePar -force -time latestTime

and carry on calculation

See the tutorial in tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater
for how to use the changeDictionaryDict that needs to be supplied.

You can turn this into a little bash script and leave it in the root of you case.
pete20r2 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
Problem with foam-extend 4.0 ggi parallel run Metikurke OpenFOAM Running, Solving & CFD 1 December 6, 2018 15:51
[mesh manipulation] Cannot get refineMesh to run in parallel smschnob OpenFOAM Meshing & Mesh Conversion 2 June 3, 2014 11:20
Can not run OpenFOAM in parallel in clusters, help! ripperjack OpenFOAM Running, Solving & CFD 5 May 6, 2014 15:25
Change parameter and run cases parallel lingdeer ANSYS 0 July 29, 2011 10:27
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45


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