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

maxCo or whatever..

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 1, 2010, 04:06
Default maxCo or whatever..
  #1
New Member
 
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 17
eternityboy is on a distinguished road
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;
}
);
*/
// ************************************************** *********************** //
eternityboy is offline   Reply With Quote

Old   April 1, 2010, 04:30
Default
  #2
Member
 
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 34
Rep Power: 18
betakv is on a distinguished road
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
betakv is offline   Reply With Quote

Old   April 1, 2010, 04:36
Default
  #3
New Member
 
nikita tryaskin
Join Date: Oct 2009
Location: Helsinki/St. Petersburg
Posts: 27
Rep Power: 17
eternityboy is on a distinguished road
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?
eternityboy is offline   Reply With Quote

Old   July 7, 2014, 10:26
Default
  #4
Member
 
Tony
Join Date: Nov 2013
Posts: 35
Rep Power: 12
wzx1989221 is on a distinguished road
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
wzx1989221 is offline   Reply With Quote

Old   July 7, 2014, 10:50
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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;
    }
alexeym is offline   Reply With Quote

Old   July 7, 2014, 10:59
Default
  #6
Member
 
Tony
Join Date: Nov 2013
Posts: 35
Rep Power: 12
wzx1989221 is on a distinguished road
Thank you very much!

Tony
wzx1989221 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
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


All times are GMT -4. The time now is 09:58.