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

interDyMFoam - Moving face with acceleration dependent on time.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2021, 00:43
Default interDyMFoam - Moving face with acceleration dependent on time.
  #1
Member
 
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 84
Rep Power: 6
2538sukham is on a distinguished road
Hi dear Foamers.
I am trying to model the plunger for a high pressure die casting and the moving wall has an acceleration until a critical time is reached. The mesh seems to be moving fine with layer addition removal as edited from the standard linearValveTopoFvMesh by removing the slider entries.

My problems are:
1. I am confused about the boundary condition as the mesh is moving and the wall velocity is already given in the mesh movement so I gave zeroGradient on the 0/U file for the moving wall. (I saw something called make flux relative in the interDyM solver. Does that take care of the moving mesh?)
2. The alpha or the phase which is simply water is showing discrepancies near the moving wall when it accelerates.

Mesh motion strategy
Code:
forAll(patchPoints, ppI)
    {
        if(time().value() <= 1.47) 
			np[patchPoints[ppI]] += (0.04572 (exp(1.8*time().value())-1.0))*time().deltaTValue();
				
		else
			np[patchPoints[ppI]] +=vel().value(time().value())*time().deltaTValue();
    }
Even with this simple arrangement, I am not able to solve these problems

This is my first time posting a querry so please bear with me.
I am writing it in foam extend 4.1
Attached Images
File Type: bmp flow.bmp (179.7 KB, 5 views)

Last edited by 2538sukham; June 5, 2021 at 00:54. Reason: Addition of pictures
2538sukham is offline   Reply With Quote

Reply

Tags
moving mesh., topological changes


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 11:54
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 23:40
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 08:56


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