This offering is not approved or endorsed by Silicon Graphics International Corp.,
the producer of the OpenFOAM® software and owner of the OpenFOAM® trade mark.
top
logo


Welcome, Guest
Please Login or Register.  Lost Password?
Special Interest Group on Turbomachinery Group Forum: The OpenFOAM® Turbomachinery Working Group was initiated at the Second OpenFOAM® Workshop in Zagreb, June 2007.

Responsibles: Maryse Page, Martin Beaudoin (Hydro-Québec) and Hakan Nilsson (Chalmers).

The group has lots of contributions in the OpenFOAM® Wiki:
openfoamwiki.net/index.php/Sig_Turbomachinery
Go to bottomPage: 12
TOPIC: Turbomachinery and 1.6 ext
#216
Turbomachinery and 1.6 ext 10 Months, 3 Weeks ago Karma: 0
Hi all!

I'm a beginner/newbie and doing a little student research project. My aim is to simulate 2D/3D Turbomachinery. My tutor gave me good meshes, and a first run (similiar to this: openfoamwiki.net/index.php/Sig_Turbomach...ith_a_vaned_diffuser )
on 2D with MRFSimpleFoam was successful. now I want to progress, but there are many problems I have to face.

I tried to run MRFSimpleFoam on 3D--> it diverged.

The main problem is: How to set up a transient simulation?
I've looked for capable solvers and there are:
1.turbDyMFoam (but couln't compile it; I wasn't able to change the paths in the right way; but maybe this solver is not used anymore?)
2.pimpleDyMFoam (but I don't know how to setup the case, although I've looked at the tutorials wingmotion/wingcone)
3.transientSimpleDyMFoamI found a compilable version for 1.6-ext

All in all I would be very very happy If I could reproduce this here:
www.tfd.chalmers.se/~hani/pdf_files/ShashaMasterThesis.pdf

What would you propose? Have somebody any capable tutorials for 1.6 ext(turbomachinery--> steadystate/transient with different solvers)? Sould I make a downgrade to 1.5 dev? (in my humble opinion its not a good idea)

Best regards
Christian
Christian-Henrik Walter
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#217
Re: Turbomachinery and 1.6 ext 10 Months, 3 Weeks ago Karma: 1
Hi Christian and welcome to the OpenFOAM® community and the OpenFOAM® Turbomachinery working group.

I would recommend that you have a look at the new TSG test case:
openfoamwiki.net/index.php/Sig_Turbomach...oara_Swirl_Generator
It should work for 1.6-ext, and I just went through it to make sure that all instructions are there for 1.6-ext.

We consider transientSimpleDyMFoam to be the best solver for this (mainly due to stabiliy issues), but we are eager to hear someone argue something else.

Good luck!
Håkan.
Håkan Nilsson
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#218
Re:Turbomachinery and 1.6 ext 10 Months, 3 Weeks ago Karma: 0
Thank you very much for your Advice!

I will analyse it in order to transfer the procedure to turbomachinery.

Best regards
Christian
Christian-Henrik Walter
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#228
Re:Turbomachinery and 1.6 ext 10 Months ago Karma: 0
Hi again! I tried to make it run.. but after starting the solver this problem appears. (..and I can´t find a file called "preconditioner".)


fieldAverage: starting averaging at time 0

Time = 1.2e-06

Initializing the GGI interpolator between master/shadow patches: STROUT_OUTLET/SV_INLET
Initializing the GGI interpolator between master/shadow patches: SV_OUTLET/RUNNER_INLET
Initializing the GGI interpolator between master/shadow patches: RUNNER_OUTLET/SUGROR_INLET
volume continuity errors : volume = 0.0102814, max error = 1.98576e-07, sum local = 6.38086e-15, global = -5.59965e-18


--> FOAM FATAL IO ERROR:
keyword preconditioner is undefined in dictionary "::preconditioner"

file: ::preconditioner from line 51 to line 51.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 396.

FOAM exiting

I get the same error If I try to start a 3D pump with transientSimpleDyMFoam.

Regards
Christian
Christian-Henrik Walter
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#233
Re:Turbomachinery and 1.6 ext 10 Months ago Karma: 1
Hi Christian,

Please go to your TSG directory and type:
svn update

Then try again.

I have corrected the preconditioner syntax in fvSolution (and removed the smoother keyword, which I think is not needed). It seems like it worked for 1.5-dev, but not for 1.6-ext. Unfortunately we did not check thoroughly that the case worked in 1.6-ext, since we were busy having the case available for OFW6.

Please report any further problems with the case, and sorry for the inconvenience.

Best regards,
Håkan.
Håkan Nilsson
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#236
Re:Turbomachinery and 1.6 ext 9 Months, 4 Weeks ago Karma: 0
Hi Hakan,

