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

Transient solution not oscillating

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2011, 09:21
Default Transient solution not oscillating
  #1
New Member
 
anonymous
Join Date: Oct 2011
Posts: 7
Rep Power: 14
paul83 is on a distinguished road
Hello,

I searched the forum but didn't find something so i do my first post:

I have a Problem with my transient Solution for which I expect the Forces to oscillate. If I use a converged steady-state solution as initial condition for the transient run, no oscillation apears. If I start on the other hand directly with the transient Run the forces oscillate but with no sufficient convergence. (Convergence of the oscillation of course)

The advection scheme is HighRes and the time discretization is 2nd order. Turbulence is still 1st order and i have smal time steps.

My Question: Is it the right way to start such a transient run with a converged steady-state solution? Or should i start with a transient 1st-order solution?

I appreciate your advice.

Paul
paul83 is offline   Reply With Quote

Old   December 8, 2011, 16:32
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
Is this an FSI simulation or is the geometry fixed? What is the geometry?

To get oscillations you need high order numerics and good convergence. Can you attach your CCL file?

If the oscillation is real then any realistic initial condition should end up oscillating.
ghorrocks is offline   Reply With Quote

Old   December 9, 2011, 10:30
Default
  #3
New Member
 
anonymous
Join Date: Oct 2011
Posts: 7
Rep Power: 14
paul83 is on a distinguished road
Sorry, cant post any files now.No FSI but i plan to do it later on.Geometry is a parabolic trough solar collector in 2d near the ground. In addition i have a logarithmic wind profile as initial condition. Reynolds Number is about 4e6. Using SST model but only 1st order numerics for turbulence. I try running with highres then. I think in ansys docu i read that advection and time always need to be 2nd order (or highres) but turbulence can remain at 1st in most cases. I will also try blend-factor=1 for high order numerics then.

Im still not sure about the starting solution. Should i start with an converged steady-state solution with highres schemes or with a transient 1st order solution. Or start directly with transient high order numerics? And does my starting solution only have influence on the time until im converged or can it change the character of the flow?

Thanks for your help and have a nice weekend

Paul
paul83 is offline   Reply With Quote

Old   December 10, 2011, 06:00
Default
  #4
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
The whole idea of turbulence models is they average out the turbulent fluctuations and leave a steady state bulk flow. This may be what is stopping the oscillations.

What oscillates anyway? The air flow around the collector? In this case you will probably need a SAS, DES or LES approach to get something realistic.
ghorrocks is offline   Reply With Quote

Old   December 12, 2011, 03:48
Default
  #5
New Member
 
anonymous
Join Date: Oct 2011
Posts: 7
Rep Power: 14
paul83 is on a distinguished road
Yes, the air flow around the collector should be oscillating and therefore the pressures and forces. Wind tunnel results are conform with that. The strange thing is that at some angles i have the osscilation but at some i don't. Maybe at some critical angles the osscillating is so strong that the RANS approch don't can smooth it?

Im not familiar with LES or DES. Do I need special licences to use them?

Thanks again

Paul
paul83 is offline   Reply With Quote

Old   December 12, 2011, 17:21
Default
  #6
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
Quote:
Maybe at some critical angles the osscillating is so strong that the RANS approch don't can smooth it?
Correct. And this is likely to be grid and time step dependant. This is not a good basis for doing accurate simulations.

If the oscillations are what you want then you should use a model designed for that sort of thing. I think the LES/DES/SAS approaches require an advanced turbulence license. Also they are not topics for beginners, if you are not already proficient in CFD then I would recommend you get some experience with standard CFD models before progressing to them. At the very least read up about them from turbulence textbooks like "Turbulence Modelling for CFD" by Wilcox - then you will have a good idea about the complexity of these models.
ghorrocks is offline   Reply With Quote

Old   December 13, 2011, 12:58
Default
  #7
New Member
 
anonymous
Join Date: Oct 2011
Posts: 7
Rep Power: 14
paul83 is on a distinguished road
Ok. Thank you for your help. I think i will use the time average results then.
paul83 is offline   Reply With Quote

Old   December 16, 2011, 11:12
Default SAS SST model
  #8
New Member
 
anonymous
Join Date: Oct 2011
Posts: 7
Rep Power: 14
paul83 is on a distinguished road
Hello again,

I'm currently trying the SAS-SST model for turbulence now. I hope to get a "LES-like behavior" of the oscillating flow with less complexity and effort. Therefore i still want to use my two-dimensional grid (with only one element in the depth). My question is: Is it acceptable to do a Scale-Adaptive-Simulation with such a 2d grid. The examples i found were all 3d and I know that turbulence is a three-dimensional problem, but maybe it's still possible to get good qualitative results?

