CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Is 2D axisymmetric interFoam accurate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2019, 11:55
Default Is 2D axisymmetric interFoam accurate
  #1
Member
 
Bill Lasher
Join Date: Jun 2009
Posts: 36
Rep Power: 17
lasherwc is on a distinguished road
I'm solving a problem involving injection of a highly viscous fluid into a container. I've modeled the problem as 3D and I'm getting good results. When I modeled it as a 2D axisymmetric problem the solution is different. I've attached pics of both simulations.

The axisymmetric problem is a 5 degree wedge with one cell in the thickness direction and wedge boundary conditions.

My question is, is this accurate in interFoam? There will be curvature in the thickness direction and I don't think a 2D simulation will pick that up, thus no theta surface tension. Am I heading in the right direction?
Attached Images
File Type: jpg 3d2_4.jpg (20.4 KB, 121 views)
File Type: jpg axi2_4.jpg (20.4 KB, 112 views)
lasherwc is offline   Reply With Quote

Old   July 26, 2020, 23:03
Default
  #2
Member
 
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 15
frantov is on a distinguished road
did you solve this problem? Im also finding some issues along the axis when using axisymmetry for InterFoam

You may need to delete one of the boundaries in the polymesh/boundary file
frantov is offline   Reply With Quote

Old   July 31, 2020, 18:27
Default
  #3
Member
 
Bill Lasher
Join Date: Jun 2009
Posts: 36
Rep Power: 17
lasherwc is on a distinguished road
No, I was not able to fix the problem. What boundary should be deleted? I have a few walls, an inlet, an atmospheric outlet, symmetry line, and two wedge patches.
lasherwc is offline   Reply With Quote

Old   November 10, 2020, 13:58
Default
  #4
Senior Member
 
acalado's Avatar
 
André
Join Date: Mar 2016
Posts: 133
Rep Power: 10
acalado is on a distinguished road
Are you using GMSH? You may have to go to the polyMesh/boundary file and delete the default faces part (usually at the end of the file). Also you need to change the number of boundary patches at the top of the file from N to N-1.
__________________
Sapere aude!
acalado is offline   Reply With Quote

Old   November 10, 2020, 18:51
Default
  #5
Member
 
Bill Lasher
Join Date: Jun 2009
Posts: 36
Rep Power: 17
lasherwc is on a distinguished road
I used Blockmesh and the only faces in the boundary file are those i created and named in blockmesh. There are no default faces.
lasherwc is offline   Reply With Quote

Old   January 9, 2021, 18:58
Default
  #6
Senior Member
 
Join Date: Jul 2019
Posts: 148
Rep Power: 7
Bodo1993 is on a distinguished road
Quote:
Originally Posted by lasherwc View Post
I used Blockmesh and the only faces in the boundary file are those i created and named in blockmesh. There are no default faces.
Hi, I am wondering if you have reached any conclusions. Thanks.
Bodo1993 is offline   Reply With Quote

Old   January 9, 2021, 19:14
Default
  #7
Member
 
Bill Lasher
Join Date: Jun 2009
Posts: 36
Rep Power: 17
lasherwc is on a distinguished road
No, I have not - still wondering what's going on.
lasherwc is offline   Reply With Quote

Old   January 9, 2021, 20:29
Default
  #8
Senior Member
 
Join Date: Jul 2019
Posts: 148
Rep Power: 7
Bodo1993 is on a distinguished road
Thanks, I actually running a 2D planar and 2D axisymmetric simulations to compare the results. I did not get similar results and I am wondering of the reason. I am not quite sure of what settings should be changed, apart from the mesh/geometry, such that the two cases are comparable.

I am not an expert, but it seems from the pictures you posted that the axisymmetric model has weak inertia. Did you ensure that the velocity inlet condition is pointing in the right direction with the correct sign? Based on the pictures, it should be in the negative y.
Bodo1993 is offline   Reply With Quote

Old   January 10, 2021, 10:54
Default
  #9
Member
 
