CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

User Field Function - Velocity Vector

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2017, 18:49
Default User Field Function - Velocity Vector
  #1
New Member
 
Vítor M.B.M. Santos
Join Date: Dec 2016
Posts: 2
Rep Power: 0
Vitor_Manuel is on a distinguished road
Hello,

I want to create a velocity function for some boundary surfaces walls (with morph mesh). It's a damper, with the main piston moving at a certain constant velocity which will "push" the piston separating the oil from the gas at the gas Chamber, as the oil is incompressible fluid, the difference in velocity is just the ratio between the area of the rod entering the Oil chamber and the area of the piston of the gas chamber multiplied by the velocity of the moving rod.

I am having a hard time trying to get the syntax correct, at this moment I am using the value introduced by hand but it's neither practical or accurate because it's not an exact number.

Thank you in advance for any response!


PS: If there is a way (and perhaps more accurate) of simply giving a velocity to the rod and have the piston in the gas chamber moving freely from the reaction force generated by the moving fluid (pushed or the opposite if the rod is exiting the oil chamber instead of entering).
Vitor_Manuel is offline   Reply With Quote

Old   May 7, 2017, 13:02
Default
  #2
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25
me3840 is on a distinguished road
Is the output a vector or just a magnitude?

Is the moving rod velocity a constant imposed on the simulation or is this a DFBI problem?

What have you tried so far?
me3840 is offline   Reply With Quote

Old   May 7, 2017, 19:03
Default
  #3
New Member
 
Vítor M.B.M. Santos
Join Date: Dec 2016
Posts: 2
Rep Power: 0
Vitor_Manuel is on a distinguished road
First of all, thank you for your response and time,

So far I have defined Motion as Morphing and applied it to the region motion specification.
As initial conditions I have a perfectly still fluid, and defined a constant grid velocity (only in the direction of the rod) which will impose flow through existing hole in the moving piston. Every moving Wall I give the same Grid Velocity (Morpher specification>Displacement>Grid velocity) value as [0.0 , 0.025 , 0.0] (for example), the extending walls I define as Floating (as the Morpher specification)

As it is incompressible flow the decrease of the volume as to be compensated by the other end, The gas chamber wall. I have defined it the same way I defined the piston but with the oposite velocity multiplied by the area ratio (it's a rounded number not exact which is a problem).

For now I am using a constant velocity, but I have interest in defining a field function because I want to apply a Sinusoidal Velocity profile.
Vitor_Manuel 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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 06:42
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06


All times are GMT -4. The time now is 16:23.