Thanks again

Paul
paul83 is offline   Reply With Quote

Old   December 16, 2011, 12:15
Default
  #9
k_k
Member
 
Kailash
Join Date: May 2011
Location: London, UK
Posts: 45
Rep Power: 14
k_k is on a distinguished road
I have performed LES simulations on Aerofoils in the past. I was advised to use a 3D grid with depth 10% of the characteristic length (chord of the aerofoil) and to use delx=dely=delz (cells with equal dimensions in all three dimensions) to take into account of isentropic turbulence.
k_k is offline   Reply With Quote

Old   December 16, 2011, 12:41
Default
  #10
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
I do recommend 10-12% in 3rd dimension. Try DES instead with option like 1)simple DES 2)DDES and 3)IDDES
Far is offline   Reply With Quote

Old   December 16, 2011, 15:13
Default
  #11
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
Quote:
Is it acceptable to do a Scale-Adaptive-Simulation with such a 2d grid.
Absolutely not. You will gt rubbish. You need a 3D mesh, or at least a mesh with enough depth in z that it can capture a couple of the largest turbulent structures.
ghorrocks is offline   Reply With Quote

Old   December 19, 2011, 02:55
Default
  #12
New Member
 
anonymous
Join Date: Oct 2011
Posts: 7
Rep Power: 14
paul83 is on a distinguished road
All right. Thanks for the comments. I will try that but I'm not sure if I have enough hardware power to simulate in 3d. Maybe I can use a more coarse grid or just compute over christmas.
paul83 is offline   Reply With Quote

Old   December 19, 2011, 05:45
Default
  #13
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
Christmas was invented as a gift to CFD engineers to run those really long simulations you never get enough CPU time to run normally. Just make sure the cleaners don't knock the power cord.
k_k likes this.
ghorrocks is offline   Reply With Quote

Old   April 20, 2015, 03:29
Default
  #14
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15
Mina_Shahi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Christmas was invented as a gift to CFD engineers to run those really long simulations you never get enough CPU time to run normally. Just make sure the cleaners don't knock the power cord.
Hi Glenn


I have to model standing wave in a thermoacoustic heat exchanger, but for the beginning to make problem as simple as possible I modeled flow between two parallel plate with the air at the iso condition. At the inlet I used opening with velocity signal of u=0.5 sin (2*pi*f*t) (velocity unti-node)and at the outlet I have wall (velocity node). Frequency of signal is f=13 Hz.

One time I consider the length of the domain to be 27 m which is almost equal to the wavelength . The number of elements in the y and z axis is one. So one can assume it as a 1D acoustic model. I monitored dynamic pressure inside the domain it was oscillating sinusoidaly around the mean value of zero . So it was ok.

pressure 27 m.jpg

Then I reduce the length to 6.6 (equal to one quarter wave). And again I used unti node in the inlet (opening with the same velocity signal)and node (wall Bc) at the oulet. But this time at the monitoring point I had kind of pressure drift. pressure was not oscillating around zero. so results show kind of mean pressure in the system. while we don’t expect mean pressure . I don’t know what the reason is for this deviation from zero mean pressure? Is that kind of numerical error? i changed the convergence criteria from 1e-6 to 1e-9. but it was still the same.

pressure (6 m).jpg
Mina_Shahi is offline   Reply With Quote

Old   April 20, 2015, 05:41
Default
  #15
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
If it is convergence it will be the imbalances which are better convergence criteria then the residuals. So I would recommend activating the imbalances as a convergence criteria. But if you are converging to 1e-9 then it does not sound like convergence.

I suspect your inlet velocity BC is the cause. I suspect the reflected wave is not interacting with the boundary condition in the manner you expect. This means that initially the inlet pushes air into the domain, but when the reflected wave hits the inlet it is not behaving as expected and this leaves you with a residual positive pressure due to the initial flow. Just a guess, but it sounds plausible.

You might need to be more realistic with your inlet boundary. Either use a wall and moving mesh, or expand the inlet out to a far field condition and apply the inlet boundary at a far field.
Mina_Shahi likes this.
ghorrocks is offline   Reply With Quote

Old   April 20, 2015, 08:53
Default
  #16
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15
Mina_Shahi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
If it is convergence it will be the imbalances which are better convergence criteria then the residuals. So I would recommend activating the imbalances as a convergence criteria. But if you are converging to 1e-9 then it does not sound like convergence.

