CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

Piston movement-User function

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 19, 2015, 00:55
Red face Piston movement-User function
  #1
New Member
 
Pradeep
Join Date: Nov 2014
Posts: 8
Rep Power: 2
pradeep6890 is on a distinguished road
I tried using user defined function to provide translational motion of the piston using time-displacement steps. But i couldnt solve it. Kndly help me solve this simple case.
pradeep6890 is offline   Reply With Quote

Old   August 19, 2015, 01:32
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,923
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
This is very simple to do. Define a CEL expression for piston location versus time, set the domain to moving mesh and define the piston face to have displacement of your CEL function.
ghorrocks is offline   Reply With Quote

Old   August 19, 2015, 03:29
Default
  #3
New Member
 
Pradeep
Join Date: Nov 2014
Posts: 8
Rep Power: 2
pradeep6890 is on a distinguished road
thats wat i did sir, but the plot says some error in defining the expression. kindly help me..
pradeep6890 is offline   Reply With Quote

Old   August 19, 2015, 05:39
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,923
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Posting what the error message says might make it easier for us......

While you are at it, also post an image of what you are modelling, an image of your mesh and your CCL.
ghorrocks is offline   Reply With Quote

Reply

Tags
piston movement-udf

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
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 11 April 22, 2014 12:32
using METIS functions in fortran dokeun Main CFD Forum 7 January 29, 2013 05:06
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27


All times are GMT -4. The time now is 04:38.