CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

Liquid piston mobile mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 20, 2016, 09:12
Default Liquid piston mobile mesh
  #1
New Member
 
Ghady Deeb
Join Date: Nov 2014
Location: Lebanon
Posts: 19
Rep Power: 4
Ledeeb is on a distinguished road
Hello, I am studying the compression of Liquid piston using fluent.

My geometry is very simple: Rectangular 2D, with the bottom wall is moving upward with constant velocity=0.01 m/s.

I know that I can use the In-Cylinder option for the Dynamic Mesh option, But in my problem I just want the piston to goes up till we hit the Pressure desired inside our cylinder. (compression ratio, r=10 with Pi=1 atm);

I read many UDF examples using DEFINE_CG_MOTION, and profile examples.

Can someone can help me by telling me what should I write in one the two methods. In my case, there's no force because the velocity is constant, and the moving wall is moving in Y direction. What should I write in the UDF code to tell the piston to stop when the Pressure desired is reached ??

NB: If i use UDF; After I created the dynamic mesh zone for the Moving wall, Should I keep in the boundary conditions, the wall motion for the Moving wall: Stationary ? If yes, it doesn't make sens. If no, then I should give the moving wall, a transitional speed. This point contradicts with UDF ???

Thanks a lot for your help.
Attached Images
File Type: jpg Untitled.jpg (49.9 KB, 15 views)
Ledeeb is offline   Reply With Quote

Old   May 10, 2016, 02:36
Default
  #2
prt
New Member
 
preeti kumari
Join Date: Apr 2016
Posts: 4
Rep Power: 2
prt is on a distinguished road
ladeeb ,
have u written program in c for the piston motion. which fluent version u r using.?
prt is offline   Reply With Quote

Old   May 12, 2016, 09:06
Default
  #3
prt
New Member
 
preeti kumari
Join Date: Apr 2016
Posts: 4
Rep Power: 2
prt is on a distinguished road
ledeeb,

have u written program in c ? please upload ur program. or mail me i am also working on the same problem.thanks in advance.
prt is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding mesh problem in CFX Saima CFX 45 September 22, 2015 10:53
problems generating clean mesh Christian_tt OpenFOAM Native Meshers: snappyHexMesh and Others 0 May 16, 2014 10:58
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43


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