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

moving wall

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By cctv

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2013, 17:59
Default moving wall
  #1
Member
 
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 12
cctv is on a distinguished road
Hi
I am wondering if there is a method to move the boundary at a specified speed and change the mesh automatically in openFoam. I mean the most side wall move, not a solid body in liquid. In that case, the whole simulation domain would change, not partial domain.(something like piston moving in the vessel). I know a solver named icoDymFoam could address body moving in liquid issues, but I don't know if it could be used to simulate the situation I described above. if so, how to. If not, if there exists any other methods to fullfill it.
Thank you.
cctv is offline   Reply With Quote

Old   July 5, 2013, 04:28
Default
  #2
Member
 
Nicklas Linder
Join Date: Jul 2012
Location: Germany
Posts: 35
Rep Power: 13
nlinder is on a distinguished road
Hi,

do you know this tutorial?
Code:
OpenFOAM-2.2.x/tutorials/incompressible/pimpleDyMFoam/movingCone
Is that what you are looking for?

Greetings
Nicklas
nlinder is offline   Reply With Quote

Old   July 5, 2013, 06:36
Default
  #3
Member
 
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 12
cctv is on a distinguished road
Quote:
Originally Posted by nlinder View Post
Hi,

do you know this tutorial?
Code:
OpenFOAM-2.2.x/tutorials/incompressible/pimpleDyMFoam/movingCone
Is that what you are looking for?

Greetings
Nicklas
Yes, I know this,but this is a solide body in the liquid. Not what I want. I need, for example, the inlet boundary moving.
cctv is offline   Reply With Quote

Old   July 5, 2013, 07:14
Default
  #4
Member
 
Nicklas Linder
Join Date: Jul 2012
Location: Germany
Posts: 35
Rep Power: 13
nlinder is on a distinguished road
Yes, but don't you just need to apply the pointMotionU to whatever boundary you want?
nlinder is offline   Reply With Quote

Old   July 5, 2013, 08:30
Default
  #5
Member
 
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 12
cctv is on a distinguished road
Quote:
Originally Posted by nlinder View Post
Yes, but don't you just need to apply the pointMotionU to whatever boundary you want?
Yes,though the boundary moved, the result is not correct. Have you ever tried before? e.g. I want no body in liquid and the most left boundary move at a specified speed? In addition, this case is dynamic mesh with cell compressed, how about with layer addition and removal?
Thanks.
cctv is offline   Reply With Quote

Old   July 5, 2013, 08:46
Default
  #6
Member
 
Nicklas Linder
Join Date: Jul 2012
Location: Germany
Posts: 35
Rep Power: 13
nlinder is on a distinguished road
I use this procedure to move a boundary. Basically I compress the fluid between two plates. My moving boundary is a solid, but not embedded in fluid. I just thought that it would work the same way for any other boundary. I don't know what boundaries you set therefore I cannot say if it will work for your case. Also if you say the results are not correct it's difficult to help.. You need to be more precise..

Greetings
nlinder is offline   Reply With Quote

Old   July 5, 2013, 12:16
Default
  #7
Member
 
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 12
cctv is on a distinguished road
Quote:
Originally Posted by nlinder View Post
I use this procedure to move a boundary. Basically I compress the fluid between two plates. My moving boundary is a solid, but not embedded in fluid. I just thought that it would work the same way for any other boundary. I don't know what boundaries you set therefore I cannot say if it will work for your case. Also if you say the results are not correct it's difficult to help.. You need to be more precise..

Greetings
Would you please have a look at it and see anything wrong in it?
In addition, I am wondering how to specified the motion of the boundary and is there a way to address boundary wall motion with layer addition and removal way?
Thanks.
Attached Files
File Type: zip movingBoundary.zip (9.0 KB, 88 views)
cctv is offline   Reply With Quote

Old   July 9, 2013, 10:49
Default
  #8
Member
 
Nicklas Linder
Join Date: Jul 2012
Location: Germany
Posts: 35
Rep Power: 13
nlinder is on a distinguished road
Hi cctv,

I had a look at your case, but I do not understand what you try to do.

It is a 2D case. We have 3 boundaries:
- movingWall
- fixedWall
- farField

But if I got you right from your previous posts, you don't want to move a wall, correct? So maybe you can give me a hint what each boundary is plant to do?

Thanks
Nicklas
nlinder is offline   Reply With Quote

Old   July 10, 2013, 04:15
Default
  #9
Member
 
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 12
cctv is on a distinguished road
Quote:
Originally Posted by nlinder View Post
Hi cctv,

I had a look at your case, but I do not understand what you try to do.

It is a 2D case. We have 3 boundaries:
- movingWall
- fixedWall
- farField

But if I got you right from your previous posts, you don't want to move a wall, correct? So maybe you can give me a hint what each boundary is plant to do?

Thanks
Nicklas
Hi Nicklas, I do want to move a wall, I just want to simulate a case similar to a piston moving in a vessel. as the liquid is incompressible, the fixedWall's U boundary condition, used as the outlet, is inletOutlet. Thank you.
cctv is offline   Reply With Quote

Old   July 10, 2013, 04:36
Default
  #10
Member
 
