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

Cl=-10000.0 and no chang

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2018, 00:05
Default Cl=-10000.0 and no chang
  #1
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
Hi,

I am simulating a flow around a 10m x 10m x 3m box on ground at ma=0.1.

The calculation is converging, but the cl and cd value always at -10000.0. I am using the cfg file from euler/crm testcase. Just wondering what I need to change to get the cl value right?is it something about reference length?

Regards,

Cean
Attached Images
File Type: jpg f.JPG (147.8 KB, 13 views)

Last edited by ceanwang; August 14, 2018 at 03:11.
ceanwang is offline   Reply With Quote

Old   August 12, 2018, 10:03
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 465
Rep Power: 13
pcg is on a distinguished road
Hi Cean,

Check if these two options have the correct boundary names:
MARKER_PLOTTING= ( fuselage , Wing , HTP )
MARKER_MONITORING= ( fuselage , Wing , HTP )

Regards,
Pedro
pcg is offline   Reply With Quote

Old   August 13, 2018, 09:05
Default
  #3
Member
 
Ole Burghardt
Join Date: Mar 2016
Location: Kiel, Germany
Posts: 60
Rep Power: 10
Sprotte is on a distinguished road
Hi,

just wanted to let you know that -10000 (or 10000) are the default output values whenever the ones obtained in your simulation are smaller or bigger than that. Did you change the reference length?
Sprotte is offline   Reply With Quote

Old   August 13, 2018, 17:48
Default
  #4
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 13
hlk is on a distinguished road
Hello
Thanks for your interest in SU2
As a previous poster mentioned, the -10000 value is a default max-out value.
This usually indicates that the solution has diverged - Sprotte, when you say that it was converged do you mean that the residuals (output as their log10 value) have reduced by some number of orders of magnitude, or do you mean that the Cl reaches a constant value?
The former is recommended as a more reliable measure of whether the simulation has converged. Given the -10000 output, even if the residual magnitude is reduced I suspect that it is not really converged.

I suggest using a lower CFL number and using CFL adaptation (if you were using CFL adaptation before, check what CFL number was output somewhere before the Cl blew up, and then use a constant CFL that's less than that).

Given your Mach number, it would also be a good idea to check that you are using an incompressible simulation. (Mixing cases where the density gradient is physically near zero with simulations that rely on accurate computation of density gradients tends not to work out very well (: )
hlk is offline   Reply With Quote

Old   August 13, 2018, 19:50
Default
  #5
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
Quote:
Originally Posted by pcg View Post
Hi Cean,

Check if these two options have the correct boundary names:
MARKER_PLOTTING= ( fuselage , Wing , HTP )
MARKER_MONITORING= ( fuselage , Wing , HTP )

Regards,
Pedro
These two settings are right.I only have Wall and Farfield conditions.

I have "Non-physical points" first, and found out some boundary value are wrongly set. Maybe still some faces have wrong value. I'll check.
ceanwang is offline   Reply With Quote

Old   August 13, 2018, 19:50
Default
  #6
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
Quote:
Originally Posted by Sprotte View Post
Hi,

just wanted to let you know that -10000 (or 10000) are the default output values whenever the ones obtained in your simulation are smaller or bigger than that. Did you change the reference length?
no. still = 1 I think.
ceanwang is offline   Reply With Quote

Old   August 13, 2018, 19:53
Default
  #7
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
Quote:
Originally Posted by hlk View Post
Hello
Thanks for your interest in SU2
As a previous poster mentioned, the -10000 value is a default max-out value.
This usually indicates that the solution has diverged - Sprotte, when you say that it was converged do you mean that the residuals (output as their log10 value) have reduced by some number of orders of magnitude, or do you mean that the Cl reaches a constant value?
The former is recommended as a more reliable measure of whether the simulation has converged. Given the -10000 output, even if the residual magnitude is reduced I suspect that it is not really converged.

I suggest using a lower CFL number and using CFL adaptation (if you were using CFL adaptation before, check what CFL number was output somewhere before the Cl blew up, and then use a constant CFL that's less than that).

Given your Mach number, it would also be a good idea to check that you are using an incompressible simulation. (Mixing cases where the density gradient is physically near zero with simulations that rely on accurate computation of density gradients tends not to work out very well (: )
The residual reaches -3 and still going down. I stopped.

I am using Euler, Direct. CFl =5. the Cl = -10000.0 from the first calculation.
ceanwang is offline   Reply With Quote

Old   August 14, 2018, 03:12
Default
  #8
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
just uploaded a screen shot.
ceanwang is offline   Reply With Quote

Old   August 14, 2018, 06:56
Default
  #9
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 465
Rep Power: 13
pcg is on a distinguished road
The reference factor is usually not 0. Can you upload the configuration file and the screen output?
pcg is offline   Reply With Quote

Old   August 14, 2018, 07:29
Default
  #10
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
Quote:
Originally Posted by pcg View Post
The reference factor is usually not 0. Can you upload the configuration file and the screen output?
I also want to try the cfg file from testcases\incomp euler\naca0012.

this zip file also includes gmsh's geo file which could generate the su2 mesh.

screen output at #1
Attached Files
File Type: zip box.zip (9.0 KB, 6 views)
ceanwang is offline   Reply With Quote

Old   August 14, 2018, 12:49
Default
  #11
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 465
Rep Power: 13
pcg is on a distinguished road
I generated a coarse mesh for your geometry, literally clicked buttons on gmsh until something came out because I never used it before .
It seems to be just a matter of increasing the reference area, the geometry is huge so it makes sense. At 10000 m^2 I started to get numbers.

Based on my personal experience with SU2 I suggest the following:
LINEAR_SOLVER= BCGSTAB
LINEAR_SOLVER_PREC= ILU
LINEAR_SOLVER_ERROR= 1E-2
LINEAR_SOLVER_ITER= 100
MGLEVEL= 2 or 3
MGCYCLE= V_CYCLE
MG_DAMP_RESTRICTION= 0.75
MG_DAMP_PROLONGATION= 0.75

With the above I can usually run at CFL_NUMBER= 10 to 15

Cheers,
Pedro
pcg is offline   Reply With Quote

Old   August 14, 2018, 19:48
Default
  #12
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
The ground area is 1800 m^2, and need 10000 m^2 to ref as your test.

What's the ref length and area means?.
ceanwang is offline   Reply With Quote

Old   August 14, 2018, 22:55
Default
  #13
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
Changed the ref area=10000.

Finished after 2402 steps.

Res=-5 but CL=7000.

Screen shot uploaded.
Attached Images
File Type: png r.PNG (29.3 KB, 9 views)
ceanwang is offline   Reply With Quote

Old   August 15, 2018, 05:51
Default
  #14
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 465
Rep Power: 13
pcg is on a distinguished road
Your geometry is 60 kilometres in the x direction. Make sure to use meters if you are using SU2 with SI units.
Reference area and length are part of of what goes in the denominator of the force and moment coefficients:
https://en.wikipedia.org/wiki/Pitching_moment
https://en.wikipedia.org/wiki/Drag_coefficient
https://en.wikipedia.org/wiki/Lift_coefficient
pcg is offline   Reply With Quote

Old   August 15, 2018, 06:19
Default
  #15
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
i used mm. no wonder its so big.

thanks.
ceanwang 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



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