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

Highly unexpected occurence of Enforce_bounds error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 26, 2011, 18:59
Default Highly unexpected occurence of Enforce_bounds error
  #1
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
Hi,

I am facing a very strange and unexpected situation.
I have converged results for a conjugate heat transfer problem with the option ' Essential' selected in Output control. I have used k-omega turbulence model in my simulation. I need yplus values n my results and I realized that yplus values are not available when ' Essential' option is selected in output control.
So, to get yplus values also in results, I just reran my simulation by changing the Output control option to 'Standard' and using the already available converged results as initial condition with Continue history option enabled in solver.
The simulation proceeds and reaches convergence without any issue. However, just before forming the result file, solver reports Enforce_bounds error and stops without forming the result file !!!
The location of Enforce_bounds error is reported to be one of the wall boundary conditions and for fluid density. However, the maximum and minimum fluid densities in the fluid domain are within physical limits.
I have already checked my simulation setup, also tried with 'Selected variables' option in Output control and just reran the old simulation for confirmation. I have concluded that the error occurs only when I change the Output control option from ' Essential' to either ' Standard' or ' Selected variables' . I have no clue about the source of this problem now and any inputs will be of immense help.

I am attaching the .out file for your reference.

Best regards..
Chander is offline   Reply With Quote

Old   December 26, 2011, 19:03
Default
  #2
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
The .out file is attached herewith..
Attached Files
File Type: zip OUTfile.zip (34.7 KB, 10 views)
Chander is offline   Reply With Quote

Old   December 27, 2011, 06:19
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The problem is probably due to you now evaluating a variable when you generate the larger results file. The essential results file is not including the variable but now it is in there and is causing the problem.

You have a lot of CEL in there and I suspect that either something is wrong with your CEL, or an expression which should not be evaluated somewhere (maybe at a wall). Alternately you have added only two variables to your variables list for the results file, they are also two key ones to look at.
ghorrocks is offline   Reply With Quote

Old   March 5, 2012, 06:25
Default
  #4
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
Hi everyone,

I am still stuck with this strange problem. I have contacted Ansys support and implemented the suggestion given by them. However, the issue is still unsolved. I have further analyzed the problem and I am describing my findings here below.

Simulation set-up:

A. I am simulating conjugate heat transfer in a heat sink with turbulent flow. I am using k-omega model for turbulence.

B. The fluid properties are temperature dependent. I have used CEL expressions for fluid properties which give fluid properties as function of local temperature.

C. The simulation proceeds without any problem and converges.

The issue:

I need solver y-plus values which are available in CFX post only if 'Standard' option is used in output control. However, by using this option, the solver reports unphysical fluid temperature values (of the order of 1e4 K) at a few mesh nodes on fluid-solid wall while forming the result file (and AFTER the simulation has converged). The error message is shown below :

****** Notice ******
| While evaluating Static Entropy,
| Temperature on boundary IPO Inlet manifold top adiabatic wall
| went outside of its upper limit. Its maximum value was
| 3.4538E+04. The bounds error was handled by clipping.
| If this situation persists, consider increasing the table range.

****** Notice ******
| While evaluating Static Entropy,
| Temperature on boundary Outlet side fluid adiabatic walls
| went outside of its upper limit. Its maximum value was
| 6.8304E+05. The bounds error was handled by clipping.
| If this situation persists, consider increasing the table range.



The boundaries reported above belong to two different domains in the simulation.
The error happens inspite of the fact that .out file reports temperature values within physical limits for both the domains after the simulation is finished and just before reporting this error!!. The relevant parts of .out file is shown below


================================================== ====================
Termination and Interrupt Condition Summary
================================================== ====================

CFD Solver: All target criteria reached
(Equation residuals AND global imbalances)



+--------------------------------------------------------------------+
| Variable Range Information |
+--------------------------------------------------------------------+