you're right. It was the fvSolution file.I've compared with other files from the tutorials.
It is just a matter of the syntax. I had to move the "solver" and delete some " ; ".
Just like this (an other file, made for pimpleDyMFoam):
solvers
{
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.05;
}

pFinal
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}

U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}

k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}

epsilon
{
solver PBiCG;
preconditioner DILU;


smoother DILU;



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

B
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}

nuTilda
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
}
PIMPLE
{
nOuterCorrectors 2;
nCorrectors 1;
nNonOrthogonalCorrectors 2;
}


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

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

The strange thing about this file is, that only p shows bad divergence behaviour. EDIT: I meant convergence. Hakans next post adjusts my presumption.
Have a look:

Courant Number mean: 0.00926673 max: 0.500046 velocity magnitude: 40.8202
deltaT = 1.94298e-06
GGI pair (INTERFACE_R, INTERFACE) : 0.2921 0.292085 Diff = 1.50259e-05 or 0.0051441 %
GGI pair (ROTOR_EINTRITT, EINTRITT_INTERFACE) : 0.2921 0.292 Diff = -0.000100211 or 0.0343071 %
Time = 5000.009005

Initializing the GGI interpolator between master/shadow patches: INTERFACE_R/INTERFACE
Initializing the GGI interpolator between master/shadow patches: ROTOR_EINTRITT/EINTRITT_INTERFACE
DILUPBiCG: Solving for Ux, Initial residual = 8.07566e-05, Final residual = 6.08241e-08, No Iterations 1
DILUPBiCG: Solving for Uy, Initial residual = 8.27376e-05, Final residual = 4.53439e-08, No Iterations 1
DILUPBiCG: Solving for Uz, Initial residual = 5.062e-06, Final residual = 5.062e-06, No Iterations 0
DICPCG: Solving for p, Initial residual = 0.0142832, Final residual = 0.000619964, No Iterations 6
DICPCG: Solving for p, Initial residual = 0.00150792, Final residual = 7.42823e-05, No Iterations 259
DICPCG: Solving for p, Initial residual = 0.00057985, Final residual = 2.86792e-05, No Iterations 121
time step continuity errors : sum local = 2.36639e-09, global = -2.03075e-10, cumulative = -7.55483e-07
DILUPBiCG: Solving for epsilon, Initial residual = 7.88549e-06, Final residual = 7.33085e-09, No Iterations 1
DILUPBiCG: Solving for k, Initial residual = 2.40367e-05, Final residual = 8.46692e-09, No Iterations 1
DILUPBiCG: Solving for Ux, Initial residual = 2.88001e-05, Final residual = 3.82796e-08, No Iterations 1
DILUPBiCG: Solving for Uy, Initial residual = 2.94872e-05, Final residual = 6.60261e-08, No Iterations 1
DILUPBiCG: Solving for Uz, Initial residual = 1.9312e-06, Final residual = 1.9312e-06, No Iterations 0
DICPCG: Solving for p, Initial residual = 0.00409901, Final residual = 0.00017685, No Iterations 6
DICPCG: Solving for p, Initial residual = 0.000444541, Final residual = 2.17006e-05, No Iterations 260
DICPCG: Solving for p, Initial residual = 0.000225137, Final residual = 9.72926e-07, No Iterations 371
time step continuity errors : sum local = 8.81938e-11, global = 7.52353e-13, cumulative = -7.55482e-07
DILUPBiCG: Solving for epsilon, Initial residual = 4.02741e-06, Final residual = 2.43883e-09, No Iterations 1
DILUPBiCG: Solving for k, Initial residual = 1.21342e-05, Final residual = 1.76598e-09, No Iterations 1
ExecutionTime = 340714 s ClockTime = 341807 s


So U, epsilon and k are computed well done.. but there are so many iterations for p! And it doesn't become better. My understanding of mathematics is now limited. What can I do to make it better? My tutor told me to use pimpleDyMFoam.(First I wanted to use transientSimpleDyMFoam=) I suspect 2 weeks will pass until simulation ends. no good perspective. (I could learn a bit of latex in this time..but I think there is some mistake or bad setup for p.)

Best regards,
Christian
Christian-Henrik Walter
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/07/27 11:52 By ChristianE46.
The administrator has disabled public write access.
 
Go to topPage: 12
Joomla SEO powered by JoomSEF


bottom
top

OpenFOAM®-Extend World

You need to upgrade your Flash Player

bottom
Legal | Imprint
©Copyright 2012 The OpenFOAM® Extend Project 

Powered by Joomla! Designed by Joomla Templates, ecommerce web hosting, Thanks to J! Developer Goran Gligorin for support! Joomla SEF URLs by Artio. Powered by Staff Master v0.9.8 Valid: XHTML and CSS

Friends Online