Quote:
First of all, I suggest starting with an initial condition of uniform flow everiwhere (U= constant, V=0) and a linear pressur law along x |
Quote:
Also, are you using split A or split B formulation for time-stepping (see Zienkiewicz's book) ? |
Quote:
I am using the split A formulation for the time-stepping. According to the reference (Zienkiewicz's book), this split allows the use of equal interpolation for the shape functions in quad elements. I am using shape functions for the velocity and for the pressure with equal degrees for both. |
Quote:
[1] use a velocity/pressure element combination that satisfies BB. [2] ensure global mass conservation by adjusting the outlet velocity field such that the outlet mass flow matches the inlet mass flow. Best regards, Madhukar |
1 Attachment(s)
Quote:
It seems that I did the same simulation work. I just set the all pressure conditions as zerogradient except the outlet one is fivedvalue 0. And the velocity is uniform: U=1 and V=0 at inlet, fixed wall is zero and outlet is zerogradient. the solution as shown in pic,the left down one is the velocity at inlet and right one is the velocity at x=4. I find the velocity at the inlet is not zero but half of the inlet. I am not sure if the solution is right or not. Thank you, Wei |
Quote:
Firtst of all, I would like to thank you for your help and support. After this, I would like to mention that accorting to the reference (Zienkiewicz, chapter 3.4: Circunventing the Babuska - Brezzi restricction ), split A avoids any restriction on the nature of the two shape functions used for velocity and for pressue. As I have mentioned in an previous answer, I am using equal degree in both velocity shape functions and pressure shape functions. According to this reference: A finite element formulation for the Stokes problem allowing equal velocity-pressure interpolation. Ramon Codina - Jordi Blasco. Comput. Methods Appl. Mech. Engrg 143 (1997) 373 - 391, the use of equal velocity interpolation can be used in the CBS scheme algorithm. Consequently, a doubt arises to me at this point. If according to Zienkiewicz and Codina/Blasco this type of interpolation functions are feasible, why are they failing in my case? Kind regards. |
Quote:
I would like bring up the following question. Are you using the same algorithm than me for carrying this simulation? What I would like to know if you are using the CBS algorithm for the finite element method. Best regards, |
Quote:
I used the OpenFoam to simulate the flow, as we know ,the OpenFoam is basically on FV method,I adopted the icoFoam to do that, so I am not sure this information may help you on FEM. yours, Wei |
Quote:
Assuming that you wrote your own code, you can check the results against one of the freely available open source codes. Best regards, Madhukar |
1 Attachment(s)
Quote:
After struggling with the code, I discovered a bug in my code when assembling the force terms in the CBS Algorithm. The force term were correctly calculated, but the assembly utility failed to assemble the forces from each element. Once I have fixed this bug, I have re-run the test case. I am enclosing the results I have obtained. It appears to me that this are miles better than the ones I had previously got. What's your impression about these new results? I have also updated the results for the lid driven cavity flow. You can take a look at them in the following link: https://sites.google.com/site/hector.../cfd-example-1 I would like to thank all of you for your kind help and support. Thank you very much!!! Best regards, Hector Redal |
All times are GMT -4. The time now is 19:34. |