Bill Lasher
Join Date: Jun 2009
Posts: 36
Rep Power: 17
lasherwc is on a distinguished road
Hi:

A 2D simulation and an axisymmetric simulation will not yield the same results. The flows are fundamentally different - since the "thickness" of the wedge increases with radius from the axis of rotation, there is more flow area near the outside than near the center. Analytically, the equations are different.

My problem is a highly viscous fluid (think molasses although that's not what it is), so diffusion is the predominate mode of transport and convection is almost non-existent. In a full 3-D simulation there will be curvature on the outer surface and I believe surface tension will affect the results. I am theorizing that there is no theta-direction surface tension with an axisymmetric simulation, so the results will be different - just looking for confirmation.
lasherwc is offline   Reply With Quote

Old   October 22, 2021, 18:32
Default
  #10
New Member
 
Ejaz Ahmed
Join Date: May 2021
Posts: 7
Rep Power: 5
ejaz8894 is on a distinguished road
Have you been able to resolve the issue? I was doing 2D axisymmetric simulation of droplet evaporation & seeing some unphysical behaviors along the symmetry axis. I see vapor accumulation inside the droplet along the symmetry axis. I'm not sure if I have to put any special boundary condition for the symmetry axis. I've created a wedge & put the front & back surface as wedge boundary condition & other sides as wall. I have initialized the droplet center at the symmetry axis with the sphereToCell command so that it takes half of the droplet in the axisymmetric domain. I also see a notch formation from the top & bottom side of the droplet along the symmetry axis & vapor starts accumulating inside the droplet from those notches. I think the symmetry axis needs to be treated differently to resolve the issue but I'm not sure how to do that. I can share my case if you want.
ejaz8894 is offline   Reply With Quote

Old   October 22, 2021, 19:23
Default
  #11
Member
 
Bill Lasher
Join Date: Jun 2009
Posts: 36
Rep Power: 17
lasherwc is on a distinguished road
No, I have not resolved it. I don't know exactly how the axis of symmetry is used in the modeling but I haven't seen anything about specifying boundary conditions for it. If the surface of the droplet isn't being calculated correctly due to a lack of theta-direction surface tension (which is my guess as to what the problem is) then I could see a cavity possibly forming which might result in vaporization - although this is just a guess.
lasherwc is offline   Reply With Quote

Old   October 22, 2021, 19:50
Default
  #12
New Member
 
Ejaz Ahmed
Join Date: May 2021
Posts: 7
Rep Power: 5
ejaz8894 is on a distinguished road
How can I properly implement theta-direction surface tension? Currently surface tension force is being calculated based on gradient of alpha volume fraction - just the way it is implemented in InterFoam. And also, how about imposing empty boundary condition for the axis of symmetry? (refer to this link: https://openfoamwiki.net/index.php/M...s/AxiSymmetric)
ejaz8894 is offline   Reply With Quote

Old   October 22, 2021, 20:10
Default
  #13
Member
 
Bill Lasher
Join Date: Jun 2009
Posts: 36
Rep Power: 17
lasherwc is on a distinguished road
Actually I don't know how to implement anything in Openfoam. I am just learning C++ (I learned Fortran a very long time ago :-) and trying to understand how the code works. I guess you could try defining the axis as empty. I gave up on trying to solve this some time ago as the workaround was to build a 3-D model and it's a pretty unique problem.
lasherwc is offline   Reply With Quote

Reply

Tags
axisymmetric, interfoam


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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 16:26
interFoam, axisymmetric, large interface U, very small deltaT fanq OpenFOAM Running, Solving & CFD 0 October 4, 2016 23:53
interFoam (HELYX-OS) pressure boundary conditions SFr OpenFOAM Running, Solving & CFD 8 June 23, 2016 17:36
k-e & GAMG interFoam Schemitisation Stability Issue JFM OpenFOAM Running, Solving & CFD 3 December 1, 2015 06:58
Rotating tank problem using interFoam and an axisymmetric model Krishna Sandeep OpenFOAM 0 July 3, 2012 05:10


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