Domain Name : Inlet side fluid
+--------------------------------------------------------------------+
| Variable Name | min | max |
+--------------------------------------------------------------------+
| Density | 9.95E+02 | 9.96E+02 |
| Specific Heat Capacity at Constant Pressure| 4.18E+03 | 4.18E+03 |
| Dynamic Viscosity | 7.54E-04 | 7.97E-04 |
| Thermal Conductivity_xx | 6.16E-01 | 6.20E-01 |
| Thermal Conductivity_yy | 6.16E-01 | 6.20E-01 |
| Thermal Conductivity_zz | 6.16E-01 | 6.20E-01 |
| Thermal Conductivity_xy | 0.00E+00 | 0.00E+00 |
| Thermal Conductivity_xz | 0.00E+00 | 0.00E+00 |
| Thermal Conductivity_yz | 0.00E+00 | 0.00E+00 |
| Static Entropy | 4.23E+02 | 4.59E+02 |
| Velocity u | -4.20E-01 | 1.43E+00 |
| Velocity v | -8.90E-01 | 3.01E-01 |
| Velocity w | -8.47E-01 | 9.45E-01 |
| Pressure | 9.81E+02 | 2.53E+03 |
| Turbulence Kinetic Energy | 1.73E-11 | 3.72E-01 |
| Turbulence Eddy Frequency | 8.21E+01 | 3.11E+05 |
| Eddy Viscosity | 4.87E-13 | 1.04E-01 |
| Temperature | 3.03E+02 | 3.06E+02 |
| Static Enthalpy | 1.26E+05 | 1.37E+05 |
+--------------------------------------------------------------------+

Domain Name : Outlet side fluid
+--------------------------------------------------------------------+
| Variable Name | min | max |
+--------------------------------------------------------------------+
| Density | 9.94E+02 | 9.95E+02 |
| Specific Heat Capacity at Constant Pressure| 4.18E+03 | 4.18E+03 |
| Dynamic Viscosity | 7.25E-04 | 7.57E-04 |
| Thermal Conductivity_xx | 6.19E-01 | 6.23E-01 |
| Thermal Conductivity_yy | 6.19E-01 | 6.23E-01 |
| Thermal Conductivity_zz | 6.19E-01 | 6.23E-01 |
| Thermal Conductivity_xy | 0.00E+00 | 0.00E+00 |
| Thermal Conductivity_xz | 0.00E+00 | 0.00E+00 |
| Thermal Conductivity_yz | 0.00E+00 | 0.00E+00 |
| Static Entropy | 4.56E+02 | 4.85E+02 |
| Velocity u | -4.57E-01 | 1.74E+00 |
| Velocity v | -1.40E+00 | 4.71E-01 |
| Velocity w | -1.30E+00 | 1.13E+00 |
| Pressure | -9.03E+02 | 1.13E+03 |
| Turbulence Kinetic Energy | 2.91E-13 | 2.35E-01 |
| Turbulence Eddy Frequency | 1.64E+02 | 1.02E+06 |
| Eddy Viscosity | 5.11E-15 | 4.62E-02 |
| Temperature | 3.06E+02 | 3.08E+02 |
| Static Enthalpy | 1.36E+05 | 1.45E+05 |
+--------------------------------------------------------------------+

The fact that temperature remains within physical range till the simulation is converged is also shown by monitor plots of maximum temperature in various domains in the simulation.See attached figure monitorplots.png.

There are other domains also in simulation setup but there is no problem in those domains.

Following interaction with Ansys support, I tried the following two things which have not made any difference in the issue.
1) Constraining the temperature to within some limits while evaluating the fluid properties through CEL expressions. I did the following to constrain the temperature within 20-70 deg C as the temperature cannot go outof this range in my simulation
TC = min(max(T,293.15),343.15)
and then use this to evaluate fluid properties

2) I even tried with constant fluid properties by setting TC to a constant value.

3) I removed extra output variables from output control.

There was one minor change after doing steps 1 and 2 above. Before trying these changes, the solver was stopping after convergence, giving a Enforce_bounds error, and not forming any result file. However with both the changes 1) and 2) above, the solver did form a result file and I was able to see where the unphysical temperature was .

