CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Issue with layering

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 9, 2016, 16:47
Exclamation Issue with layering
New Member
Kishore Ranganath R
Join Date: Aug 2014
Location: Raleigh, NC
Posts: 1
Rep Power: 0
kishoreranganath is on a distinguished road
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!
Attached Images
File Type: jpg CFD_online_upload.jpg (62.1 KB, 7 views)

Last edited by kishoreranganath; January 11, 2016 at 14:27.
kishoreranganath is offline   Reply With Quote


layering, piston, udf

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
[swak4Foam] swak4Foam 0.3.1 OF2.2.2 Installation Issue scnsc OpenFOAM Community Contributions 3 August 20, 2014 07:59
Strange issue while launching ANSYS workbench in CentOS 6.4 Philip_C ANSYS 11 August 29, 2013 06:44
CyclicAMI Issue In OpenFOAM 2.2.0 prasant OpenFOAM Running, Solving & CFD 17 March 16, 2013 02:00
Pressure boundary condition issue Vijay FLUENT 0 April 6, 2012 13:35
Meshing related issue in Flow EFD appu FloEFD, FloWorks & FloTHERM 1 May 22, 2011 08:27

All times are GMT -4. The time now is 13:15.