|
[Sponsors] |
April 1, 2010, 04:06 |
maxCo or whatever..
|
#1 |
New Member
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 17 |
Under running project by pisoFoam i got really big(first steps) Courant number
but if you see in controlDict i have maxCo = 0.5 //////////////////////////////////////////////////////////////////////////////////// ........................... Create time Create mesh for time = 0 Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type LESModel Selecting LES turbulence model Smagorinsky Starting time loop Time = 0.001 Courant Number mean: 0.305251 max: 4.50564 ////////////////////////////////////////////////////////////////////////////////////////////// Next - solver thinks a lot and unconvincing compute.. Courant number growth like Godzilla.. lol second iteration and it is more than 80.000 Could it be so problem with dimensions? or much possible with boundary conditions or mesh? checkMesh says that my Mesh is Ok... Ниже ControlDict: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application pisoFoam; startFrom latestTime; startTime 0; stopAt endTime; endTime 10; deltaT 0.001; writeControl adjustableRunTime; writeInterval 0.5; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression uncompressed; timeFormat general; timePrecision 6; runTimeModifiable yes; adjustTimeStep yes; maxCo 0.5; maxDeltaT 1; /* functions ( forces { type forces; functionObjectLibs ("libforces.so"); patches (walls); rhoInf 1.225; CofR (0.15 0 0); outputControl timeStep; outputInterval 20; } ); */ // ************************************************** *********************** // |
|
April 1, 2010, 04:30 |
|
#2 |
Member
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 34
Rep Power: 18 |
pisoFoam hasn't a possibility to change a time step. You must set fixed value of deltaT. Another option is to improve a source code of pisoFoam or to use a pimpleFoam
|
|
April 1, 2010, 04:36 |
|
#3 |
New Member
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 17 |
i have it fixed.. according to ControlDict
btw i have 3d model, have only u, nuSgs and p b.conditions i need to solve it by LES model, so what can u say about solver i should use.. am i 100% right with pisoFoam? |
|
July 7, 2014, 10:26 |
|
#4 |
Member
Tony
Join Date: Nov 2013
Posts: 35
Rep Power: 12 |
Hi,
I am facing the same problem. Could you please give me a hint on how to make adjustable time step possible in pisoFoam? Thank you very much. Best regards, Tony |
|
July 7, 2014, 10:50 |
|
#5 |
Senior Member
|
Hi,
the easiest way is to use pimpleFoam. If you'd like this solver to operate in PISO mode, set number of outer correctors to 1: $FOAM_SRC/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.C: Code:
if (nCorrPIMPLE_ > 1) { ... } else { Info<< nl << algorithmName_ << ": Operating solver in PISO mode" << nl << endl; } |
|
July 7, 2014, 10:59 |
|
#6 |
Member
Tony
Join Date: Nov 2013
Posts: 35
Rep Power: 12 |
Thank you very much!
Tony |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running dieselFoam error | adorean | OpenFOAM Running, Solving & CFD | 119 | February 1, 2016 15:41 |
Problems with adjustable timestep control and maxCo Number | wolle1982 | OpenFOAM Running, Solving & CFD | 5 | September 24, 2015 11:07 |
MaxCo with interFoam | sega | OpenFOAM Running, Solving & CFD | 2 | January 6, 2009 05:05 |