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

Coupled solver, computational cost

Register Blogs Community New Posts Updated Threads Search

Like Tree29Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2013, 11:57
Default
  #21
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
The mesh at hub does not look good.

Do you have 10-12 points in boundary layer?

Which turbulence model you are using?

use newer version of fluent which is equipped with hybrid wall function for SST model.
Far is offline   Reply With Quote

Old   March 27, 2013, 11:58
Default
  #22
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 28
diamondx will become famous soon enough


this sudden change in the element height should raise some awarness. i usually go by a ratio of 1.2 up to 1.5. yours is more than triple.
I don't know what the others members think about it...
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   March 27, 2013, 12:04
Default
  #23
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Ali from where you got this pic?
Far is offline   Reply With Quote

Old   March 27, 2013, 12:08
Default
  #24
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 28
diamondx will become famous soon enough
bollonga's post in the attached pictures. right button click and get the image url
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   March 27, 2013, 15:27
Default
  #25
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
Maybe you answered the question yourself. The backflow entering from the outlet is causing a disturbance of the flow upstream.
Have a closer look at the region where backflow occurs and consider moving the outlet further downstream.
Well, I'm running now the same case for U=10m/s. Reverse back-flow has disappeared but force and moment coefficient remain so low.
15R downwind is not long enough?

Quote:
Originally Posted by Far View Post
The mesh at hub does not look good.

Do you have 10-12 points in boundary layer?

Which turbulence model you are using?

use newer version of fluent which is equipped with hybrid wall function for SST model.
I have 15 layers near the wall,starting at 4e-6 m aprox so I have y+<1. How thick is the boundary layer supposed to be?
By now I'm running the laminar case, I'll use k-omega SST later on.
Which fluent version? 14.0? How does hybrid wall function works?

Quote:
Originally Posted by diamondx View Post
this sudden change in the element height should raise some awarness. i usually go by a ratio of 1.2 up to 1.5. yours is more than triple.
I don't know what the others members think about it...
You're right. Trying to reduce the element number I've left size changes like this. I'm gonna fix that. But do you think this can be the reason for such distorted valued?
Bollonga is offline   Reply With Quote

Old   April 1, 2013, 10:31
Default
  #26
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Hi everyone, I've run the cases with increased windspeed (10 and 15 m/s) keeping the same angle of attack. The mesh is the same and it's still single precision. As I said before, reverse flow has disappeared. However, torque is still too low. Cm=0.004 aprox. It yields a power at least 5 times lower than the experimental data.

I'm now running the same cases for windspeeds of 5, 10 and 15 m/s with double precision. At least my PC is not running out of memory with this mesh.

Once I have finished I will increase mesh density around the blade and try again, but I don't know if this will be enough to increase the torque to a value near the experimental value. I guess I will need to test some other angles of attack, now I'm using 12º.

I have a new question about rotating meshes... what's the difference between "rotating reference frame" and "rotating mesh" in the "cell zone condition" tab?
Bollonga is offline   Reply With Quote

Old   April 2, 2013, 05:35
Default
  #27
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Double precision rise the same results as single precision. But I made a mistake in the power calculation, it's giving aproximately 10 times less than the experimental data.

I've also tried to reduce residuals to 1e-7 and the coeficients go slightly better even if it can't converge residuals curve looks quite horizontal (see picture)

I guess I gotta chose the last value of the moment coefficient, when covergence is reached, but Cm oscillates a lot and it can vary 20% of its value (see picture).
Should I use the mean Cm even if it's a steady case?
Attached Images
File Type: jpg 2013-04-02_residuals1e-7.jpg (31.4 KB, 91 views)
File Type: jpg CM_U15ms_dp.jpg (43.0 KB, 79 views)
Bollonga is offline   Reply With Quote

Old   April 2, 2013, 05:43
Default
  #28
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
convergence looks good.
Far is offline   Reply With Quote

Old   April 3, 2013, 10:43
Default
  #29
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
I've tried running the case with a more dense mesh (4 million elements) and convergence is harder to achieve. I had to reduce pressure and momentum URF to their half values and residuals went down. If I try to increase them it diverges.

I'm using a rotating reference frame along axis (0,0,-1) and recording moment coefficient along axis (0,0,1), the issue is that for previous mesh Cm converged to a positive value and now it does for a negative value! I guess Cm should has the same sign as the reference frame rotation, so for that axis negative coefficient should be the right one (see picture for axis and relative flow directions). So how could it have converged to an opossite value?

I also need to meassure lift force for a blade section, but how can I get pressure coefficients along a section perimeter?

Thanks a lot!
Attached Images
File Type: jpg Tripala 02 04 13 U10-4-08400_Relative velocity.jpg (104.5 KB, 39 views)
Bollonga is offline   Reply With Quote

