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/)
-   -   TSG case by using TransientSimpleDyMFoam (http://www.cfd-online.com/Forums/openfoam-solving/115567-tsg-case-using-transientsimpledymfoam.html)

renyun0511 April 2, 2013 11:02

TSG case by using TransientSimpleDyMFoam
 
Hi all,


Recently, I have been studying the unsteady simulation of pumps by using OpenFOAM. Then, I try to simulate the Timisoara swirl generator case with transientSimpleDyMFoam solver firstly. The solver and case are both downloaded from the webpage: http://openfoamwiki.net/index.php/Sig_Turbomachinery_/_Timisoara_Swirl_Generator


But, the case was diverged after several steps, and the log file is in the attached files. I don't know why it was diverged though I haven't changed anything? Would someone like to help me? I will appreciate it!




here is the setup of fvSolution and controdict:


fvSolution file:
Quote:

solvers
{
p PCG
{
preconditioner DIC;
tolerance 1e-05;
relTol 0.002;
minIter 2;
maxIter 140;
};
pFinal PCG
{
preconditioner DIC;
tolerance 1e-05;
relTol 0.001;
minIter 2;
maxIter 280;
};
pcorr PCG
{
preconditioner DIC;
tolerance 1e-05;
relTol 0.001;
minIter 2;
maxIter 180;
};

U PBiCG
{
preconditioner
{ type DILU;}
smoother
{ type DILU; }

minIter 1;
maxIter 4;
tolerance 1e-07;
relTol 0;
};

k PBiCG
{
preconditioner
{ type DILU; }
smoother
{ type DILU; }

minIter 1;
maxIter 3;
tolerance 1e-07;
relTol 0;
};
epsilon PBiCG
{
preconditioner
{ type DILU; }
smoother
{ type DILU; }

minIter 1;
maxIter 3;
tolerance 1e-07;
relTol 0;
};
omega PBiCG
{
preconditioner
{ type DILU; }
smoother
{ type DILU; }

minIter 1;
maxIter 3;
tolerance 1e-07;
relTol 0;
};
}
PISO
{
nCorrectors 0;
nOuterCorrectors 10;
nNonOrthogonalCorrectors 0;
correctPhi false;
}

relaxationFactors
{
p 0.3;
U 0.75;
k 0.5;
epsilon 0.5;
omega 0.5;
}
Controdict file:



Best Regards,



Yun Ren

deepsterblue April 2, 2013 15:46

You may want to switch off the relative tolerances in the pressure solver.

renyun0511 April 2, 2013 22:34

Hi Sandeep,

What do you mean about switch off the relative tolerances in the pressure solver. Sorry, I can't understand. Could I have some more details, please. And I just sent an email to you. Hoping for your reply. Thank you very much!

Regard,

Yun Ren

deepsterblue April 3, 2013 08:55

Sorry for being cryptic. Set relTol to 0.0 for pressure in fvSolution.


All times are GMT -4. The time now is 16:53.