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

how the velocity and pressure are coupled

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2024, 09:39
Default how the velocity and pressure are coupled
  #1
Member
 
Evelyn
Join Date: Mar 2021
Posts: 32
Rep Power: 5
Yanlu is on a distinguished road
Hello everyone, I am curious about how the velocity and pressure are coupled in ANSYS CFX. Can I change to other solutions? When I verified the mesh independence, I found that after the number of my meshes increased, the pressure changed significantly, while the velocity and flow rate did not have a big effect. I want to know why this is the case.
__________________
biofluid mechanics;Hemodynamics
Yanlu is offline   Reply With Quote

Old   June 28, 2024, 22:48
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,822
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
In CFX the pressure-velocity coupling is inside the matrix, as it is a coupled solver. In other words, the velocity and pressure equations are all solved in the same matrix. This means no coupling step needs to be done, it is taken care of.

You cannot turn this off in CFX and use an uncoupled approach (eg SIMPLE). If you want to try an uncoupled approach you will need to use Fluent, StarCD or a different solver.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 29, 2024, 00:00
Default
  #3
Member
 
Evelyn
Join Date: Mar 2021
Posts: 32
Rep Power: 5
Yanlu is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
In CFX the pressure-velocity coupling is inside the matrix, as it is a coupled solver. In other words, the velocity and pressure equations are all solved in the same matrix. This means no coupling step needs to be done, it is taken care of.

You cannot turn this off in CFX and use an uncoupled approach (eg SIMPLE). If you want to try an uncoupled approach you will need to use Fluent, StarCD or a different solver.
Thank you for your answer. So how should I adjust it when my pressure distribution is abnormal? In my three cases, the only difference is the mesh size, and the rest of the settings are the same.
__________________
biofluid mechanics;Hemodynamics
Yanlu is offline   Reply With Quote

Old   June 29, 2024, 00:16
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,822
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Then it sounds like your mesh is too coarse, you need to refine it further. For some general tips see FAQ: https://www.cfd-online.com/Wiki/Ansy..._inaccurate.3F
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 29, 2024, 00:22
Default
  #5
Member
 
Evelyn
Join Date: Mar 2021
Posts: 32
Rep Power: 5
Yanlu is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Then it sounds like your mesh is too coarse, you need to refine it further. For some general tips see FAQ: https://www.cfd-online.com/Wiki/Ansy..._inaccurate.3F
In fact, my velocity, flow rate, and wall shear stress are all consistent. And the convergence performance of the three grids is excellent. However, the average outlet pressure I monitor is not just a numerical increase or decrease, but a change in distribution trend. So I am wondering whether the pressure is automatically corrected during the coupling of velocity and pressure. Why does the pressure have a different trend when my velocity remains unchanged?
__________________
biofluid mechanics;Hemodynamics
Yanlu is offline   Reply With Quote

Old   June 29, 2024, 00:31
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,822
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Pressure changes can be caused by very small changes in the velocity field in some cases.

Can you post images of what you are seeing, including something which shows the problem you are having, your geometry and attach 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   June 29, 2024, 06:45
Default
  #7
Member
 
Evelyn
Join Date: Mar 2021
Posts: 32
Rep Power: 5
Yanlu is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Pressure changes can be caused by very small changes in the velocity field in some cases.

Can you post images of what you are seeing, including something which shows the problem you are having, your geometry and attach your output file.
I have added my grid diagram and the monitoring curves of the three sets of results. You can see that the pressure trends are very different. As for the out file, it is too large and the website does not support uploading.

90W.jpg

160W.jpg

371W.jpg

Mesh.jpg
__________________
biofluid mechanics;Hemodynamics
Yanlu is offline   Reply With Quote

Old   June 29, 2024, 06:52
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,822
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The website does support uploading, it just has a maximum file size. The CCL section at the top of the output file is the most important bit, cut that out and post that as an attachment please.

Thanks for the image of your geometry, but I have no idea what those graphs are showing. You will have to explain what we are looking at.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 29, 2024, 07:34
Default
  #9
Member
 
Evelyn
Join Date: Mar 2021
Posts: 32
Rep Power: 5
Yanlu is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
The website does support uploading, it just has a maximum file size. The CCL section at the top of the output file is the most important bit, cut that out and post that as an attachment please.

Thanks for the image of your geometry, but I have no idea what those graphs are showing. You will have to explain what we are looking at.
There is a picture showing my geometry and meshing strategy. The other three pictures are the test results of three different meshes, including the average pressure, average velocity and flow distribution at the inlet and outlets, and the wall shear stress of the total wall. I hope to use the wall shear stress to verify the mesh independence. However, as shown in these figures, my pressure distribution varies greatly.
__________________
biofluid mechanics;Hemodynamics