Also, there was one minor difference between cases 1 and 2 above. With the case 1 above, the solver reported the bounds error as shown in this post above in red and formed the result file. However with change 2, the solver did not report any bounds error and formed the result file. But the result file in both the cases 1) and 2) above, showed same unphysical temperature at a few points on the two fluid-wall boundaries. I am showing the unphysical temperature on of the fluid wall boundaries. See attached figure temperature.png

All these problems do not occur , if I just use the option 'Essential' in output control. I am showing the same temperature plot with the option 'Essential' in the attached figure temperature2.png

Any suggestions to get around this situation will be extremely helpful. Sorry for the long post.

Regards,
Chander
Attached Images
File Type: png monitorplots.png (14.1 KB, 6 views)
File Type: jpg temperature.jpg (48.3 KB, 7 views)
File Type: jpg temperature2.jpg (48.7 KB, 8 views)
Chander is offline   Reply With Quote

Old   March 5, 2012, 06:46
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
So your simulation runs and converges, but when you restart it to get the additional parameter then you get this bounds error?

So that sounds like a problem on restarts and/or the calculation of the additional output file variables, doesn't it?
ghorrocks is offline   Reply With Quote

Old   March 5, 2012, 06:49
Default
  #6
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
Well it is not a restart error as I ran the simulation again from beginning to rule out this possibility.
Yes the issue occurs when I ask CFX to give me some more output variables by using the 'Standard' option instead of 'Essential'.
Chander is offline   Reply With Quote

Old   March 5, 2012, 15:55
Default
  #7
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
So..any ideas?
Chander is offline   Reply With Quote

Old   March 5, 2012, 18:19
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This sounds like a bug in CFX. I know you have already talked to CFX support but I suspect you need to make it clear that the issue appears to be a bug.

But I would only bother reporting it if you are using the latest version of the solver. They do not case about bugs in old versions. If you are not using the latest version then you should upgrade - you are never going to get anywhere on this issue if you don't.
ghorrocks is offline   Reply With Quote

Old   March 8, 2012, 11:21
Default
  #9
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
Hello Glen,

Well I cannot upgarde to CFX 14 at the moment.
The basic reason why I need the result file with Standard option is that I need y+ values.
Actually for my calculations, I need y+ value for every mesh cell/node. What I am trying to do is to plot local profiles of entropy generation for my problem and it is for this purpose that the above info is required.
I now realize that Standard option will only give me y+ values for first mesh cells from wall while, as I said above, I need these values for all mesh cells.

Is there a way by which I can calculate y+ value for any mesh cell/node? I think, to calculate this for any mesh node, I will need to find actual distance of that mesh node from nearest wall and velocity gradients at that corresponding location (projected location of the node) on that wall (to calculate wall shear stress). Is there a way by which I can do this myself in CFX-Post or outside? If there is, then I can simply use the result files with Essential option that I already have and not bother about the current problem.
Chander is offline   Reply With Quote

Old   March 8, 2012, 18:16
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Personally I think you are wasting your time working around bugs on old versions of the software, but it is up to you.

Obviously you can define your own y+ as a user variable set with the definition of y+. But y+ is defined from wall shear stress and that only exists at the walls so will not help you much. You might be able to use a if/step function to put zeros in for nodes away from the walls.
ghorrocks is offline   Reply With Quote

Reply

Tags
cfx 12.1

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
CGNS Compiling Diego Main CFD Forum 17 December 21, 2014 02:40
Accessing phi from a fvPatchField at same patch johndeas OpenFOAM 1 September 13, 2010 21:23
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! alban Fluent UDF and Scheme Programming 2 June 8, 2010 19:54
compile errors of boundary condition "expDirectionMixed" liying02ts OpenFOAM Bugs 2 February 1, 2010 21:11
[Netgen] Installation of Netgen in SuSE Linux 92 edvardsenpriv OpenFOAM Meshing & Mesh Conversion 23 January 16, 2009 07:12


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