Nicklas Linder
Join Date: Jul 2012
Location: Germany
Posts: 35
Rep Power: 13
nlinder is on a distinguished road
First problem was a typo in the constant/dynamicMeshDict file

Code:
"libfvMotionSolvers.so"
correcting this, you can go on correcting the wrong/missing parts of your setup (fvSolution is missing some entries, fvSchemes as well and the pointMotion should be a vector, not a scalar). Make sure you set a totalPressure BC for the deforming walls and set the other BCs as desired (outlet or whatever).

Greetings
Nicklas
nlinder is offline   Reply With Quote

Old   July 10, 2013, 05:26
Default
  #11
Member
 
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 12
cctv is on a distinguished road
Quote:
Originally Posted by nlinder View Post
First problem was a typo in the constant/dynamicMeshDict file

Code:
"libfvMotionSolvers.so"
correcting this, you can go on correcting the wrong/missing parts of your setup (fvSolution is missing some entries, fvSchemes as well and the pointMotion should be a vector, not a scalar). Make sure you set a totalPressure BC for the deforming walls and set the other BCs as desired (outlet or whatever).

Greetings
Nicklas
Thank you for your reply. there is no typo in it because what I send you is a case run in 1.6-ext. what you said is how to run in 2.1.0 or even higher version. however ,I could try it in this version. What's more, do you know how to move the wall with layer addition and removal methods? just like movingbodysolver. Thanks.
cctv is offline   Reply With Quote

Old   July 10, 2013, 06:54
Default
  #12
Member
 
Nicklas Linder
Join Date: Jul 2012
Location: Germany
Posts: 35
Rep Power: 13
nlinder is on a distinguished road
Would have been easier if you told that before...

This is what I got as a "result":
https://dl.dropboxusercontent.com/u/587565/ani.gif
(2.2.x)

About layer addition or removal I don't know much. I only used dynamicMeshRefinenemt for adding or removing cells. I don't know if the combination works as well..

Have fun
nlinder is offline   Reply With Quote

Old   July 10, 2013, 13:24
Default
  #13
Member
 
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 12
cctv is on a distinguished road
Quote:
Originally Posted by nlinder View Post
Would have been easier if you told that before...

This is what I got as a "result":
https://dl.dropboxusercontent.com/u/587565/ani.gif
(2.2.x)

About layer addition or removal I don't know much. I only used dynamicMeshRefinenemt for adding or removing cells. I don't know if the combination works as well..

Have fun
Thank you very much. Could you tell me how to add or remove cells? and where is the code they map the old field into the new field?
Good luck
cctv is offline   Reply With Quote

Old   July 10, 2013, 15:11
Default
  #14
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
This may be of to interest to you:

http://www.cfd-online.com/Forums/ope...n-removal.html

You may have an easier time making things work as you are using 1.6-ext (I assume from previous posts). There may be a movingConeTopo mesh class; if not you will need to make your own.
mturcios777 is offline   Reply With Quote

Old   May 4, 2021, 17:47
Default
  #15
Senior Member
 
Join Date: Jul 2019
Posts: 148
Rep Power: 6
Bodo1993 is on a distinguished road
Hello, I want to study the effect of moving a solid wall out of a 2D fluid domain. My solver does not have the dynamic meshing library. What could be a work around for the above?
Thanks
Bodo1993 is offline   Reply With Quote

Old   July 21, 2021, 11:23
Default FSI deforming walls
  #16
New Member
 
Vishara
Join Date: Feb 2021
Location: Sri Lanka
Posts: 3
Rep Power: 5
VishJay is on a distinguished road
Quote:
Originally Posted by nlinder View Post
I use this procedure to move a boundary. Basically I compress the fluid between two plates. My moving boundary is a solid, but not embedded in fluid. I just thought that it would work the same way for any other boundary. I don't know what boundaries you set therefore I cannot say if it will work for your case. Also if you say the results are not correct it's difficult to help.. You need to be more precise..

Greetings
Hi Nicklas,
I am trying for months to model something similar to what you have done “ compress the fluid between two plates"(FSI). My case is for cold metal forming and I need to analyse lubrication flow (film thickness analysis) between a die and a deformable (Plastic deformation) wall/body. So I need to simulate with topological changes of deforming solid and fluid domains. I have adapted solids4Foam tutorial case upsetBillet (elastoplasticity) for solid domains which is exactly what I need. To integrate with fluid I followed tutorial case 3dTube case setup, but I am not sure yet what boundary types/conditions I should apply for fluid domain. Could you kindly advise me to setup this case?
In order to setup moving boundaries I tried totalPressure BC for the deforming walls but yet not able to model deformable walls.
I have attached my geometry of the model and boundary conditions I have used. Please advise..
Thank you,
Attached Files
File Type: docx Solids4FoamLubCaseSetup2.docx (120.0 KB, 13 views)
VishJay is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 make boundary layer mesh moving with wall wayne FLUENT 3 June 11, 2008 23:23
moving wall... kekko CFX 0 February 2, 2007 13:11
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12
moving wall and fluid soody FLUENT 3 September 20, 2004 01:37
moving wall Steff FLUENT 0 February 7, 2002 04:49


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