Hello everyone,
I am new to the OpenFoam and FreeCAD CfdOF community. I am working on a project where I have to study the aerodynamics of cornering of an Ahmed body but since I am just starting with OpenFoam I decided to first simulate a straight line case to familiarize myself with OF.
The problem I am facing right now is with the residuals. After some time my residuals become flat and don't decrease at all, this is especially the case for the pressure residual as you can see in the photo below. I am aware that residuals are not the sole indicator of accuracy of the results and I have also monitored lift and drag coefficients but they also seem to be somewhat off from the experimental results in the literature. I have used cfmesh for the case which is attached to the post.
Below are the BCs and initial conditions that have used:
Inlet: Velocity inlet v=40 m/s
Outlet: Pressure outlet P=0 Pa
Domain walls (top and left side): Slip
Ground: No slip
Right wall: Symmetry
Car body: No-slip
Initial conditions for velocity and pressure are set to potential flow. The flow is turbulent and RANS SST k-omega is used.
I would appreciate any help that would node me in the right direction.
Ahmed body simulation on a straight line (Steady-State)
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Ahmed body simulation on a straight line (Steady-State)
- Attachments
-
- ahmed_body_sym.FCStd
- Simulation file
- (73 KiB) Downloaded 54 times
- Raedchen_im_System
- Posts: 95
- Joined: Sun Oct 27, 2019 5:22 pm
- Location: In der Nähe von Stuttgart
- Contact:
Re: Ahmed body simulation on a straight line (Steady-State)
hi @AMR96,
after I meshed your model, I ran the function "check mesh":
The "check mesh" function gave me 4 areas where mesh was not OK. The area where problems with meshing occured is the area under the body:
The root cause of the mesh error is that the meshing function has changed. Currently, you define a mesh refinement of 0.5 on the surface which is equal to the mesh refinement via the extra body. You should change the mesh refinement on the surface to 0.25. In this post, you will please find a solution for your problem: viewtopic.php?p=652814#p652814
after I meshed your model, I ran the function "check mesh":
The "check mesh" function gave me 4 areas where mesh was not OK. The area where problems with meshing occured is the area under the body:
The root cause of the mesh error is that the meshing function has changed. Currently, you define a mesh refinement of 0.5 on the surface which is equal to the mesh refinement via the extra body. You should change the mesh refinement on the surface to 0.25. In this post, you will please find a solution for your problem: viewtopic.php?p=652814#p652814
Re: Ahmed body simulation on a straight line (Steady-State)
Thanks for your reply @Raedchen_im_System. I tried what you suggested but when I click on check mesh, I get the following error at the end ''3 mesh checks failed''. However, the ground is now meshed as in the picture. Could this be due to the contact between the underside cylinders and the enclosure?Raedchen_im_System wrote: ↑Tue Mar 21, 2023 9:27 pm hi @AMR96,
after I meshed your model, I ran the function "check mesh":
check_mesh.jpg
The "check mesh" function gave me 4 areas where mesh was not OK. The area where problems with meshing occured is the area under the body:
area not meshed.JPG
The root cause of the mesh error is that the meshing function has changed. Currently, you define a mesh refinement of 0.5 on the surface which is equal to the mesh refinement via the extra body. You should change the mesh refinement on the surface to 0.25. In this post, you will please find a solution for your problem: viewtopic.php?p=652814#p652814
- Raedchen_im_System
- Posts: 95
- Joined: Sun Oct 27, 2019 5:22 pm
- Location: In der Nähe von Stuttgart
- Contact:
Re: Ahmed body simulation on a straight line (Steady-State)
Hello @AMR96
when I look into into your model, it looks like CfMesh has an issue with the 2 intersecting fillets:
As far as I know, the "checkMesh" - function in the mesher of CfdOf indicates that your mesh has issues, but it does not show you these issues in the 3D-view. My proposal would be to change the fillets
when I look into into your model, it looks like CfMesh has an issue with the 2 intersecting fillets:
As far as I know, the "checkMesh" - function in the mesher of CfdOf indicates that your mesh has issues, but it does not show you these issues in the 3D-view. My proposal would be to change the fillets