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

interDyMFoam in foamExtend 3.2 layer removal flux correction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2022, 03:12
Default interDyMFoam in foamExtend 3.2 layer removal flux correction
  #1
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 79
Rep Power: 6
2538sukham is on a distinguished road
The geometry is of a cylinder with an outlet where the piston wall moves according to a given acceleration. The simulation doesnt crash. However the interface is smeared completely on the curved side when the time goes beyond 1.3s . Can numerics in the fvScheme and fvSolutions solve this? I tried first order accurate numerics but the problem persist. Hope someone could shed a light on the matter. The dynamic mesh strategy is layer addition/removal which is basically the same as linearValveLayersFvMesh but without the sliding and attach/dettach. I have a feeling it is the layer removal that is causing the issue here. I tried 2D simulations which worked fine with Co limited to 0.5.
Attached Images
File Type: jpg 1s flow.jpg (29.2 KB, 17 views)
File Type: jpg 1.42s flow.jpg (28.6 KB, 22 views)

Last edited by 2538sukham; June 16, 2022 at 04:47. Reason: Some vital info missing
2538sukham is offline   Reply With Quote

Old   June 16, 2022, 04:50
Default
  #2
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 79
Rep Power: 6
2538sukham is on a distinguished road
I will see if slip boundary condition on the curved wall can solve the issue. I will update it once it is done. It is a laminar case and the mesh qualify is quite fine.
With regards
Quote:
Time = 0

Mesh stats
points: 250971
faces: 723747
internal faces: 686931
cells: 236596
faces per cell: 5.962391587
boundary patches: 6
point zones: 0
face zones: 0
cell zones: 0

Overall number of cells of each type:
hexahedra: 227698
prisms: 8886
wedges: 0
pyramids: 0
tet wedges: 0
tetrahedra: 0
polyhedra: 12
Breakdown of polyhedra by number of faces:
faces number of cells
5 12

Checking topology...
Boundary definition OK.
Cell to face addressing OK.
Point usage OK.
Upper triangular ordering OK.
Face vertices OK.
Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces...
Patch Faces Points Surface topology
movingWall 644 681 ok (non-closed singly connected)
axisymmetricWall 14808 15227 ok (non-closed singly connected)
endWall 644 681 ok (non-closed singly connected)
outlet 74 86 ok (non-closed singly connected)
outletWall 224 266 ok (non-closed singly connected)
slipWall 20422 20852 ok (non-closed singly connected)

Checking geometry...
Overall domain bounding box (-2.820619714e-18 -1.220390009e-05 -0.02539999969) (0.4571999907 0.02539999929 0.03999999911)
Mesh has 3 geometric (non-empty/wedge) directions (1 1 1)
Mesh has 3 solution (non-empty) directions (1 1 1)
Boundary openness (-1.640392498e-17 -4.077182065e-14 2.856011275e-16) OK.
Max cell openness = 3.306403551e-16 OK.
Max aspect ratio = 3.738211928 OK.
Minimum face area = 5.254412515e-07. Maximum face area = 2.822238269e-06. Face area magnitudes OK.
Min volume = 4.946108036e-10. Max volume = 3.017000178e-09. Total volume = 0.0004643142593. Cell volumes OK.
Mesh non-orthogonality Max: 54.42242443 average: 2.448434327
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.6262472254 OK.
Coupled point location match (average 0) OK.

Mesh OK.

End
Attached Images
File Type: jpg mesh.jpg (67.5 KB, 6 views)

Last edited by 2538sukham; June 16, 2022 at 06:09. Reason: Mesh data is included
2538sukham is offline   Reply With Quote

Old   June 23, 2022, 05:43
Default
  #3
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 79
Rep Power: 6
2538sukham is on a distinguished road
Well slip BC doesnt have much differences. Checking with interface compression cAlpha 0 to see if the problem is in the compression. If this fails, I think I will be lost in words .
2538sukham is offline   Reply With Quote

Old   June 30, 2022, 11:48
Default
  #4
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 79
Rep Power: 6
2538sukham is on a distinguished road
Well when cAlpha is 0 i.e. without interface compression the flow is fine but its too diffusive. The image is attached. For now, I am producing the result from paraFoam -nativeReader with contour of alpha1 0.5. It is comparable to Aboudi et.al 2011 for high pressure die casting. Interface compression with topologically removing cells results in wiggles at the interface. Without the interface compression it is too much smeared. I don't know if CLSVOF which couples level set with classical VoF will be helpful in getting sharp interface. Any one can shed some light on this matter. I will try 0.5 cAlpha and see if the wiggles still persist.
Attached Images
File Type: jpg 1.37scAlpha0.jpg (24.7 KB, 12 views)

Last edited by 2538sukham; June 30, 2022 at 11:50. Reason: Image was not attached.
2538sukham is offline   Reply With Quote

Old   October 5, 2022, 12:44
Default
  #5
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 79
Rep Power: 6
2538sukham is on a distinguished road
I am still lost. The fluid interface is wiggling near the top end of the cylinder. smoothing the mesh might be the solution but it will be in the expense of the mesh being too fine. Geometrical reconstruction might be the solution but with topo change, it seems quite a challenging task.
2538sukham is offline   Reply With Quote

Old   October 6, 2022, 03:17
Default
  #6
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 79
Rep Power: 6
2538sukham is on a distinguished road
Found that WRAFTS code and flow3D is mainly used for high pressure die casting and shot sleeve wave dynamics. Is this something which will be really difficult in OpenFOAM?? All suggestions are welcomed
2538sukham is offline   Reply With Quote

Reply

Tags
interdymfoam, topology change


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
[snappyHexMesh] Boundary layer generation problems ivan_cozza OpenFOAM Meshing & Mesh Conversion 0 October 6, 2010 13:47
layer removal only- OpenFOAM-1.5-dev phsieh2005 OpenFOAM Running, Solving & CFD 0 July 2, 2010 05:57
engine-mesh, layer removal? koreapostdoc OpenFOAM Running, Solving & CFD 1 October 20, 2009 03:22
How to use the engine solvers with layer addition and removal francesco OpenFOAM Running, Solving & CFD 2 March 19, 2009 03:29
errors Fahad Main CFD Forum 0 March 23, 2004 13:20


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