Old   April 12, 2013, 10:41
Default
  #30
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Hi everybody,

After some days of simulations I haven't made much progress.

First I've run the laminar steady case. Increasing the windspeed and rotational speed from 5m/s-10rpm, 10m/s-20rpmand 15m/s-30rpm.
Reverse flow appeared and torque coeficient were too low or even of opposite sign.

Now I'm trying the laminar transient case. The mesh is 4 mill nodes. I'm using single precision, SIMPLE algorithm, least squares cell based for gradients, standard for pressure, 2nd order upwind for momentum and 1st order implicit for time.
I'm using adaptive time step form 1e-7 to 1e-3, and residuals of 1e-5. I tried residuals of 1e-6 but they were never reached, and the curve was completely horizontal so I increased them to 1e-5. I've also tried with 1e-4 and 1e-3.

The issue is that I always get reverse flow on the outlet and that ends to distort the flow.

How can I avoid the reverse flow?
Even lager domain?
Should I start with the final windspeed (15m/s) but reduced rotational speed (30rpm=final rotational speed)?
Which approach should I use? Any reference or example?

Thanks a lot guys!

PS: the Cp distribution along a profile of the blade is already solved!
Bollonga is offline   Reply With Quote

Old   April 13, 2013, 03:44
Default
  #31
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Thats good that you have solved cp distribution problem. Would you like to tell us how you did this?

Do you have separation on airfoil?
Far is offline   Reply With Quote

Old   April 13, 2013, 11:36
Default
  #32
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17
macfly is on a distinguished road
Quote:
Originally Posted by oj.bulmer View Post
A bit of theory:

The algebraic approaximation of integral balance for any control volume is given as:

a_P \phi_P = \Sigma a_{nb} \phi_{nb} +b

Patankar (1980,1981) proposed the underrelaxation factor \alpha as

\frac{a_P}{\alpha} \phi_P = \Sigma a_{nb} \phi_{nb} +b + \frac{1-\alpha}{\alpha} a_P \phi_P

This is same as equation 20-60 in ANSYS Help documentation of FLUENT.

The implementation of CFL in this context is:

\alpha = \frac{CFL}{1+CFL} or, CFL=\frac{\alpha}{1-\alpha}

Consequently the governing equation for the control volume becomes:

a_P \left(1+\frac{1}{CFL}\right) \phi_P = \Sigma a_{nb} \phi_{nb} +b + \frac{a_P}{CFL} \phi_P^{old}

...

Thanks for the theory! But there is still something I don't understand: when we adjust the Flow Courant Number (under Solution Controls), why can we still adjust the URFs? The way I see the equations, the solver uses either the CFL formulation or the \alpha formulation. Why can we adjust both?
macfly is offline   Reply With Quote

Old   April 13, 2013, 15:23
Default
  #33
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Quote:
Originally Posted by Far View Post
Thats good that you have solved cp distribution problem. Would you like to tell us how you did this?
I created a thread about that, I put the solution there. I did an iso-surface on my specified wall zone with mesh variable.

http://www.cfd-online.com/Forums/flu...urve-plot.html

Quote:
Originally Posted by Far View Post
Do you have separation on airfoil?
I had kind of separation for the steady case. The weird thing is that now, in the transient case the flow seems to go opposite to the correct way!

I have a 120º cylindrical sector with periodic sides and I want the flow to go opposite to clockwise sense.

What I'm doing is:
I use rotating reference frame (not rotating mesh) and I set it to rotate clockwise, so the flow relative to it goes the opposite. Is that okay? It seemed to be all right for the steady case but not now!
When I check relative velocity vectors they were okay for the steady case, but not for the transient one. If I check them now, they go just parallel to the rotating axis and absolute velocity goes clockwise!
What difference is there between rotating mesh and rotating reference frame?

Anybody with experience doing turbines could tell me how he simulates the rotating flow, please?

Thanks many!
Bollonga is offline   Reply With Quote

Old   April 16, 2013, 09:32
Default
  #34
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Quote:
Thanks for the theory! But there is still something I don't understand: when we adjust the Flow Courant Number (under Solution Controls), why can we still adjust the URFs? The way I see the equations, the solver uses either the CFL formulation or the formulation. Why can we adjust both?
Guess this post got lost in so many email updates from the forum! If you see the methodology of solution here, the CFL is only applied while solving continuity, momentum and energy equations (p, u, v, w, T).

Essentially, when CFL is used, the URFs for p, u, v, w, T shouldn't be available. But the URFs are still used for k and eps etc, as a mathematical closure. While, when CFL is not used, the URFs are available for all the variables.

OJ
oj.bulmer is offline   Reply With Quote

