CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Implementation of a time varying traction boundary condition (https://www.cfd-online.com/Forums/openfoam-programming-development/179147-implementation-time-varying-traction-boundary-condition.html)

Sourabhsup October 24, 2016 07:14

Implementation of a time varying traction boundary condition
 
Hello all,

I have been trying to implement a time varying traction BC for my FSI simulation. I want the traction output to be just in one direction say (x 0 0) and x will be calculated as a scalar from a formula at every time step. How do I specify this in the Member Functions of the .C file in the BC??

Also, the formula has a parameter velocity which will be read at every time step on a particular patch. How do I pick the values on the particular patch??

Is there any documentation related to this?

Thank you in advance

Sourabh


All times are GMT -4. The time now is 17:49.