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

TopoChanger with LAR in interDyMFoam for piston cylinder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2023, 06:30
Default TopoChanger with LAR in interDyMFoam for piston cylinder
  #1
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 79
Rep Power: 6
2538sukham is on a distinguished road
Greetings.

I am simulating a piston cylinder assembly using foamExtend3.2 by modifying topochangerFvMesh class linearValveLayersFvMesh removing the sliding and attach/detach. On a 2D geometry which is pure Hex mesh created by blockMesh, the interface capturing is ok as seen in figure topoChanging2D.

solver : interDyMFoam

The problem arises in 3D model where the interface is wiggling resulting in unphysical interface as shown in the next figure. This unphysical behavior occurs when the interface compression is set to 1 and the error amplifies with increase in the cAlpha. Changing the fvSchemes is of no help. I believe this has to do with the VoF on topoChanging meshes with layer addition/removal.

My question:
1. Is it better to use the dynamicFvMesh solver such as displacementLaplacian to move the patch i.e. the piston and ten map it to a new mesh and continue? This will increase the simulation time. If so, how to proceed with this? (Like the movingCone simulation in OpenFOAM v11 meshToMesh) .

2. The simulation works fine until the time reaches a certain value after which the interface starts wiggling. How do I quantify the error involved? (e.g. plotting the pressure before and after topoChange maybe?)

checkMesh report is attached.
The linearPistonLayersFvMesh.C used for the topology change is attached.


With regards!
Attached Images
File Type: jpg topoChanging2D.jpg (40.7 KB, 12 views)
File Type: jpg topoChanging3D.jpg (26.7 KB, 8 views)
File Type: jpg 1.45iso.jpg (27.9 KB, 9 views)
Attached Files
File Type: c linearPistonLayersFvMesh.C (8.2 KB, 1 views)
2538sukham is offline   Reply With Quote

Reply

Tags
multiphase, topochanging


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
How to implement time-varying boundary conditions in an enclosed cylinder Alejandro-FA OpenFOAM Pre-Processing 0 May 14, 2020 06:29
Oscillating cylinder in still water - interDyMFoam error kl1812 OpenFOAM Running, Solving & CFD 2 May 9, 2016 05:10
Drag force coefficient too high for a flow past a cylinder using komega sst Scabbard OpenFOAM Running, Solving & CFD 37 March 21, 2016 16:16
Forces Acting on a Rotating Cylinder (Moving Mesh) dreamchaser CFX 5 April 25, 2015 06:01
[blockMesh] Specifying boundary faces failes in blockMesh blaise OpenFOAM Meshing & Mesh Conversion 0 May 10, 2010 03:56


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