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

Translational periodic boundary condition(2nd stokes problem)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2021, 05:07
Question Translational periodic boundary condition(2nd stokes problem)
  #1
New Member
 
Amin
Join Date: Dec 2021
Posts: 20
Rep Power: 4
maba is on a distinguished road
Hi every one.
I am simulating turbulent oscillating flow over flat plate. I started with laminar oscillating flow(2nd stokes problem) that has an analytical solution, and to check if the setup works. The domain is a rectangle, with the translational periodic boundary condition in stream-wise direction, wall at the bottom, and symmetry at the top. The domain is 40 stokes length in stream wise and 200 stokes length normal to flow. There is a harmonic pressure gradient in flow direction to make flow oscillate with prescribed frequency. The number of time steps per period is 720. The residuals are less than 10^-5 during simulation, but The result differ from analytical solution. What is the problem? What did I forget?

Last edited by maba; December 14, 2021 at 05:18.
maba is offline   Reply With Quote

Old   December 13, 2021, 16:41
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,712
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Looks like an FAQ to me: https://www.cfd-online.com/Wiki/Ansy..._inaccurate.3F

The big one most people forget to do is: Have you done sensitivity studies on your time step size, mesh size, domain size and convergence criteria?

If you want us to be more specific, you will need to show details of what results you are getting and what results you expect, and how you modelled it (post an image of your domain and mesh, 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   December 14, 2021, 04:42
Default
  #3
New Member
 
Amin
Join Date: Dec 2021
Posts: 20
Rep Power: 4
maba is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Looks like an FAQ to me: https://www.cfd-online.com/Wiki/Ansy..._inaccurate.3F

The big one most people forget to do is: Have you done sensitivity studies on your time step size, mesh size, domain size and convergence criteria?

If you want us to be more specific, you will need to show details of what results you are getting and what results you expect, and how you modelled it (post an image of your domain and mesh, and the output file).
Thank you for your answer Glenn.
Yes, I have done sensitivity analysis for time step and mesh size. I reduced the residual target(rms) to 10^-6, but the result didn't change. I continued the solution for 70 period of oscillation, it didn't help.
When I tried to get the analytical results with turbulence model, it became even worse. The wall shear stress became zero!(The model was k-epsilon)
The mesh and velocity profile is attached.
Attached Images
File Type: jpg comparison.jpg (48.5 KB, 19 views)
File Type: png mesh.png (14.3 KB, 15 views)
File Type: png profile.png (18.9 KB, 12 views)
maba is offline   Reply With Quote

Old   December 14, 2021, 05:22
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,712
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Can you upload your 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   December 14, 2021, 08:39
Default
  #5
Senior Member
 
Join Date: Jun 2009
Posts: 1,810
Rep Power: 32
Opaque will become famous soon enough
It would be great to compare the analytical solution setup, i.e. exact boundary conditions, and the Ansys CFX setup.

Differences around the moving wall could be explained by mesh sensitivity, but the far-field velocity is way off. That is a sign of different boundary conditions at the top boundary.

As Glenn suggested, we need more information.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is online now   Reply With Quote

Old   December 14, 2021, 16:23
Default
  #6
New Member
 
Amin
Join Date: Dec 2021
Posts: 20
Rep Power: 4
maba is on a distinguished road
Quote:
Originally Posted by Opaque View Post
It would be great to compare the analytical solution setup, i.e. exact boundary conditions, and the Ansys CFX setup.

Differences around the moving wall could be explained by mesh sensitivity, but the far-field velocity is way off. That is a sign of different boundary conditions at the top boundary.

As Glenn suggested, we need more information.
Thank you for your answer. In analytical solution, we have free stream flow top of the boundary layer. So I moved the top boundary condition up to BC not to affect the boundary layer. The boundary layer thickness is about 4 mm, and the domain height is 200 mm. What else can be done?

That's the output file link. It would be great if you could look at it.

https://drive.google.com/file/d/1ida...ew?usp=sharing

Quote:
Originally Posted by ghorrocks View Post
Can you upload your output file?

Last edited by maba; December 14, 2021 at 18:30.
maba is offline   Reply With Quote

Old   December 14, 2021, 16:43
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,712
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your linked file is the results file. I don't have time to go through that. Just upload the text output file please.

Also, I thought Stokes second problem was oscillating flow between two plates, meaning that you can assume symmetry in the middle. You appear to have it transitioning to free stream. Is this what you intended?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   December 14, 2021, 18:40
Default
  #8
Senior Member
 
Join Date: Jun 2009
Posts: 1,810
Rep Power: 32
Opaque will become famous soon enough
Quote:
Originally Posted by maba View Post
Thank you for your answer. In analytical solution, we have free stream flow top of the boundary layer. So I moved the top boundary condition up to BC not to affect the boundary layer. The boundary layer thickness is about 4 mm, and the domain height is 200 mm. What else can be done?
Effectively you are not solving the same problem, but an approximation of it; therefore, the current differences are inconclusive of the quality of the solution.

As I always suggest in the forum, write the mathematical model using equations (not plain English) used for the analytical solution, post it and let us see/compare it to an equivalent Ansys CFX model. By waving approximations we will not be able to help you narrow down the source of the differences.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is online now   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
Turbomachinery Mass imbalance sheaker CFX 12 September 5, 2019 08:09
Translational Periodic Boundary Conditions HeatTransferFan CFX 19 December 12, 2016 11:15
Translational Periodic BC Problem scoobysimon FLUENT 2 February 11, 2014 09:14
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Periodic flow boundary condition problem sudha FLUENT 3 April 28, 2004 08:40


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