I suspect your inlet velocity BC is the cause. I suspect the reflected wave is not interacting with the boundary condition in the manner you expect. This means that initially the inlet pushes air into the domain, but when the reflected wave hits the inlet it is not behaving as expected and this leaves you with a residual positive pressure due to the initial flow. Just a guess, but it sounds plausible.

You might need to be more realistic with your inlet boundary. Either use a wall and moving mesh, or expand the inlet out to a far field condition and apply the inlet boundary at a far field.

Thanks for your advice, i agree with you about the possible cause, when i am monitoring the velocity at the inlet (inlet is an opening boundary with u=0.5 sinwt) it is not sinusoidal neither.


but then if i use the moving wall at the inlet i am not sure from acoustic point of view what kind of reflection we will have in the lnlet. when i am using opening with specified velocity it is velocity unti-node and wall is velocity node so it must create one quarter wave length standing wave in the domain. but using the moving wall in the inlet and fixed wall at the outlet, which Independence will create?
Attached Images
File Type: jpg case 8_velocity.jpg (44.4 KB, 8 views)

Last edited by Mina_Shahi; April 20, 2015 at 10:27.
Mina_Shahi is offline   Reply With Quote

Old   April 20, 2015, 09:05
Default
  #17
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15
Mina_Shahi is on a distinguished road
Also in the starting of the solver, i have this message

+--------------------------------------------------------------------+
| Reference Pressure Information |
+--------------------------------------------------------------------+

Domain Group: BODY

This is a transient run with at least one compressible fluid
and no boundary pressure set. The pressure level is set
through the transient term in the continuity equation.
To accelerate convergence, the pressure level will also be
shifted dynamically to satisfy global mass conservation.


could it be the cause for creating non- zero mean pressure in the domain?
Mina_Shahi is offline   Reply With Quote

Old   April 20, 2015, 09:44
Default
  #18
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
If you have a non-closed system with a compressible fluid, you are always better off using a pressure (decide if total or static based on boundary condition guidelines) based boundary condition. Otherwise, you may have an ill-posed problem.

The software is warning you about it, and taking some corrective action. I rather be explicit if possible than leaving it to chance.
Opaque is offline   Reply With Quote

Old   April 20, 2015, 09:58
Default
  #19
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15
Mina_Shahi is on a distinguished road
Quote:
Originally Posted by Opaque View Post
If you have a non-closed system with a compressible fluid, you are always better off using a pressure (decide if total or static based on boundary condition guidelines) based boundary condition. Otherwise, you may have an ill-posed problem.

The software is warning you about it, and taking some corrective action. I rather be explicit if possible than leaving it to chance.
Thank you for your reply,
well i am not using a pressure based boundary condition, i am giving the velocity in inflow and wall at outlet boundary. however in the basic setting i am giving the reference pressure which is 1 bar.
i don't know how to get rid of this warning. I guess (not sure) that this may be a reason for having a pressure drift when i am monitoring the pressure in the domain.
Mina_Shahi is offline   Reply With Quote

Old   April 23, 2015, 09:18
Default
  #20
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15
Mina_Shahi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
If it is convergence it will be the imbalances which are better convergence criteria then the residuals. So I would recommend activating the imbalances as a convergence criteria. But if you are converging to 1e-9 then it does not sound like convergence.

I suspect your inlet velocity BC is the cause. I suspect the reflected wave is not interacting with the boundary condition in the manner you expect. This means that initially the inlet pushes air into the domain, but when the reflected wave hits the inlet it is not behaving as expected and this leaves you with a residual positive pressure due to the initial flow. Just a guess, but it sounds plausible.

You might need to be more realistic with your inlet boundary. Either use a wall and moving mesh, or expand the inlet out to a far field condition and apply the inlet boundary at a far field.
what if instead of expand the inlet out to a far field condition, i expand the outlet (wall in this case) to the far field, and instead of wall use the outlet condition with zero relative pressure.
the channel originaly has velocity unti-node in inlet and velocity node at the end. if i use the domain which is two times longer and use the outlet instead of wall, it will be velocity unti-node, velocity unti-node at both ends so i suppose in the middle (which is in reality a wall) i get the velocity node as of in the original case.
Mina_Shahi 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
Convergence Centurion2011 FLUENT 48 June 14, 2022 23:29
grid dependancy gueynard a. Main CFD Forum 19 June 27, 2014 21:22
Laminar gas flow under slight suction - transient works but not steady audrey CFX 1 September 8, 2011 19:43
Transient Simulation of Oscillating Pressure Waves ylm054 CFX 1 December 4, 2009 05:02
Transient Simulation of oscillating pressure waves ylm054 CFX 0 December 2, 2009 22:20


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