|
[Sponsors] |
Using solved case now with different ConstantValues |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
The True
Join Date: Dec 2010
Posts: 80
Rep Power: 15 ![]() |
Hi, can I use a solved case to minimize the computation time, but now I change a constant in the model. and the running will be started at the endTime of the solved case.
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
The True
Join Date: Dec 2010
Posts: 80
Rep Power: 15 ![]() |
The problem that I see is I change for the second case a constant at the 0/nut file. Like you say I want start at the latestTime, but I am not sure that OpenFoam sees the change in the 0/nut file. I have tried it for couple iterations one with a change in variable and and other one without a change , both run from the LatestTime the results are the same. So it looks like it does not see the change in the 0 directory. |
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Senior Member
|
Quote:
Obviously, if you start from latestTime, OpenFOAM do not consider changes in 0 folder.
__________________
Amir Last edited by Amir; September 6, 2011 at 10:46. |
||
![]() |
![]() |
![]() |
![]() |
#5 | |
Member
The True
Join Date: Dec 2010
Posts: 80
Rep Power: 15 ![]() |
Quote:
Do you mean to just copy the 0/nut file and past it at the latestTime/nut ? I did not do this because the structure of latestTime/nut is to much different/ |
||
![]() |
![]() |
![]() |
![]() |
#6 | |
Senior Member
|
Quote:
The structure is different because it is solved during iteration; I meant that to save your time, you can copy other variables except nut to desired folder! then change nut. Bests,
__________________
Amir |
||
![]() |
![]() |
![]() |
![]() |
#7 | |
Member
The True
Join Date: Dec 2010
Posts: 80
Rep Power: 15 ![]() |
Quote:
Thank you for your help. I see your point , somewhere inside the LatestTime/nut there is the definition of the BC's I should put the variable inside that, that will help for one case. However, I have to run many cases at the same time, and I am writing the variables by creating new nut file with matlab's fprintf , this tecnique can not be used to the LatestTime/nut. Maybe creating a dictionary file for that constant will help, in some solvers this is the case but not in simpleFoam ( maybe I did not see it ). |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 14:53 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
Transient case running with a super computer | microfin | FLUENT | 0 | March 31, 2009 11:20 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 12:24 |
Doubt in unsteady case | vijay | FLUENT | 1 | April 24, 2006 11:11 |