|
[Sponsors] |
September 22, 2021, 04:20 |
|
#41 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
In which point I can set the particle velocity as I am doing it after Navier-Stokes step. So in Navier-Stokes, this velocity field is used as Initial condition and the outcome of NSE is a manipulated particle velocity. |
||
September 22, 2021, 09:18 |
|
#42 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
Cheers |
||
September 22, 2021, 12:22 |
|
#43 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
I think you miss some basic point. As an example, I suppose you are aware of the panel method for solving the inviscid flow around an airfoil. You have a fictious geometry, you just distribute sources, sinks, vortex in such a way to mimic the presence of the airfoil. The resulting velocity field induced by such kind of distribution exists also inside the airfoil, you simply disregard it. So my question is: you have a solid particle and you want to study only the flow around it? If yes, you have to simply disregard any fluid variable inside the particle. You can do that also in the graphic post-processing. The only relevant issue is that you have to check the normal velocity component at the wall to ensure that mass is conserved. |
||
September 22, 2021, 19:16 |
|
#44 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
No Filippo I can't disregard it. I am calculating drag force on particle using Gauss Theorem. So, the pressure drag force is obtained using volume integral or the pressure value inside the particle. As I said, I am solving entire domain. So the pressure will have a non-zero value in the particle field. Yes I wanna study the terminal velocity of a particle settling in fluid. Therefore, in every time step I should find drag force using: So I need the values inside the particle. To this end, let's look at the images in previous post. Can you interpret for me the distribution of pressure after NSE and after imposing particle velocity? |
||
September 22, 2021, 19:33 |
|
#45 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
Sorry Arjun for bothering you again. So you don't have any pressure field inside the particle and still using Cartesian grid. A problem remains unsolved. How do you find drag force on this Cartesian grid? Using surface integral while the grid are not conforming solid body? Or volume integral which still uses inside particle values? |
||
September 23, 2021, 00:33 |
|
#46 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34 |
Quote:
Typically you would have the velocities set up at initialization stage and then immediately after the velocity and pressure correction steps. There is no references because the company where i worked is more interested in patents and this could not be patented (we had few patents related to solver but they are were about different parts). |
||
September 23, 2021, 00:35 |
|
#47 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34 |
Quote:
The drag and lift forces are found by integrating on the solid surface while the pressure is interpolated to surface grid from background cartesian (or polys) meshes. Assuming you have the solid surface grid. |
||
September 23, 2021, 00:44 |
|
#48 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
Because you said me in last post "immediately after momentum equation". I think it should be applied after momentum equation and before pressure correction or continuity as we need to have divergence free condition at the need of time step. Is it correct? |
||
September 23, 2021, 00:46 |
|
#49 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
So we no longer need to use Gauss theorem as we don't have any pressure field inside the particle. Yes? |
||
September 23, 2021, 00:50 |
|
#50 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
So Arjun. You are the only one who I found during last two years has the experience working with this algorithm. So can You please tell me how having pressure inside the solid region can be correct as I am getting correct results with this method for Newtonian cases? Cheers mate, I am thirsty to learn from you. |
||
September 23, 2021, 00:58 |
|
#51 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34 |
Quote:
You are still using Gauss theorem. In our case the solid is represented by a surface mesh, typically triangular mesh. So all we need to do is to find the values of pressure on these nodes. Then the forces are integrated by Gauss Theorem by looping over these triangles (or polys it shall not matter). NOTE that the surface grid lies on the cells where the pressure is available. The solid marking algorithm actually exchanges this information passing the velocities to the background grid while acquiring the pressure from backgroud. Not so difficult. |
||
September 23, 2021, 01:03 |
|
#52 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
Still I cant get why we need to use volume integration while all pressure gradient is happening on interface with your approach. |
||
September 23, 2021, 01:12 |
|
#53 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
Sorry mate. Can I ask you more questions? I need your opinion about a simulation using this algorithm. |
||
September 23, 2021, 01:57 |
|
#54 |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34 |
||
September 23, 2021, 01:59 |
|
#55 |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34 |
||
September 23, 2021, 02:13 |
|
#56 |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Ok. So as you told me I can follow one of following approaches:
1- Solving the momentum and pressure equations in entire domain and following Patankar's method, as I am doing now and giving me reasonable results for Newtonian cases. 2- Only solving fluid domain for pressure and enforcing the solid particle velocity after momentum equation. SO in this method we can impose any viscosity value for particle domain. OK. I think both these methods should be equivalent for a particle settling in a Newtonian fluid. But what about non-Newtonian? By non-Newtonian, I mean Herschel-Bulkley method which changes the viscosity according to strain-rate. look at these two figures: and As you see, for a rigid body, we need to know the viscosity value because it is non-Newtonian fluid and the momentum equation is solved in the entire domain. In Newtonian case it is simply solve by assuming constant fluid viscosity. So, if I wanna apply the first method, do you think this method can be used for a particle but with a high viscosity value? I mean in Patankar's method, the first step (solving NSE for intermediate velocity) with changing viscosity not only for fluid but also the solid region. Doesn't it make any problem for pressure or velocity solution? Or I have only the chance to follow second approach? This is my question. Cheers mate. |
|
September 23, 2021, 04:52 |
|
#57 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
You don't have to compute the volume integral. You have to compute the surface integral, no need to use Gauss! |
||
September 23, 2021, 20:07 |
|
#58 | |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
Quote:
Dear Filippo. Please read the following steps carefully. I hope you can help me to figure out this problem. I think from this discussion we can learn so many things. Why do you think this? We are distributing the surface pressure into the particle domain because after imposing particle velocity, the continuity is violated. So we need to solve a Poisson equation to have divergence-free condition once again. Therefore, the pressure comes inside the particle domain because of this correction. look at these figures: NSE outcome: Then imposing particle velocity: Then, having discontinuity in velocity field (divU): So need to correct velocity and pressure fields using phiIB (Poisson equation): The corrected fields are: These fields are then used for drag force calculation using Gauss theorem: The important points are: 1- pressure fields at the end of timestep are nonphysical (pressure inside the particle) but suitable for drag calculation using Gauss theorem 2- NSE tries to makes the non-zero pressure inside the particle closer to zero, so the step that makes pressure non-zero is Poisson equation for correcting discontinuity. 3- If I become able to do the correction in Poisson step in a different way, then the pressure inside the particle remains zero. Its the problem I have. I there any way? |
||
September 25, 2021, 04:09 |
|
#59 |
Senior Member
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
UDF for Automatic Solution Initialization for previous case data file | gartz89 | Fluent UDF and Scheme Programming | 6 | March 30, 2020 07:38 |
CFD analaysis of Pelton turbine | amodpanthee | CFX | 31 | April 19, 2018 18:02 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 10:00 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 06:28 |