Old   April 16, 2013, 10:06
Default
  #35
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17
macfly is on a distinguished road
Quote:
Originally Posted by oj.bulmer View Post
Essentially, when CFL is used, the URFs for p, u, v, w, T shouldn't be available. But the URFs are still used for k and eps etc, as a mathematical closure. While, when CFL is not used, the URFs are available for all the variables.
Hi oj,

The URFs for pressure, momentum, temperature and energy are definitely still available when the CFL is available as well, nothing is grayed out. And modifying either the CFL or the URFs of p, momentum or T have an effect on their residuals. My conclusion is that both the CFL and the URFs are used by the solver for p, u, v, w or T , but I still don't understand the theory!
macfly is offline   Reply With Quote

Old   April 18, 2013, 02:13
Default
  #36
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Oh well, I think there is a bit confusion over the concept of under-relaxation. There are two types:

1) (Explicit) Under-relaxation of variables: For pressure-based coupled algorithm, this would under-relax the individual variables in inner iterations. Notice that the under-relaxation type for momentum and pressure is EXPLICIT!

2) (Implicit) Under-relaxation of equations: For pressure-based coupled algorithm, CFL applied tries to under-relax the equations through full IMPLICIT coupling. The choice of CFL will influence the local timescale and eventually the solution of the equations, as specified in earlier (long) post. Essentially when CFL is used, the separate under-relaxation of flow equations is not needed. But for turbulence equations, URFs still needs to be specified.

Typical values of Explicit URFs (in pressure-based coupled case) for pressure/momentum being 0.75, it can be further increased to accelerate inner iterations. But for higher order schemes for momentum etc, often it needs to be reduced to say 0.5 etc, with very bad meshes requiring further reduction at times. Any divergence in AMG solver should indicate the high CFL value, which needs to be reduced.

OJ
chek321 and Mostafa.F.H like this.
oj.bulmer is offline   Reply With Quote

Old   April 18, 2013, 02:50
Default
  #37
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Fluent recommended CFL number for pressure based- coupled to 200000. And this CFL is only used for the momentum and continuity equations (as they are only coupled in pressure based coupled solver unlike density based coupled solver where continuity, momentum and energy are coupled).

So 200,000 does not make a sense as CFL number but it is doing the great job
Far is offline   Reply With Quote

Old   April 18, 2013, 03:07
Default
  #38
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Quote:
And this CFL is only used for the momentum and continuity equations
Indeed, as I outlined, CFL is used only for flow equations (p/v) since only they are coupled, while turbulence and other equations are segregated, even in coupled solver.


Quote:
So 200,000 does not make a sense as CFL number but it is doing the great job
The high recommended value of CFL (200000) can be justified in the sense that given the fully implicit coupled equations, this will use relatively quite high timescales locally, accelerating the convergence as information propagates at faster rate. This should be possible because of the implicit nature of coupling and hence no barrier on timescale. Although, the non-linear outer iterations may put a cap on CFL.

That said, I don't know where this figure of 200000 comes from. I remember to have seen reference where CFL was recommended as 1e7 for transient cases (with explicit URFs 1) in FLUENT documentation. Have you read any study which recommends this (CFL=200000)?

OJ
oj.bulmer is offline   Reply With Quote

Old   April 18, 2013, 03:24
Default
  #39
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
yes. It was a paper on transition model where energy equation was not solved on low pressure turbine and CFL was taken to be 200,000 We are using coupled pressure solver with CFL = 200,000 successfully for few years and convergence is great.

To take this opportunity I would like to share my recent experience. I solved flow around cylinder at Re = 40. At the Re flow is laminar, steady and exhibits two steady vortices in wake region. When I used SIMPLE method, it took around 400-450 iterations to converge solution to required Cd values while in coupled pressure based solver with CFL=200,000 it only tool 24-25 iteration to get the same result.
Far is offline   Reply With Quote

Old   April 18, 2013, 06:23
Default
  #40
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
I see. Indeed, coupled solver will be faster in terms of number of iterations because, of course it solves implicit coupled equations. But be aware that the memory requirements can be a bottleneck in this case. Moreover, time/iteration is significantly higher for coupled solver in many cases.

In cases, where CFL number has to be significantly reduced to aid in convergence, it may be worthwhile to go for segregated solver instead.

OJ
oj.bulmer is offline   Reply With Quote

Reply

Tags
cfl, coupled, courant, under-relaxation factor


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
Some confusion about coupled solver for incompressible flow bearcat Main CFD Forum 0 February 14, 2010 20:40
coupled solver (again) lucioantonio FLUENT 0 April 8, 2009 16:15
Coupled solver energy equation problem lucioantonio FLUENT 0 April 3, 2009 10:21
coupled solver wont work in star ccm+ richie Siemens 5 November 4, 2008 04:51
Re: Coupled solver + RNG K-e Model JN FLUENT 1 April 22, 2001 16:34


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