Last edited by Yanlu; June 29, 2024 at 23:38.
Yanlu is offline   Reply With Quote

Old   June 29, 2024, 08:12
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,822
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I see from your CCL that this is a transient model, you have complex functions controlling some boundary conditions and the fluid is blood, which you model as non-Newtonian. How are we expected to help you when you don't even tell us these critical and basic information?

Please explain what you are doing, what you are modelling, how you are modelling it and what the problem you are getting is. Your previous post shows many charts but I have no idea what any of them mean. I see your geometry and mesh, but what are the boundary conditions you are using on it?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 29, 2024, 08:27
Default
  #11
Member
 
Evelyn
Join Date: Mar 2021
Posts: 32
Rep Power: 5
Yanlu is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
I see from your CCL that this is a transient model, you have complex functions controlling some boundary conditions and the fluid is blood, which you model as non-Newtonian. How are we expected to help you when you don't even tell us these critical and basic information?

Please explain what you are doing, what you are modelling, how you are modelling it and what the problem you are getting is. Your previous post shows many charts but I have no idea what any of them mean. I see your geometry and mesh, but what are the boundary conditions you are using on it?
Hello, in my last reply which contains the ccl file, I have explained in detail the four pictures I uploaded before. My simulation is an ideal model of the human vertebral artery. It is a transient simulation, the inlet is a periodic flow inlet, and the outlet condition is related to the pressure and mass flow of the last timestep. For more specific numerical boundaries, please refer to my previously published paper: https://doi.org/10.1063/5.0206906
The simulation in my paper and the new simulation I am having problems with now only modified the geometric model and the inlet flow, but now I have encountered such a problem. I am still looking for why the problem occurs.
__________________
biofluid mechanics;Hemodynamics
Yanlu is offline   Reply With Quote

Old   June 29, 2024, 18:51
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,822
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
OK, so back to your original question - if the pressure distribution at the outlet is important to you and it is changing with mesh refinement, then you need to do a mesh refinement study to refine it further until you get a mesh independent solution. The fact that other parameters are stable is good, but until all parameters of interest are stable then you have not achieved mesh independence.

Note that as you refine the mesh you will need to change the time step as well. The easiest way to handle this is to use adaptive time stepping, homing in on 3-5 coeff loops per iteration. Then the solver will find its own time step size.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 29, 2024, 23:34
Default
  #13
Member
 
Evelyn
Join Date: Mar 2021
Posts: 32
Rep Power: 5
Yanlu is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
OK, so back to your original question - if the pressure distribution at the outlet is important to you and it is changing with mesh refinement, then you need to do a mesh refinement study to refine it further until you get a mesh independent solution. The fact that other parameters are stable is good, but until all parameters of interest are stable then you have not achieved mesh independence.

Note that as you refine the mesh you will need to change the time step as well. The easiest way to handle this is to use adaptive time stepping, homing in on 3-5 coeff loops per iteration. Then the solver will find its own time step size.
Can you explain how to set the adaptive time step?
__________________
biofluid mechanics;Hemodynamics
Yanlu is offline   Reply With Quote

Old   June 30, 2024, 04:31
Default
  #14
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,822
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It is in the time step settings, when you choose between a steady state and transient simulation. When you select a transient simulation it is one of the time step options.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 30, 2024, 05:48
Default
  #15
Member
 
Evelyn
Join Date: Mar 2021
Posts: 32
Rep Power: 5
Yanlu is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
It is in the time step settings, when you choose between a steady state and transient simulation. When you select a transient simulation it is one of the time step options.
I found this setting and I will try to use it. Thank you!
__________________
biofluid mechanics;Hemodynamics
Yanlu 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
obtain velocity from pressure profile Deep111090 OpenFOAM Running, Solving & CFD 18 July 15, 2023 07:41
divergence error in pressure termal couple rezvani Fluent UDF and Scheme Programming 6 January 27, 2021 23:54
Porous zone - setup of lab air tunnel - velocity v's pressure drop RobertW FLUENT 1 May 26, 2020 09:27
Difficulty in calculating angular velocity of Savonius turbine simulation alfaruk CFX 14 March 17, 2017 06:08
Variables Definition in CFX Solver 5.6 R P CFX 2 October 26, 2004 02:13


All times are GMT -4. The time now is 15:46.