CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Wallfunctions (

navier-stokes November 3, 2009 11:54

Hi @all!
I'm quite new to OpenFOAM and I recently managed to implement some experimental fv-schemes and methods in OpenFOAM 1.6.
Now I want to set up a simple reciprocating pump case for compressibleInterDyMFoam:
A simple geometry and simple boundary conditions are already set up and do work very well. To describe the piston's motion I set the BCs of the appropriate patch in the files (cell|point)motionUx to a fixedValue. This works fine. But I need some more sophisticated BCs like sin(t). There's the "calculated" key-word. But how do I have to use it? How can I specify my own functions. Do I have to do some settings in dictionaries? Or must I implement my own wallFuntions in C++?

Many thanks in advance!

With kind regards!


All times are GMT -4. The time now is 23:33.