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

Liquid piston mobile mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 11
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, 17 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: 9
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: 9
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


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
[snappyHexMesh] problems generating clean mesh Christian_tt OpenFOAM Meshing & Mesh Conversion 2 June 20, 2019 05:39
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 19:43


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