|
[Sponsors] |
January 9, 2016, 17:47 |
Issue with layering
|
#1 |
New Member
Kishore Ranganath R
Join Date: Aug 2014
Location: Raleigh, NC
Posts: 1
Rep Power: 0 |
Hi all,
I'm trying to simulate a liquid piston model. Water is being used to compress air in a chamber. There is no intermixing between the two fluids, and hence i did not use VOF (hope that is correct!). Now, I want to see how a solid body floating on water would affect the process. I have run few experiments and have the results with me. But, I'm not able to model the same. Please find attached the image of the setup I created on WB. In the image, zone 1 is where the water enters and pushes the solid surface to compress air which is present in that chamber. I tried using a UDF, but that did not work. When I ask for motion preview it says that the solid in the middle has no surface. The UDF that I used: #include <udf.h> DEFINE_CG_MOTION(vel_liquid_piston, dt, cg_vel, cg_omega, time, dtime) { cg_vel[0] = 0.005; cg_vel[1] = 0.0; cg_vel[2] = 0.0; NV_S (cg_omega, =, 0.0); } Kindly help me with this simulation! Thanks in advance! Last edited by kishoreranganath; January 11, 2016 at 15:27. |
|
Tags |
layering, piston, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4Foam 0.3.1 OF2.2.2 Installation Issue | scnsc | OpenFOAM Community Contributions | 3 | August 20, 2014 08:59 |
Strange issue while launching ANSYS workbench in CentOS 6.4 | Philip_C | ANSYS | 11 | August 29, 2013 07:44 |
CyclicAMI Issue In OpenFOAM 2.2.0 | prasant | OpenFOAM Running, Solving & CFD | 17 | March 16, 2013 03:00 |
Pressure boundary condition issue | Vijay | FLUENT | 0 | April 6, 2012 14:35 |
Meshing related issue in Flow EFD | appu | FloEFD, FloWorks & FloTHERM | 1 | May 22, 2011 09:27 |