CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Modelling a piston by inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2020, 04:20
Default Modelling a piston by inlet
  #1
New Member
 
Suk Tan
Join Date: Nov 2019
Posts: 19
Rep Power: 6
suktan is on a distinguished road
Can I simply use an inlet to model the flow generated by a piston? A circular piston is located somewhere on a face of a rectangular box. It vibrates back and forth in sinusoidal manner. I want to simulate the flow in the box.


Thanks.
suktan is offline   Reply With Quote

Old   June 20, 2020, 04:31
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by suktan View Post
Can I simply use an inlet to model the flow generated by a piston? A circular piston is located somewhere on a face of a rectangular box. It vibrates back and forth in sinusoidal manner. I want to simulate the flow in the box.


Thanks.



If the movement of the piston in the is small, you could use a sinusoidal normal velocity compontent on the boundary. This is like a synthetic jet condition see https://en.wikipedia.org/wiki/Synthetic_jet


But if the movement is large that can be quite approximate
FMDenaro is offline   Reply With Quote

Old   June 20, 2020, 21:01
Default
  #3
New Member
 
Suk Tan
Join Date: Nov 2019
Posts: 19
Rep Power: 6
suktan is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
But if the movement is large that can be quite approximate

Thanks for your advice.



What should I do if the movement is not large compared to the piston diameter but rapid?
suktan is offline   Reply With Quote

Old   June 21, 2020, 03:02
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by suktan View Post
Thanks for your advice.



What should I do if the movement is not large compared to the piston diameter but rapid?
You have to set a computational time-step enough small to describe the period of the piston.
FMDenaro is offline   Reply With Quote

Old   June 21, 2020, 21:19
Default
  #5
New Member
 
Suk Tan
Join Date: Nov 2019
Posts: 19
Rep Power: 6
suktan is on a distinguished road
Thanks again Filippo. Is selection of BC type: velocity, pressure and mass flow matter? Which can do a better job to simulate the flow generated by the piston?
suktan is offline   Reply With Quote

Old   June 22, 2020, 04:09
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by suktan View Post
Thanks again Filippo. Is selection of BC type: velocity, pressure and mass flow matter? Which can do a better job to simulate the flow generated by the piston?



I suppose that the piston does not allow a net mass to enter, you could prescribe e normal velocity on the boundary, a the whole period it is inflow and outflow so that the total mass vanishes.
FMDenaro is offline   Reply With Quote

Old   June 22, 2020, 04:35
Default
  #7
New Member
 
Suk Tan
Join Date: Nov 2019
Posts: 19
Rep Power: 6
suktan is on a distinguished road
From the text book, an outlet is necessary for any case with an inlet (potential mass source). If the rectangular box is essentially sealed and there is only an inlet, will I encounter numerical problem? It is said the mass is not conserved.



At the moment, air (fluid) within the box is incompressible.
suktan is offline   Reply With Quote

Old   June 22, 2020, 04:45
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by suktan View Post
From the text book, an outlet is necessary for any case with an inlet (potential mass source). If the rectangular box is essentially sealed and there is only an inlet, will I encounter numerical problem? It is said the mass is not conserved.



At the moment, air (fluid) within the box is incompressible.
For incompressible flows You need to set a further region on the boundaries to be inlet/outlet in order to conserve total mass.
I was thinking your problem was modelled by a compressible flow.
FMDenaro is offline   Reply With Quote

Old   June 22, 2020, 04:56
Default
  #9
New Member
 
Suk Tan
Join Date: Nov 2019
Posts: 19
Rep Power: 6
suktan is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
I was thinking your problem was modelled by a compressible flow.

Thanks again! Now I understand why my model is having problem with incompressible flow.
suktan is offline   Reply With Quote

Reply


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
[IHFOAM] The IHFOAM Thread Phicau OpenFOAM Community Contributions 392 September 8, 2023 18:10
interFoam wave propagation and explosion of Courant number and residuals ChiaraViola OpenFOAM Running, Solving & CFD 1 June 26, 2019 05:36
Reversed flow using pressure inlet and outlet? here_for_help FLUENT 0 September 28, 2018 15:20
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 05:37
Simple piston modelling with dynamic mesh soliddesign FLUENT 1 March 7, 2014 12:04


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