|
[Sponsors] |
August 19, 2015, 00:55 |
Piston movement-User function
|
#1 |
Member
Pradeep
Join Date: Nov 2014
Posts: 45
Rep Power: 11 |
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.
|
|
August 19, 2015, 01:32 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
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.
|
|
August 19, 2015, 03:29 |
|
#3 |
Member
Pradeep
Join Date: Nov 2014
Posts: 45
Rep Power: 11 |
thats wat i did sir, but the plot says some error in defining the expression. kindly help me..
|
|
August 19, 2015, 05:39 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
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. |
|
Tags |
piston movement-udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 07:15 |
using METIS functions in fortran | dokeun | Main CFD Forum | 7 | January 29, 2013 04:06 |
Compilation errors in ThirdPartymallochoard | feng_w | OpenFOAM Installation | 1 | January 25, 2009 06: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 06:27 |