|
[Sponsors] |
March 26, 2020, 14:18 |
Piston-fluid simulation
|
#1 |
Senior Member
Jedidi
Join Date: Mar 2020
Posts: 142
Rep Power: 6 |
hi guys,i want to simulate fluid (in fluent) that enter into a cylinder which have a piston linked to a spring that have a stiffness and a preload.
once the fluid enter in the inlet the piston will move to the right until the spring overcomes the force applied by the fluid. i think that i shoud use dynamic mesh but i really need guiding. help |
|
March 27, 2020, 03:15 |
Piston
|
#2 |
Senior Member
|
Fluent has a 1DOF model based on 6DOF. It has an inbuilt spring model as well. You can make use of it.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
March 27, 2020, 07:20 |
|
#3 |
Senior Member
Jedidi
Join Date: Mar 2020
Posts: 142
Rep Power: 6 |
u mean 6dof option using dynamic mesh ?
|
|
March 27, 2020, 07:45 |
6dof
|
#4 |
Senior Member
|
Yes, that's what I meant. Within 6DOF, it has a 1DOF option which is meant for scenarios similar to yours.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
March 31, 2020, 11:22 |
fluid-displacement
|
#5 |
Senior Member
Jedidi
Join Date: Mar 2020
Posts: 142
Rep Power: 6 |
hi, i'm entering a fluid in a cylinder with profile of pressure p(t) and i want to see how fluid in moving in the cylinder due to the force of the pressure.
any help ? |
|
March 31, 2020, 11:28 |
1dof
|
#6 |
Senior Member
|
That's exactly what 1DOF (or 6DOF) simulation does. Look for a tutorial on this; most likely it is available on ansyshelp.ansys.com
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
March 31, 2020, 16:24 |
|
#7 |
Senior Member
Jedidi
Join Date: Mar 2020
Posts: 142
Rep Power: 6 |
i 've seen tutorials w they are all defining new interfaces.
i don't know why ? |
|
April 1, 2020, 03:15 |
Interfaces
|
#8 |
Senior Member
|
There is a reason for the interfaces, however, interface requires an external domain, which you don't have. If the wall of the cylinder is an interface, piston can slide easily and no mesh deformation is required, however, this requires a domain outside the piston wall. You may create a thin solid layer representing cylinder to use that methodology. Better option is to define the wall of the cylinder as deforming. The reason it is deforming is because its size is changing as the piston moves up and down. The meshing in the fluid region can be controlled either via layering, if mesh is made of prisms (quad or tri), or via remeshing, if mesh is made up of tet cells.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 1, 2020, 11:34 |
|
#9 |
Senior Member
Jedidi
Join Date: Mar 2020
Posts: 142
Rep Power: 6 |
As a beginnig i want to model the problem in 2D as u can see in the attached photo . in the orange zone, between the piston and the fluid, there is a contact? what kind of boundary condition should i make there ?
|
|
April 1, 2020, 12:20 |
Wall
|
#10 |
Senior Member
|
Piston's crown is no-slip wall. Model it as axisymmetric. 2D planar implies a rectangular piston.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 1, 2020, 17:04 |
|
#11 |
Senior Member
Jedidi
Join Date: Mar 2020
Posts: 142
Rep Power: 6 |
Hi again,
For the inlet which is a wall, i want to enter a pressure profile , i read it then when i want see th motion, it seem like "Warning: Can't identify any field of profile pressProfile. No motion specified." i wonder if there a way to enter a pression via that wall that inlet wall in used in the dynamic mesh and will be the reason of the defomation in the fluid |
|
April 3, 2020, 10:54 |
|
#12 |
Senior Member
Jedidi
Join Date: Mar 2020
Posts: 142
Rep Power: 6 |
i enter at first inlet as pressure inlet w i have the same problem, fluent can't read it as i guess.i'm stuck in this pb for a good while.
if u have any idea that could help me i'll appreciate that. |
|
April 6, 2020, 05:58 |
Inlet as wall
|
#13 |
Senior Member
|
Inlet should be inlet and not wall. No fluid can enter through a wall. If, for any specific reason, you want to model inlet as wall, then you have to provide some source term to increase either the volume, which can be due to increase in the mass or the pressure.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 6, 2020, 07:40 |
pressure-inlet
|
#14 |
Senior Member
Jedidi
Join Date: Mar 2020
Posts: 142
Rep Power: 6 |
that's mean that we can't apply pressure in a wall.
i apply pressure in the inlet as well and i putted fluid as deforming in the dynamic mesh but also there is no movement in the fluid and i get this warning ; Can't identify any field of profile pressProfile. No motion specified." |
|
April 6, 2020, 07:46 |
Boundary Condition
|
#15 |
Senior Member
|
Even in real life, no pressure can be applied by a pressure until and unless the wall moves, e.g., the walls of a container or a room. The only way a walls can cause such a thing is if it is porous or if there is some reaction occurring that increases the mass or the temperature, which in turn increases the pressure.
No cell zone should be defined as deforming zone. It should only be boundaries that need to be defined as deforming. Cell zones could have a motion defined though. However, for your case, it has to be done via one-DOF. I hope there are tutorials available online for this.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 6, 2020, 07:59 |
|
#16 |
Senior Member
Jedidi
Join Date: Mar 2020
Posts: 142
Rep Power: 6 |
what do u mean by 'It should only be boundaries that need to be defined as deforming.' ?
1DOf can be applied only for rigid body as i know w not a deforming fluid |
|
April 6, 2020, 08:14 |
Deforming Zones
|
#17 |
Senior Member
|
In Fluent, you need to define the boundaries that deform or move. For the deforming options, only boundaries should be selected. E.g., in your case, the size of the fluid region will increase, in other words, it will deform. But you should not define this cell zone as deforming. However, the sides of the cylinder must be defined as deforming.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 6, 2020, 08:31 |
|
#18 |
Senior Member
Jedidi
Join Date: Mar 2020
Posts: 142
Rep Power: 6 |
ah ! ok i get it i 'll try that. thanks for the explanation
|
|
April 6, 2020, 11:28 |
|
#19 |
Senior Member
Jedidi
Join Date: Mar 2020
Posts: 142
Rep Power: 6 |
hey again,
if i i have understood well, this is the fluid (oil) |
|
April 6, 2020, 11:32 |
Tutorial
|
#20 |
Senior Member
|
I suppose the following tutorial should be able to help you
https://www.youtube.com/watch?v=aO1a4-Zm7Ag
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AVL FIRE ESE Diesel piston simulation initial condition | rdrd4u | AVL FIRE | 1 | July 15, 2015 01:53 |
Simple piston movement simulation | ReVl27 | FLUENT | 1 | February 20, 2015 08:28 |
variable density in single fluid simulation not running with total energy | viking | CFX | 2 | September 18, 2012 20:19 |
Expert parameter to stop the fluid flow simulation | KK | CFX | 1 | February 25, 2008 16:29 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 09:11 |