CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Wallfunctions (http://www.cfd-online.com/Forums/openfoam-programming-development/69758-wallfunctions.html)

navier-stokes November 3, 2009 10:54

Wallfunctions
 
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!

Navier


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