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

Huge pressures and velocities

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2020, 06:29
Default Huge pressures and velocities
  #1
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
Hi guys, I am facing a problem here which I am unable to resolve.
I got a transient simulation with only water with constant material properties. So no energy equation and incompressible. It is a rectangular tank which is either filled or drained during the simulation according to a hydrograph I have. The period of time I want to simulate is too long to make it two-phase, so I used rigid lid and account for the changing water volume by shifting the "TOP" boundary (water level) with moving mesh.
Unfortunately the solver crashed right in the first time step with overflow. I tried a view things but then got it running in double-precision. Obviously that takes a significant amount of time longer, no way I can use it for the whole simulation, but might be ok for the startup. As I had these startup problems, I created a trn file right after 2 iterations, which I was able to check now. There are pressures of 10^22 Pa inside my domain and the fluid velocity is nowhere near realistic, 10^7 m/s and such. I really have no idea where that originates from. I tried several options of initializing the pressure, ref pressure in domain and material of 0 [atm] or 1 [atm]. As there is no pressure boundary, I explicitly provided a pressure reference location under Solver Control correlating to the two values above (which seems to be ignored by the solver, at least it states another location in the .out file).

Even more odd, the flow rate is very low at the beginning, so I expect nothing to really happen. I also checked the FAQ on overflow again but I considered all that.
I did a similar simulation last year which worked. I used it as template, only changed the flow rate and used another mesh with better quality measures than the old one. After I could'nt sort it out, I decided to run the old simulation again just to see if it still works with the new cfx version. It did, kind of, but during the first 10 iterations there were also these crazy high values.
Knowing that, I gave my new simulation a bit more time to see if the values come down. They do, but waaaay slower than in the old simulation. They are still too high about 100 iterations into the simulation. I could live with it, but I really want to understand where these huge values come from. Why does cfx ignore my pressure and velocity initialization? There is probably something simply wrong in my setup, but it is so simple, I can't see what it could be. Any idea is much appreciated.
Thanks alot and have a nice sunday.
AtoHM is offline   Reply With Quote

Old   April 19, 2020, 18:58
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
CFX is not ignoring your initial conditions. CFX thinks that your conditions lead to those crazy values. So there is something in your setup or numerics which is causing it.

Please post an image of what you are modelling and the output file.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   April 20, 2020, 09:27
Default
  #3
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
I'm afraid I can't share these publicly. Thanks for your help anyway.
A colleague had some hints which might help - I will try on my own for now and keep this post updated if I can sort it out.
There is at least one issue with my mesh motion expression.
AtoHM is offline   Reply With Quote

Old   April 21, 2020, 04:09
Default
  #4
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
I figured it out. It could only be the pressure initialization.
During my failed tests, I used different reference pressure levels cause I thought round off errors might be the problem. The inflow is very small at the beginning and so are the pressure differences. I read through the cfx guides again yesterday regarding these settings. What I didn't think of was the hydrostatic pressure profile I use for initialization - this was however recommended in the manuals, but only for multiphase simulations. I still followed the advice of using the average of max / min expected pressure in the domain as reference pressure and then instead of using the hydrostatic pressure initialization, I used relative pressure = 0 Pa everywhere. And now it runs perfectly. It makes sense, there is no hydrostatic pressure profile w/o gravity.
Anyway, I also found a cfx bug. Since I had a strange mesh displacement issue a few years back, I use an expert parameter called mesh displacement diffusion scheme = 3. When using this parameter, the option mesh motion relative to previous mesh does just not work. It shifts the mesh in the first iteration but never again afterwards. I could confirm this by using the same setup without the expert parameter, it worked perfectly. I will report this to CFX Support.

Last edited by AtoHM; April 21, 2020 at 05:30.
AtoHM 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
chtMultiRegionSimpleFoam for high velocity and pressures prameelar OpenFOAM Running, Solving & CFD 1 March 31, 2014 04:16
Water pipe - pressure inlet/outlet - unrealistic velocities erichu OpenFOAM Running, Solving & CFD 1 April 11, 2013 07:08
3-D Water Flow in Fluent to Evaluate Pressures ahammack FLUENT 2 September 1, 2009 22:41
dynamic mesh, negative absolute pressures Jason FLUENT 0 March 15, 2005 09:36


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