|
[Sponsors] |
August 27, 2013, 10:44 |
Overwriting output time
|
#1 |
Member
Tony Ladd
Join Date: Aug 2013
Posts: 48
Rep Power: 13 |
I am new to OpenFoam and am using SIMPLE to solve the Stokes equations - grad p = nu grad^2 U. Since they are a time independent component of a multistage solver I want to prevent the time value from incrementing during the SIMPLE iteration (simple.loop). Any suggestions? I looked at SimpleControl.C but I could not figure out where the runtime.timeName() is being incremented. This program is very useful but its way too clever for me.
Thanks Tony |
|
September 1, 2013, 09:00 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
Hi Tony,
If I understand you correctly, then you are developing something with this type of structure: Code:
while OuterTimeLoop O1. Some operations while InnerTimeLoop I1. Produce steady state solution end O2. Some more operations based on steady state solution. end The only thing you will need to be aware of, is that there might be the need of a duplicate of variables and some corresponding mapper, such that they carry the correct time information depending on the use of the variables, but I do not have an answer for that. Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
Rapidly decreasing deltaT for interDyMFoam | chrisb2244 | OpenFOAM Running, Solving & CFD | 3 | July 1, 2014 17:40 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 06:24 |
ForcesCoeffs | ronaldo | OpenFOAM | 4 | September 14, 2009 08:11 |