CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   RunTimeModifiable did not work (http://www.cfd-online.com/Forums/openfoam-solving/58325-runtimemodifiable-did-not-work.html)

maka October 27, 2005 08:17

runTimeModifiable yes; did not
 
runTimeModifiable yes; did not work with channelOodles solver. Is this normal? What should I do to make such option effective? The used timestep is just to check if the option is working, that is why it is big. Thanks.

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application channelOoddns;

startFrom latestTime;

startTime 0

stopAt endTime;

endTime 150;

deltaT 0.1;

writeControl adjustableRunTime; // automatic time step.

writeInterval 0.1;

purgeWrite 0;

writeFormat ascii;

writePrecision 6;

writeCompression uncompressed;

timeFormat general;

timePrecision 6;

runTimeModifiable yes;

// automatic time step

adjustTimeStep yes;

maxCo 3;

maxDeltaT 0.1;



-- INSERT -- 25,25 72%

eugene October 27, 2005 08:49

Are you running an adjustable
 
Are you running an adjustable timestep? If so it will override deltaT to preserve the maximum Co number.

maka October 28, 2005 10:19

yes I'm running adjustable tim
 
yes I'm running adjustable timestep but the parameter that I changed during run time was maxCo so if the file is read before each time step, then the solver should allow for the new modified maxCo. It did not. Thanks for your help.

Maka

eugene October 28, 2005 11:43

Change something else in the c
 
Change something else in the control dictionary while running to see if it gets read, like writeFormat. If this change doenst take effect then you have some timestamp issue. If it does take effect, your problem is that the maxDeltaT is overriding the maxCo.

In this case I can suggest is that you check the source code of setDeltaT.H to see how it works.

wolle1982 November 18, 2008 09:05

Hi, I had the same problem
 
Hi,

I had the same problem with turbFoam. I changed the turbFoam.C. Maybe you can get some hints how to change your channelOodles.C

See
http://www.cfd-online.com/OpenFOAM_D...tml?1227012935


All times are GMT -4. The time now is 15:18.